#AB477E#AB477E
#AB477E is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.6% C 0.145 H 348.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AB477E |
|---|---|
| RGB | rgb(171, 71, 126) |
| HSL | hsl(327, 41%, 47%) |
| HSV | hsv(327, 58%, 67%) |
| CMYK | cmyk(0%, 58.5%, 26.3%, 32.9%) |
| CIE-LAB | lab(45.18, 47.02, -10.73) |
| CIE-LCH | lch(45.18, 48.23, 347.14°) |
| OKLab | oklab(54.64% 0.1421 -0.0281) |
| OKLCH | oklch(54.64% 0.145 348.8) |
| XYZ | xyz(22.8146, 14.6729, 21.3652) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.70
Purpleish
#98568D
ΔE00 6.57
Mediumvioletred
#C71585
ΔE00 6.58
Magenta (survey)
#C20078
ΔE00 7.08
Purplish
#94568C
ΔE00 7.18
Light Eggplant
#894585
ΔE00 8.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB477E #47AB74
analogous
#A647AB #AB477E #AB474C
triadic
#AB477E #7EAB47 #477EAB
tetradic
#AB477E #ABA647 #47AB74 #474CAB
square
#AB477E #ABA647 #47AB74 #474CAB
split-complementary
#AB477E #4CAB47 #47ABA6
monochromatic
#55233E #80355E #AB477E #C26D9C #D498B9
Accessibility & contrast
On white
5.34
#AB477E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#AB477E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB477E
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB477E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB477E | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536080
Deuteranopia (green-blind)
#6E717C
Tritanopia (blue-blind)
#B6445D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab477e; /* rgb */ color: rgb(171, 71, 126); /* oklch */ color: oklch(54.6% 0.145 348.8);
Tailwind
colors: {
custom: {
50: '#c77fa3',
500: '#ab477e',
950: '#000000',
},
}SCSS
$custom: #ab477e; $custom-light: #c77fa3; $custom-dark: #000000;
JSON
{
"hex": "#ab477e",
"rgb": {
"r": 171,
"g": 71,
"b": 126
},
"hsl": {
"h": 327,
"s": 41.322,
"l": 47.451
},
"oklch": {
"l": 0.54641,
"c": 0.1448,
"h": 348.8
},
"luminance": 0.14671
}Semantic roles & 50–950 ramp
primary
#AB477E
secondary
#8DC0A4
accent
#D18E57
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#130A0F
muted
#827C7F