#AF587D#AF587D
#AF587D is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.6% C 0.121 H 354.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AF587D |
|---|---|
| RGB | rgb(175, 88, 125) |
| HSL | hsl(334, 35%, 52%) |
| HSV | hsv(334, 50%, 69%) |
| CMYK | cmyk(0%, 49.7%, 28.6%, 31.4%) |
| CIE-LAB | lab(48.98, 39.73, -4.40) |
| CIE-LCH | lch(48.98, 39.97, 353.68°) |
| OKLab | oklab(57.59% 0.1202 -0.0111) |
| OKLCH | oklch(57.59% 0.121 354.7) |
| XYZ | xyz(24.8715, 17.5762, 21.4807) |
| Luminance | 0.1757 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.34
Dark Pink
#CB416B
ΔE00 7.92
Deep Rose
#C74767
ΔE00 8.28
Mauve (survey)
#AE7181
ΔE00 8.30
Darkish Pink
#DA467D
ΔE00 8.31
Purpleish
#98568D
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF587D #58AF8A
analogous
#AF58A9 #AF587D #AF5F58
triadic
#AF587D #7DAF58 #587DAF
tetradic
#AF587D #A9AF58 #58AF8A #5F58AF
square
#AF587D #A9AF58 #58AF8A #5F58AF
split-complementary
#AF587D #58AF5F #58A9AF
monochromatic
#5F2E43 #884160 #AF587D #C3819D #D7ABBD
Accessibility & contrast
On white
4.65
#AF587D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#AF587D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AF587D
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF587D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF587D | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636B7E
Deuteranopia (green-blind)
#7A7A7B
Tritanopia (blue-blind)
#BB5366
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af587d; /* rgb */ color: rgb(175, 88, 125); /* oklch */ color: oklch(57.6% 0.121 354.7);
Tailwind
colors: {
custom: {
50: '#c98aa2',
500: '#af587d',
950: '#000000',
},
}SCSS
$custom: #af587d; $custom-light: #c98aa2; $custom-dark: #000000;
JSON
{
"hex": "#af587d",
"rgb": {
"r": 175,
"g": 88,
"b": 125
},
"hsl": {
"h": 334.483,
"s": 35.223,
"l": 51.569
},
"oklch": {
"l": 0.57586,
"c": 0.12071,
"h": 354.7
},
"luminance": 0.17574
}Semantic roles & 50–950 ramp
primary
#AF587D
secondary
#9EC5B4
accent
#CB9C5D
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#130C0F
muted
#827D7E