#AB2454#AB2454
#AB2454 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.172 H 5.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2454 |
|---|---|
| RGB | rgb(171, 36, 84) |
| HSL | hsl(339, 65%, 41%) |
| HSV | hsv(339, 79%, 67%) |
| CMYK | cmyk(0%, 78.9%, 50.9%, 32.9%) |
| CIE-LAB | lab(38.83, 56.14, 6.08) |
| CIE-LCH | lch(38.83, 56.47, 6.18°) |
| OKLab | oklab(49.51% 0.1717 0.016) |
| OKLCH | oklch(49.51% 0.172 5.3) |
| XYZ | xyz(19.0274, 10.5624, 9.4226) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.68
Raspberry (survey)
#B00149
ΔE00 3.11
Violet Red
#A50055
ΔE00 4.36
Berry
#990F4B
ΔE00 4.89
Light Burgundy
#A8415B
ΔE00 4.92
Purple Red
#990147
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2454 #24AB7B
analogous
#AB2497 #AB2454 #AB3824
triadic
#AB2454 #54AB24 #2454AB
tetradic
#AB2454 #97AB24 #24AB7B #3824AB
square
#AB2454 #97AB24 #24AB7B #3824AB
split-complementary
#AB2454 #24AB38 #2497AB
monochromatic
#460F22 #78193B #AB2454 #D5376F #E06A94
Accessibility & contrast
On white
6.75
#AB2454 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2454 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2454
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2454 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2454 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474A55
Deuteranopia (green-blind)
#6A6551
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2454; /* rgb */ color: rgb(171, 36, 84); /* oklch */ color: oklch(49.5% 0.172 5.3);
Tailwind
colors: {
custom: {
50: '#ca6d83',
500: '#ab2454',
950: '#000000',
},
}SCSS
$custom: #ab2454; $custom-light: #ca6d83; $custom-dark: #000000;
JSON
{
"hex": "#ab2454",
"rgb": {
"r": 171,
"g": 36,
"b": 84
},
"hsl": {
"h": 338.667,
"s": 65.217,
"l": 40.588
},
"oklch": {
"l": 0.49511,
"c": 0.17242,
"h": 5.3
},
"luminance": 0.1056
}Semantic roles & 50–950 ramp
primary
#AB2454
secondary
#65C6A3
accent
#E8AC40
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C