# #b171a9 color: Moonlight Melody

#b171a9 is rgb(177, 113, 169) in RGB and oklch(63.524% 0.1099 331.324) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/b171a9

## Formats

| Format | Value |
| --- | --- |
| HEX | #b171a9 |
| RGB | rgb(177, 113, 169) |
| HSL | hsl(307.5, 29.09%, 56.86%) |
| HSB / HSV | hsv(307.5 36.16% 69.41%) |
| HWB | hwb(307.5 44.31% 30.59%) |
| CMYK | cmyk(0% 36% 5% 31%) |
| Lab | lab(56.11 32.46 -19.28) |
| LCH | lch(56.11 37.75 329.29) |
| OKLab | oklab(63.524% 0.09642 -0.05273) |
| OKLCH | oklch(63.524% 0.1099 331.324) |
| Display P3 | color(display-p3 0.65833 0.45441 0.65051) |
| Rec. 2020 | color(rec2020 0.58381 0.41732 0.60947) |
| Adobe RGB | color(a98-rgb 0.62957 0.4409 0.64959) |
| ProPhoto RGB | color(prophoto-rgb 0.55185 0.40744 0.57578) |
| Linear sRGB | color(srgb-linear 0.43966 0.16513 0.39676) |
| XYZ D65 | color(xyz-d65 0.31197 0.24023 0.40531) |
| XYZ D50 | color(xyz-d50 0.31209 0.24025 0.30548) |
| SwiftUI | Color(red: 0.694, green: 0.443, blue: 0.663) |
| UIKit | UIColor(red: 0.694, green: 0.443, blue: 0.663, alpha: 1) |
| Flutter / Compose | Color(0xFFB171A9) |
| Android XML | #B171A9 |

## Facts

- Closest name: Moonlight Melody
- Hue family: Magenta, soft magenta
- Closest Tailwind class: mauve-400
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 3.62:1
- Contrast with black: 5.8:1

## Tints

#b171a9, #b97fb2, #c18dba, #c99bc3, #d1a9cb, #d9b7d4, #e1c5dc, #e9d3e5, #f0e2ee, #f8f0f6

## Shades

#b171a9, #996192, #83527c, #6c4367, #573553, #42273f, #2f1a2c, #1c0e1b, #0c040a, #010101

## Tones

#b171a9, #ae74a6, #aa77a3, #a67aa0, #a37c9d, #9f7f9a, #9b8197, #978494, #938691, #8f888e

## Harmonies

- Complementary: #b171a9, #539e68
- Split: #b171a9, #809544, #18a08f
- Analogous: #b171a9, #967ac3, #c16d86
- Triadic: #b171a9, #a38830, #039cb1
- Tetradic: #b171a9, #c47061, #539e68, #039cb1
- Square: #b171a9, #ba7a3f, #539e68, #4592c7
- Monochromatic: #b171a9, #672c61, #8b4e84, #d895cf, #ffbbf7

## Questions about #b171a9

### What color is #b171a9?

#b171a9 is soft magenta. The closest named color is Moonlight Melody. In RGB it is rgb(177, 113, 169), in HSL hsl(307.5, 29.09%, 56.86%) and in OKLCH oklch(63.524% 0.1099 331.324).

### What colors go well with #b171a9?

The complementary color of #b171a9 is #539e68. For a calmer combination use the analogous colors #967ac3 and #c16d86. The triadic partners are #a38830 and #039cb1.

### Is white or black text more readable on #b171a9?

White text reads better on #b171a9: white gives a contrast ratio of 3.62:1 and black gives 5.8:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #b171a9 a warm or cool color?

#b171a9 is a neutral color. In OKLCH its hue is 331 degrees, its lightness 63.5% and its chroma 0.11.
