#AB5477#AB5477
#AB5477 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.2% C 0.120 H 356.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5477 |
|---|---|
| RGB | rgb(171, 84, 119) |
| HSL | hsl(336, 34%, 50%) |
| HSV | hsv(336, 51%, 67%) |
| CMYK | cmyk(0%, 50.9%, 30.4%, 32.9%) |
| CIE-LAB | lab(47.41, 39.60, -3.17) |
| CIE-LCH | lch(47.41, 39.72, 355.43°) |
| OKLab | oklab(56.23% 0.12 -0.0078) |
| OKLCH | oklch(56.23% 0.12 356.3) |
| XYZ | xyz(23.2956, 16.3326, 19.3748) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.40
Light Burgundy
#A8415B
ΔE00 7.33
Dark Pink
#CB416B
ΔE00 7.65
Dark Rose
#B5485D
ΔE00 7.91
Deep Rose
#C74767
ΔE00 7.92
Dark Mauve
#874C62
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5477 #54AB88
analogous
#AB54A3 #AB5477 #AB5C54
triadic
#AB5477 #77AB54 #5477AB
tetradic
#AB5477 #A3AB54 #54AB88 #5C54AB
square
#AB5477 #A3AB54 #54AB88 #5C54AB
split-complementary
#AB5477 #54AB5C #54A3AB
monochromatic
#592C3E #82405A #AB5477 #BF7D98 #D3A6B8
Accessibility & contrast
On white
4.92
#AB5477 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#AB5477 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB5477
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5477 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB5477 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606778
Deuteranopia (green-blind)
#777675
Tritanopia (blue-blind)
#B74F61
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ab5477; /* rgb */ color: rgb(171, 84, 119); /* oklch */ color: oklch(56.2% 0.120 356.3);
Tailwind
colors: {
custom: {
50: '#c7879e',
500: '#ab5477',
950: '#000000',
},
}SCSS
$custom: #ab5477; $custom-light: #c7879e; $custom-dark: #000000;
JSON
{
"hex": "#ab5477",
"rgb": {
"r": 171,
"g": 84,
"b": 119
},
"hsl": {
"h": 335.862,
"s": 34.118,
"l": 50
},
"oklch": {
"l": 0.56226,
"c": 0.12029,
"h": 356.3
},
"luminance": 0.1633
}Semantic roles & 50–950 ramp
primary
#AB5477
secondary
#9AC1B1
accent
#CA9F5E
background
#FCF8F9
surface
#F8F0F2
border
#D1CBCC
text
#130B0E
muted
#827C7E