#AB487C#AB487C
#AB487C is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.7% C 0.142 H 350.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AB487C |
|---|---|
| RGB | rgb(171, 72, 124) |
| HSL | hsl(328, 41%, 48%) |
| HSV | hsv(328, 58%, 67%) |
| CMYK | cmyk(0%, 57.9%, 27.5%, 32.9%) |
| CIE-LAB | lab(45.29, 46.27, -9.35) |
| CIE-LCH | lch(45.29, 47.20, 348.57°) |
| OKLab | oklab(54.7% 0.14 -0.0243) |
| OKLCH | oklch(54.7% 0.142 350.1) |
| XYZ | xyz(22.7509, 14.7500, 20.7137) |
| Luminance | 0.1475 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.71
Mediumvioletred
#C71585
ΔE00 6.90
Purpleish
#98568D
ΔE00 6.91
Magenta (survey)
#C20078
ΔE00 7.26
Purplish
#94568C
ΔE00 7.51
Light Burgundy
#A8415B
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB487C #48AB77
analogous
#A948AB #AB487C #AB484A
triadic
#AB487C #7CAB48 #487CAB
tetradic
#AB487C #ABA948 #48AB77 #484AAB
square
#AB487C #ABA948 #48AB77 #484AAB
split-complementary
#AB487C #4AAB48 #48ABA9
monochromatic
#55243E #80365D #AB487C #C26E9A #D499B8
Accessibility & contrast
On white
5.32
#AB487C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#AB487C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB487C
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB487C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB487C | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54607E
Deuteranopia (green-blind)
#6F727A
Tritanopia (blue-blind)
#B6445C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab487c; /* rgb */ color: rgb(171, 72, 124); /* oklch */ color: oklch(54.7% 0.142 350.1);
Tailwind
colors: {
custom: {
50: '#c780a2',
500: '#ab487c',
950: '#000000',
},
}SCSS
$custom: #ab487c; $custom-light: #c780a2; $custom-dark: #000000;
JSON
{
"hex": "#ab487c",
"rgb": {
"r": 171,
"g": 72,
"b": 124
},
"hsl": {
"h": 328.485,
"s": 40.741,
"l": 47.647
},
"oklch": {
"l": 0.54697,
"c": 0.14211,
"h": 350.1
},
"luminance": 0.14748
}Semantic roles & 50–950 ramp
primary
#AB487C
secondary
#8EC0A6
accent
#D19157
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0F
muted
#827C7E