#AF587E#AF587E
#AF587E is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.6% C 0.121 H 354.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AF587E |
|---|---|
| RGB | rgb(175, 88, 126) |
| HSL | hsl(334, 35%, 52%) |
| HSV | hsv(334, 50%, 69%) |
| CMYK | cmyk(0%, 49.7%, 28%, 31.4%) |
| CIE-LAB | lab(49.01, 39.87, -4.95) |
| CIE-LCH | lch(49.01, 40.18, 352.92°) |
| OKLab | oklab(57.62% 0.1205 -0.0126) |
| OKLCH | oklch(57.62% 0.121 354) |
| XYZ | xyz(24.9357, 17.6019, 21.8188) |
| Luminance | 0.1760 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.14
Dark Pink
#CB416B
ΔE00 8.11
Purpleish
#98568D
ΔE00 8.32
Darkish Pink
#DA467D
ΔE00 8.37
Mauve (survey)
#AE7181
ΔE00 8.42
Deep Rose
#C74767
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF587E #58AF89
analogous
#AF58AA #AF587E #AF5E58
triadic
#AF587E #7EAF58 #587EAF
tetradic
#AF587E #AAAF58 #58AF89 #5E58AF
square
#AF587E #AAAF58 #58AF89 #5E58AF
split-complementary
#AF587E #58AF5E #58AAAF
monochromatic
#5F2E43 #884160 #AF587E #C3819E #D7ABBE
Accessibility & contrast
On white
4.65
#AF587E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#AF587E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AF587E
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF587E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF587E | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636B7F
Deuteranopia (green-blind)
#7A7A7C
Tritanopia (blue-blind)
#BA5466
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af587e; /* rgb */ color: rgb(175, 88, 126); /* oklch */ color: oklch(57.6% 0.121 354.0);
Tailwind
colors: {
custom: {
50: '#c98aa3',
500: '#af587e',
950: '#000000',
},
}SCSS
$custom: #af587e; $custom-light: #c98aa3; $custom-dark: #000000;
JSON
{
"hex": "#af587e",
"rgb": {
"r": 175,
"g": 88,
"b": 126
},
"hsl": {
"h": 333.793,
"s": 35.223,
"l": 51.569
},
"oklch": {
"l": 0.5762,
"c": 0.12119,
"h": 354
},
"luminance": 0.176
}Semantic roles & 50–950 ramp
primary
#AF587E
secondary
#9EC5B4
accent
#CB9B5D
background
#FCF8FA
surface
#F9F0F3
border
#D2CBCD
text
#130C0F
muted
#827D7F