#AF5779#AF5779
#AF5779 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.3% C 0.121 H 357.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5779 |
|---|---|
| RGB | rgb(175, 87, 121) |
| HSL | hsl(337, 35%, 51%) |
| HSV | hsv(337, 50%, 69%) |
| CMYK | cmyk(0%, 50.3%, 30.9%, 31.4%) |
| CIE-LAB | lab(48.65, 39.71, -2.48) |
| CIE-LCH | lch(48.65, 39.78, 356.43°) |
| OKLab | oklab(57.3% 0.1204 -0.006) |
| OKLCH | oklch(57.3% 0.121 357.2) |
| XYZ | xyz(24.5396, 17.3130, 20.1348) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.08
Dark Pink
#CB416B
ΔE00 7.22
Deep Rose
#C74767
ΔE00 7.43
Dark Rose
#B5485D
ΔE00 7.87
Light Burgundy
#A8415B
ΔE00 7.91
Darkish Pink
#DA467D
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5779 #57AF8D
analogous
#AF57A5 #AF5779 #AF6157
triadic
#AF5779 #79AF57 #5779AF
tetradic
#AF5779 #A5AF57 #57AF8D #6157AF
square
#AF5779 #A5AF57 #57AF8D #6157AF
split-complementary
#AF5779 #57AF61 #57A5AF
monochromatic
#5F2D40 #88415C #AF5779 #C3809A #D6AABB
Accessibility & contrast
On white
4.71
#AF5779 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#AF5779 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5779
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5779 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646A7A
Deuteranopia (green-blind)
#7A7A77
Tritanopia (blue-blind)
#BB5163
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af5779; /* rgb */ color: rgb(175, 87, 121); /* oklch */ color: oklch(57.3% 0.121 357.2);
Tailwind
colors: {
custom: {
50: '#c9899f',
500: '#af5779',
950: '#000000',
},
}SCSS
$custom: #af5779; $custom-light: #c9899f; $custom-dark: #000000;
JSON
{
"hex": "#af5779",
"rgb": {
"r": 175,
"g": 87,
"b": 121
},
"hsl": {
"h": 336.818,
"s": 35.484,
"l": 51.373
},
"oklch": {
"l": 0.573,
"c": 0.12055,
"h": 357.2
},
"luminance": 0.17311
}Semantic roles & 50–950 ramp
primary
#AF5779
secondary
#9EC4B5
accent
#CCA15C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0E
muted
#827D7E