# #b172b6 color: Moonlight Melody

#b172b6 is rgb(177, 114, 182) in RGB and oklch(64.242% 0.12102 324.27) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #b172b6 |
| RGB | rgb(177, 114, 182) |
| HSL | hsl(295.59, 31.78%, 58.04%) |
| HSB / HSV | hsv(295.59 37.36% 71.37%) |
| HWB | hwb(295.59 44.71% 28.63%) |
| CMYK | cmyk(3% 37% 0% 29%) |
| Lab | lab(56.76 33.77 -25.74) |
| LCH | lch(56.76 42.47 322.68) |
| OKLab | oklab(64.242% 0.09824 -0.07067) |
| OKLCH | oklch(64.242% 0.12102 324.27) |
| Display P3 | color(display-p3 0.65875 0.45809 0.69833) |
| Rec. 2020 | color(rec2020 0.58744 0.42189 0.6612) |
| Adobe RGB | color(a98-rgb 0.63028 0.44469 0.69935) |
| ProPhoto RGB | color(prophoto-rgb 0.56163 0.41281 0.62738) |
| Linear sRGB | color(srgb-linear 0.43966 0.16827 0.46778) |
| XYZ D65 | color(xyz-d65 0.32591 0.2476 0.4732) |
| XYZ D50 | color(xyz-d50 0.32346 0.24681 0.3565) |
| SwiftUI | Color(red: 0.694, green: 0.447, blue: 0.714) |
| UIKit | UIColor(red: 0.694, green: 0.447, blue: 0.714, alpha: 1) |
| Flutter / Compose | Color(0xFFB172B6) |
| Android XML | #B172B6 |

## Facts

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

## Tints

#b172b6, #b980bd, #c18ec5, #c99ccc, #d1aad4, #d9b8db, #e1c6e2, #e8d4e9, #f0e2f1, #f7f1f8

## Shades

#b172b6, #99629e, #835386, #6c446f, #573659, #422844, #2f1b30, #1c0e1d, #0c040c, #010102

## Tones

#b172b6, #ae75b2, #aa78ae, #a77baa, #a37ea6, #a081a2, #9c839e, #98869a, #958895, #918a91

## Harmonies

- Complementary: #b172b6, #5ba05c
- Split: #b172b6, #8c9533, #06a488
- Analogous: #b172b6, #927dcf, #c56c92
- Triadic: #b172b6, #af8622, #00a1af
- Tetradic: #b172b6, #cc6d68, #5ba05c, #00a1af
- Square: #b172b6, #c5773f, #5ba05c, #2b98cb
- Monochromatic: #b172b6, #672c6c, #8b4f90, #d897dd, #ffbdff

## Questions about #b172b6

### What color is #b172b6?

#b172b6 is soft magenta. The closest named color is Moonlight Melody. In RGB it is rgb(177, 114, 182), in HSL hsl(295.59, 31.78%, 58.04%) and in OKLCH oklch(64.242% 0.12102 324.27).

### What colors go well with #b172b6?

The complementary color of #b172b6 is #5ba05c. For a calmer combination use the analogous colors #927dcf and #c56c92. The triadic partners are #af8622 and #00a1af.

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

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

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

#b172b6 is a neutral color. In OKLCH its hue is 324 degrees, its lightness 64.2% and its chroma 0.121.
