#AB477A#AB477A
#AB477A is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.5% C 0.143 H 351.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AB477A |
|---|---|
| RGB | rgb(171, 71, 122) |
| HSL | hsl(329, 41%, 47%) |
| HSV | hsv(329, 58%, 67%) |
| CMYK | cmyk(0%, 58.5%, 28.7%, 32.9%) |
| CIE-LAB | lab(45.04, 46.47, -8.51) |
| CIE-LCH | lch(45.04, 47.25, 349.63°) |
| OKLab | oklab(54.49% 0.1409 -0.022) |
| OKLCH | oklch(54.49% 0.143 351.1) |
| XYZ | xyz(22.5616, 14.5717, 20.0330) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.04
Mediumvioletred
#C71585
ΔE00 6.90
Magenta (survey)
#C20078
ΔE00 7.10
Purpleish
#98568D
ΔE00 7.31
Purplish
#94568C
ΔE00 7.89
Light Burgundy
#A8415B
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB477A #47AB78
analogous
#AA47AB #AB477A #AB4748
triadic
#AB477A #7AAB47 #477AAB
tetradic
#AB477A #ABAA47 #47AB78 #4748AB
square
#AB477A #ABAA47 #47AB78 #4748AB
split-complementary
#AB477A #48AB47 #47ABAA
monochromatic
#55233C #80355B #AB477A #C26D98 #D498B7
Accessibility & contrast
On white
5.37
#AB477A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#AB477A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB477A
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB477A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB477A | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545F7C
Deuteranopia (green-blind)
#6F7178
Tritanopia (blue-blind)
#B7435B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab477a; /* rgb */ color: rgb(171, 71, 122); /* oklch */ color: oklch(54.5% 0.143 351.1);
Tailwind
colors: {
custom: {
50: '#c77fa0',
500: '#ab477a',
950: '#000000',
},
}SCSS
$custom: #ab477a; $custom-light: #c77fa0; $custom-dark: #000000;
JSON
{
"hex": "#ab477a",
"rgb": {
"r": 171,
"g": 71,
"b": 122
},
"hsl": {
"h": 329.4,
"s": 41.322,
"l": 47.451
},
"oklch": {
"l": 0.5449,
"c": 0.14258,
"h": 351.1
},
"luminance": 0.1457
}Semantic roles & 50–950 ramp
primary
#AB477A
secondary
#8DC0A6
accent
#D19357
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0E
muted
#827C7E