#AF487E#AF487E
#AF487E is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.4% C 0.147 H 350.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AF487E |
|---|---|
| RGB | rgb(175, 72, 126) |
| HSL | hsl(329, 42%, 48%) |
| HSV | hsv(329, 59%, 69%) |
| CMYK | cmyk(0%, 58.9%, 28%, 31.4%) |
| CIE-LAB | lab(45.98, 47.81, -9.46) |
| CIE-LCH | lch(45.98, 48.74, 348.80°) |
| OKLab | oklab(55.36% 0.1448 -0.0246) |
| OKLCH | oklch(55.36% 0.147 350.4) |
| XYZ | xyz(23.7634, 15.2573, 21.4281) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.04
Mediumvioletred
#C71585
ΔE00 6.51
Magenta (survey)
#C20078
ΔE00 7.09
Purpleish
#98568D
ΔE00 7.18
Purplish
#94568C
ΔE00 7.85
Dark Pink
#CB416B
ΔE00 8.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF487E #48AF79
analogous
#AC48AF #AF487E #AF484A
triadic
#AF487E #7EAF48 #487EAF
tetradic
#AF487E #AFAC48 #48AF79 #484AAF
square
#AF487E #AFAC48 #48AF79 #484AAF
split-complementary
#AF487E #4AAF48 #48AFAC
monochromatic
#582440 #84365F #AF487E #C4709C #D69BBA
Accessibility & contrast
On white
5.18
#AF487E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#AF487E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF487E
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF487E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF487E | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556180
Deuteranopia (green-blind)
#71747C
Tritanopia (blue-blind)
#BB445D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af487e; /* rgb */ color: rgb(175, 72, 126); /* oklch */ color: oklch(55.4% 0.147 350.4);
Tailwind
colors: {
custom: {
50: '#ca80a3',
500: '#af487e',
950: '#000000',
},
}SCSS
$custom: #af487e; $custom-light: #ca80a3; $custom-dark: #000000;
JSON
{
"hex": "#af487e",
"rgb": {
"r": 175,
"g": 72,
"b": 126
},
"hsl": {
"h": 328.544,
"s": 41.7,
"l": 48.431
},
"oklch": {
"l": 0.5536,
"c": 0.1469,
"h": 350.4
},
"luminance": 0.15255
}Semantic roles & 50–950 ramp
primary
#AF487E
secondary
#90C2A8
accent
#D29156
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#140B0F
muted
#827C7F