#AB3154#AB3154
#AB3154 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.159 H 7.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3154 |
|---|---|
| RGB | rgb(171, 49, 84) |
| HSL | hsl(343, 55%, 43%) |
| HSV | hsv(343, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 50.9%, 32.9%) |
| CIE-LAB | lab(40.41, 51.74, 8.30) |
| CIE-LCH | lch(40.41, 52.40, 9.12°) |
| OKLab | oklab(50.67% 0.1575 0.0215) |
| OKLCH | oklch(50.67% 0.159 7.8) |
| XYZ | xyz(19.4948, 11.4972, 9.5784) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.98
Purplish Red
#B0054B
ΔE00 3.93
Raspberry (survey)
#B00149
ΔE00 4.17
Light Maroon
#A24857
ΔE00 5.07
Dark Rose
#B5485D
ΔE00 5.71
Deep Pink
#CB0162
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3154 #31AB88
analogous
#AB3191 #AB3154 #AB4B31
triadic
#AB3154 #54AB31 #3154AB
tetradic
#AB3154 #91AB31 #31AB88 #4B31AB
square
#AB3154 #91AB31 #31AB88 #4B31AB
split-complementary
#AB3154 #31AB4B #3191AB
monochromatic
#4C1625 #7B233D #AB3154 #CC4D72 #DA7D97
Accessibility & contrast
On white
6.37
#AB3154 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AB3154 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3154
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3154 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3154 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5055
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#BA193F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab3154; /* rgb */ color: rgb(171, 49, 84); /* oklch */ color: oklch(50.7% 0.159 7.8);
Tailwind
colors: {
custom: {
50: '#ca7283',
500: '#ab3154',
950: '#000000',
},
}SCSS
$custom: #ab3154; $custom-light: #ca7283; $custom-dark: #000000;
JSON
{
"hex": "#ab3154",
"rgb": {
"r": 171,
"g": 49,
"b": 84
},
"hsl": {
"h": 342.787,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50671,
"c": 0.15899,
"h": 7.8
},
"luminance": 0.11495
}Semantic roles & 50–950 ramp
primary
#AB3154
secondary
#75C2AC
accent
#DFB449
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090A
muted
#837B7C