#AF5877#AF5877
#AF5877 is a mid, moderate pink. Relative luminance 0.174; OKLCH L 57.4% C 0.118 H 358.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5877 |
|---|---|
| RGB | rgb(175, 88, 119) |
| HSL | hsl(339, 35%, 52%) |
| HSV | hsv(339, 50%, 69%) |
| CMYK | cmyk(0%, 49.7%, 32%, 31.4%) |
| CIE-LAB | lab(48.79, 38.92, -1.06) |
| CIE-LCH | lch(48.79, 38.94, 358.43°) |
| OKLab | oklab(57.39% 0.1181 -0.0023) |
| OKLCH | oklch(57.39% 0.118 358.9) |
| XYZ | xyz(24.4997, 17.4275, 19.5227) |
| Luminance | 0.1742 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.73
Dark Pink
#CB416B
ΔE00 6.97
Deep Rose
#C74767
ΔE00 6.99
Dark Rose
#B5485D
ΔE00 7.31
Light Burgundy
#A8415B
ΔE00 7.61
Dusky Rose
#BA6873
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5877 #58AF90
analogous
#AF58A3 #AF5877 #AF6558
triadic
#AF5877 #77AF58 #5877AF
tetradic
#AF5877 #A3AF58 #58AF90 #6558AF
square
#AF5877 #A3AF58 #58AF90 #6558AF
split-complementary
#AF5877 #58AF65 #58A3AF
monochromatic
#5F2E3F #88415B #AF5877 #C38199 #D7ABBA
Accessibility & contrast
On white
4.68
#AF5877 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#AF5877 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5877
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5877 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5877 | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#656A78
Deuteranopia (green-blind)
#7B7A75
Tritanopia (blue-blind)
#BB5263
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #af5877; /* rgb */ color: rgb(175, 88, 119); /* oklch */ color: oklch(57.4% 0.118 358.9);
Tailwind
colors: {
custom: {
50: '#c98a9e',
500: '#af5877',
950: '#000000',
},
}SCSS
$custom: #af5877; $custom-light: #c98a9e; $custom-dark: #000000;
JSON
{
"hex": "#af5877",
"rgb": {
"r": 175,
"g": 88,
"b": 119
},
"hsl": {
"h": 338.621,
"s": 35.223,
"l": 51.569
},
"oklch": {
"l": 0.57387,
"c": 0.11812,
"h": 358.9
},
"luminance": 0.17425
}Semantic roles & 50–950 ramp
primary
#AF5877
secondary
#9EC5B7
accent
#CBA45D
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0E
muted
#827D7E