# #af71ba color: Moonlight Melody

#af71ba is rgb(175, 113, 186) in RGB and oklch(64.031% 0.12581 321.383) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #af71ba |
| RGB | rgb(175, 113, 186) |
| HSL | hsl(290.96, 34.6%, 58.63%) |
| HSB / HSV | hsv(290.96 39.25% 72.94%) |
| HWB | hwb(290.96 44.31% 27.06%) |
| CMYK | cmyk(6% 39% 0% 27%) |
| Lab | lab(56.44 34.21 -28.55) |
| LCH | lch(56.44 44.56 320.15) |
| OKLab | oklab(64.031% 0.0983 -0.07852) |
| OKLCH | oklch(64.031% 0.12581 321.383) |
| Display P3 | color(display-p3 0.65142 0.45397 0.71275) |
| Rec. 2020 | color(rec2020 0.58133 0.4177 0.6768) |
| Adobe RGB | color(a98-rgb 0.62332 0.4409 0.71461) |
| ProPhoto RGB | color(prophoto-rgb 0.55848 0.40923 0.643) |
| Linear sRGB | color(srgb-linear 0.42869 0.16513 0.49102) |
| XYZ D65 | color(xyz-d65 0.32446 0.2447 0.4947) |
| XYZ D50 | color(xyz-d50 0.32079 0.24353 0.37264) |
| SwiftUI | Color(red: 0.686, green: 0.443, blue: 0.729) |
| UIKit | UIColor(red: 0.686, green: 0.443, blue: 0.729, alpha: 1) |
| Flutter / Compose | Color(0xFFAF71BA) |
| Android XML | #AF71BA |

## 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.56:1
- Contrast with black: 5.89:1

## Tints

#af71ba, #b77fc1, #bf8dc8, #c89bcf, #d0a9d6, #d8b7dd, #e0c5e4, #e8d4eb, #efe2f2, #f7f0f8

## Shades

#af71ba, #9861a1, #815289, #6b4372, #56355c, #412746, #2e1a32, #1c0e1e, #0b040d, #010102

## Tones

#af71ba, #ac74b6, #a977b1, #a57aad, #a27da8, #9e80a4, #9b839f, #97859a, #948796, #908a91

## Harmonies

- Complementary: #af71ba, #5e9f55
- Split: #af71ba, #8f9328, #00a482
- Analogous: #af71ba, #8e7dd2, #c56a95
- Triadic: #af71ba, #b38318, #00a2ac
- Tetradic: #af71ba, #cd6a6a, #5e9f55, #00a2ac
- Square: #af71ba, #c7743e, #5e9f55, #1499cb
- Monochromatic: #af71ba, #652b70, #894e94, #d696e1, #febcff

## Questions about #af71ba

### What color is #af71ba?

#af71ba is soft magenta. The closest named color is Moonlight Melody. In RGB it is rgb(175, 113, 186), in HSL hsl(290.96, 34.6%, 58.63%) and in OKLCH oklch(64.031% 0.12581 321.383).

### What colors go well with #af71ba?

The complementary color of #af71ba is #5e9f55. For a calmer combination use the analogous colors #8e7dd2 and #c56a95. The triadic partners are #b38318 and #00a2ac.

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

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

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

#af71ba is a neutral color. In OKLCH its hue is 321 degrees, its lightness 64% and its chroma 0.126.
