# #b172ad color: Moonlight Melody

#b172ad is rgb(177, 114, 173) in RGB and oklch(63.857% 0.11191 329.021) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #b172ad |
| RGB | rgb(177, 114, 173) |
| HSL | hsl(303.81, 28.77%, 57.06%) |
| HSB / HSV | hsv(303.81 35.59% 69.41%) |
| HWB | hwb(303.81 44.71% 30.59%) |
| CMYK | cmyk(0% 36% 2% 31%) |
| Lab | lab(56.46 32.49 -21.04) |
| LCH | lch(56.46 38.71 327.06) |
| OKLab | oklab(63.857% 0.09595 -0.0576) |
| OKLCH | oklch(63.857% 0.11191 329.021) |
| Display P3 | color(display-p3 0.65875 0.45809 0.66532) |
| Rec. 2020 | color(rec2020 0.58553 0.42119 0.62549) |
| Adobe RGB | color(a98-rgb 0.63028 0.44469 0.66493) |
| ProPhoto RGB | color(prophoto-rgb 0.55542 0.41122 0.59173) |
| Linear sRGB | color(srgb-linear 0.43966 0.16827 0.41789) |
| XYZ D65 | color(xyz-d65 0.3169 0.244 0.42577) |
| XYZ D50 | color(xyz-d50 0.31632 0.24378 0.32087) |
| SwiftUI | Color(red: 0.694, green: 0.447, blue: 0.678) |
| UIKit | UIColor(red: 0.694, green: 0.447, blue: 0.678, alpha: 1) |
| Flutter / Compose | Color(0xFFB172AD) |
| Android XML | #B172AD |

## 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.57:1
- Contrast with black: 5.88:1

## Tints

#b172ad, #b980b5, #c18ebd, #c99cc6, #d1a9ce, #d9b7d6, #e1c6de, #e8d4e6, #f0e2ef, #f8f0f7

## Shades

#b172ad, #996296, #83537f, #6c446a, #573655, #422841, #2f1b2d, #1c0e1b, #0c040b, #010101

## Tones

#b172ad, #ae75aa, #aa78a7, #a77ba3, #a37da0, #9f809d, #9c8299, #988596, #948792, #90898f

## Harmonies

- Complementary: #b172ad, #579e65
- Split: #b172ad, #849541, #19a18d
- Analogous: #b172ad, #957cc6, #c26d8a
- Triadic: #b172ad, #a7882e, #009eb0
- Tetradic: #b172ad, #c67064, #579e65, #009eb0
- Square: #b172ad, #bd7a40, #579e65, #4094c8
- Monochromatic: #b172ad, #672d64, #8b4f88, #d897d4, #ffbdfb

## Questions about #b172ad

### What color is #b172ad?

#b172ad is soft magenta. The closest named color is Moonlight Melody. In RGB it is rgb(177, 114, 173), in HSL hsl(303.81, 28.77%, 57.06%) and in OKLCH oklch(63.857% 0.11191 329.021).

### What colors go well with #b172ad?

The complementary color of #b172ad is #579e65. For a calmer combination use the analogous colors #957cc6 and #c26d8a. The triadic partners are #a7882e and #009eb0.

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

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

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

#b172ad is a neutral color. In OKLCH its hue is 329 degrees, its lightness 63.9% and its chroma 0.112.
