# #af70b2 color: Moonlight Melody

#af70b2 is rgb(175, 112, 178) in RGB and oklch(63.508% 0.11917 325.277) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #af70b2 |
| RGB | rgb(175, 112, 178) |
| HSL | hsl(297.27, 30%, 56.86%) |
| HSB / HSV | hsv(297.27 37.08% 69.8%) |
| HWB | hwb(297.27 43.92% 30.2%) |
| CMYK | cmyk(2% 37% 0% 30%) |
| Lab | lab(55.94 33.55 -24.74) |
| LCH | lch(55.94 41.69 323.6) |
| OKLab | oklab(63.508% 0.09795 -0.06788) |
| OKLCH | oklch(63.508% 0.11917 325.277) |
| Display P3 | color(display-p3 0.651 0.45029 0.68319) |
| Rec. 2020 | color(rec2020 0.57865 0.41349 0.64472) |
| Adobe RGB | color(a98-rgb 0.62261 0.43712 0.68384) |
| ProPhoto RGB | color(prophoto-rgb 0.55184 0.40467 0.61069) |
| Linear sRGB | color(srgb-linear 0.42869 0.16203 0.4452) |
| XYZ D65 | color(xyz-d65 0.31508 0.23917 0.45078) |
| XYZ D50 | color(xyz-d50 0.31304 0.23853 0.33962) |
| SwiftUI | Color(red: 0.686, green: 0.439, blue: 0.698) |
| UIKit | UIColor(red: 0.686, green: 0.439, blue: 0.698, alpha: 1) |
| Flutter / Compose | Color(0xFFAF70B2) |
| Android XML | #AF70B2 |

## 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.63:1
- Contrast with black: 5.78:1

## Tints

#af70b2, #b77eba, #c08cc2, #c89ac9, #d0a8d1, #d8b7d9, #e0c5e0, #e8d3e8, #f0e2f0, #f7f0f7

## Shades

#af70b2, #98609a, #815183, #6b436d, #563557, #412743, #2e1a2f, #1c0e1d, #0b040c, #010101

## Tones

#af70b2, #ac73ae, #a876aa, #a579a7, #a17ca3, #9e7f9f, #9a819b, #968497, #928693, #8f888f

## Harmonies

- Complementary: #af70b2, #589e5c
- Split: #af70b2, #889334, #02a287
- Analogous: #af70b2, #917bcb, #c26a8e
- Triadic: #af70b2, #ab8422, #009ead
- Tetradic: #af70b2, #c96c65, #589e5c, #009ead
- Square: #af70b2, #c1753d, #589e5c, #2e95c8
- Monochromatic: #af70b2, #652b69, #894d8d, #d695d9, #febbff

## Questions about #af70b2

### What color is #af70b2?

#af70b2 is soft magenta. The closest named color is Moonlight Melody. In RGB it is rgb(175, 112, 178), in HSL hsl(297.27, 30%, 56.86%) and in OKLCH oklch(63.508% 0.11917 325.277).

### What colors go well with #af70b2?

The complementary color of #af70b2 is #589e5c. For a calmer combination use the analogous colors #917bcb and #c26a8e. The triadic partners are #ab8422 and #009ead.

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

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

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

#af70b2 is a neutral color. In OKLCH its hue is 325 degrees, its lightness 63.5% and its chroma 0.119.
