#AB2254#AB2254
#AB2254 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.174 H 5.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2254 |
|---|---|
| RGB | rgb(171, 34, 84) |
| HSL | hsl(338, 67%, 40%) |
| HSV | hsv(338, 80%, 67%) |
| CMYK | cmyk(0%, 80.1%, 50.9%, 32.9%) |
| CIE-LAB | lab(38.63, 56.72, 5.79) |
| CIE-LCH | lch(38.63, 57.02, 5.82°) |
| OKLab | oklab(49.36% 0.1736 0.0152) |
| OKLCH | oklch(49.36% 0.174 5) |
| XYZ | xyz(18.9686, 10.4447, 9.4030) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.62
Raspberry (survey)
#B00149
ΔE00 3.07
Violet Red
#A50055
ΔE00 4.09
Berry
#990F4B
ΔE00 4.69
Light Burgundy
#A8415B
ΔE00 5.19
Purple Red
#990147
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2254 #22AB79
analogous
#AB2298 #AB2254 #AB3422
triadic
#AB2254 #54AB22 #2254AB
tetradic
#AB2254 #98AB22 #22AB79 #3422AB
square
#AB2254 #98AB22 #22AB79 #3422AB
split-complementary
#AB2254 #22AB34 #2298AB
monochromatic
#450E22 #78183B #AB2254 #D7346F #E16793
Accessibility & contrast
On white
6.80
#AB2254 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2254 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2254
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2254 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2254 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464A55
Deuteranopia (green-blind)
#6A6551
Tritanopia (blue-blind)
#BB0038
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2254; /* rgb */ color: rgb(171, 34, 84); /* oklch */ color: oklch(49.4% 0.174 5.0);
Tailwind
colors: {
custom: {
50: '#ca6c83',
500: '#ab2254',
950: '#000000',
},
}SCSS
$custom: #ab2254; $custom-light: #ca6c83; $custom-dark: #000000;
JSON
{
"hex": "#ab2254",
"rgb": {
"r": 171,
"g": 34,
"b": 84
},
"hsl": {
"h": 338.102,
"s": 66.829,
"l": 40.196
},
"oklch": {
"l": 0.4936,
"c": 0.17422,
"h": 5
},
"luminance": 0.10442
}Semantic roles & 50–950 ramp
primary
#AB2254
secondary
#63C6A2
accent
#EAAB3E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080A
muted
#837A7C