#AF487D#AF487D
#AF487D is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.3% C 0.146 H 350.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AF487D |
|---|---|
| RGB | rgb(175, 72, 125) |
| HSL | hsl(329, 42%, 48%) |
| HSV | hsv(329, 59%, 69%) |
| CMYK | cmyk(0%, 58.9%, 28.6%, 31.4%) |
| CIE-LAB | lab(45.95, 47.68, -8.91) |
| CIE-LCH | lch(45.95, 48.50, 349.42°) |
| OKLab | oklab(55.32% 0.1445 -0.0231) |
| OKLCH | oklch(55.32% 0.146 350.9) |
| XYZ | xyz(23.6992, 15.2317, 21.0899) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.13
Mediumvioletred
#C71585
ΔE00 6.60
Magenta (survey)
#C20078
ΔE00 7.10
Purpleish
#98568D
ΔE00 7.37
Purplish
#94568C
ΔE00 8.02
Dark Pink
#CB416B
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF487D #48AF7A
analogous
#AD48AF #AF487D #AF484A
triadic
#AF487D #7DAF48 #487DAF
tetradic
#AF487D #AFAD48 #48AF7A #484AAF
square
#AF487D #AFAD48 #48AF7A #484AAF
split-complementary
#AF487D #4AAF48 #48AFAD
monochromatic
#58243F #84365E #AF487D #C4709B #D69BBA
Accessibility & contrast
On white
5.19
#AF487D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#AF487D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF487D
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF487D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF487D | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55617F
Deuteranopia (green-blind)
#71747B
Tritanopia (blue-blind)
#BB445D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af487d; /* rgb */ color: rgb(175, 72, 125); /* oklch */ color: oklch(55.3% 0.146 350.9);
Tailwind
colors: {
custom: {
50: '#ca80a2',
500: '#af487d',
950: '#000000',
},
}SCSS
$custom: #af487d; $custom-light: #ca80a2; $custom-dark: #000000;
JSON
{
"hex": "#af487d",
"rgb": {
"r": 175,
"g": 72,
"b": 125
},
"hsl": {
"h": 329.126,
"s": 41.7,
"l": 48.431
},
"oklch": {
"l": 0.55323,
"c": 0.14636,
"h": 350.9
},
"luminance": 0.15229
}Semantic roles & 50–950 ramp
primary
#AF487D
secondary
#90C2A9
accent
#D29256
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#140B0F
muted
#827C7F