#AB254A#AB254A
#AB254A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.170 H 10.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB254A |
|---|---|
| RGB | rgb(171, 37, 74) |
| HSL | hsl(343, 64%, 41%) |
| HSV | hsv(343, 78%, 67%) |
| CMYK | cmyk(0%, 78.4%, 56.7%, 32.9%) |
| CIE-LAB | lab(38.69, 55.05, 12.25) |
| CIE-LCH | lch(38.69, 56.40, 12.54°) |
| OKLab | oklab(49.32% 0.1669 0.0308) |
| OKLCH | oklch(49.32% 0.17 10.5) |
| XYZ | xyz(18.6940, 10.4782, 7.5154) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.65
Purplish Red
#B0054B
ΔE00 2.73
Rouge
#AB1239
ΔE00 4.30
Cranberry
#9E003A
ΔE00 4.82
Light Burgundy
#A8415B
ΔE00 5.16
Rose Red
#BE013C
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB254A #25AB86
analogous
#AB258D #AB254A #AB4325
triadic
#AB254A #4AAB25 #254AAB
tetradic
#AB254A #8DAB25 #25AB86 #4325AB
square
#AB254A #8DAB25 #25AB86 #4325AB
split-complementary
#AB254A #25AB43 #258DAB
monochromatic
#460F1E #791A34 #AB254A #D43964 #DF6B8B
Accessibility & contrast
On white
6.79
#AB254A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB254A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB254A
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB254A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB254A | 1.00 | 6.79 | 3.10 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494A4B
Deuteranopia (green-blind)
#6C6547
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab254a; /* rgb */ color: rgb(171, 37, 74); /* oklch */ color: oklch(49.3% 0.170 10.5);
Tailwind
colors: {
custom: {
50: '#cb6d7c',
500: '#ab254a',
950: '#000000',
},
}SCSS
$custom: #ab254a; $custom-light: #cb6d7c; $custom-dark: #000000;
JSON
{
"hex": "#ab254a",
"rgb": {
"r": 171,
"g": 37,
"b": 74
},
"hsl": {
"h": 343.433,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.49321,
"c": 0.1697,
"h": 10.5
},
"luminance": 0.10475
}Semantic roles & 50–950 ramp
primary
#AB254A
secondary
#67C5AB
accent
#E7B940
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B