#AB2253#AB2253
#AB2253 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.174 H 5.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2253 |
|---|---|
| RGB | rgb(171, 34, 83) |
| HSL | hsl(339, 67%, 40%) |
| HSV | hsv(339, 80%, 67%) |
| CMYK | cmyk(0%, 80.1%, 51.5%, 32.9%) |
| CIE-LAB | lab(38.60, 56.64, 6.39) |
| CIE-LCH | lch(38.60, 57.00, 6.43°) |
| OKLab | oklab(49.33% 0.1732 0.0167) |
| OKLCH | oklch(49.33% 0.174 5.5) |
| XYZ | xyz(18.9297, 10.4292, 9.1982) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.42
Raspberry (survey)
#B00149
ΔE00 2.85
Violet Red
#A50055
ΔE00 4.28
Berry
#990F4B
ΔE00 4.74
Light Burgundy
#A8415B
ΔE00 5.13
Purple Red
#990147
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2253 #22AB7A
analogous
#AB2297 #AB2253 #AB3522
triadic
#AB2253 #53AB22 #2253AB
tetradic
#AB2253 #97AB22 #22AB7A #3522AB
square
#AB2253 #97AB22 #22AB7A #3522AB
split-complementary
#AB2253 #22AB35 #2297AB
monochromatic
#450E21 #78183A #AB2253 #D7346E #E16792
Accessibility & contrast
On white
6.81
#AB2253 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2253 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2253
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2253 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2253 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464A54
Deuteranopia (green-blind)
#6A6550
Tritanopia (blue-blind)
#BB0038
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2253; /* rgb */ color: rgb(171, 34, 83); /* oklch */ color: oklch(49.3% 0.174 5.5);
Tailwind
colors: {
custom: {
50: '#ca6c83',
500: '#ab2253',
950: '#000000',
},
}SCSS
$custom: #ab2253; $custom-light: #ca6c83; $custom-dark: #000000;
JSON
{
"hex": "#ab2253",
"rgb": {
"r": 171,
"g": 34,
"b": 83
},
"hsl": {
"h": 338.54,
"s": 66.829,
"l": 40.196
},
"oklch": {
"l": 0.49332,
"c": 0.17399,
"h": 5.5
},
"luminance": 0.10427
}Semantic roles & 50–950 ramp
primary
#AB2253
secondary
#63C6A3
accent
#EAAC3E
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C