#AB254B#AB254B
#AB254B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.170 H 10.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB254B |
|---|---|
| RGB | rgb(171, 37, 75) |
| HSL | hsl(343, 64%, 41%) |
| HSV | hsv(343, 78%, 67%) |
| CMYK | cmyk(0%, 78.4%, 56.1%, 32.9%) |
| CIE-LAB | lab(38.71, 55.13, 11.64) |
| CIE-LCH | lch(38.71, 56.34, 11.93°) |
| OKLab | oklab(49.35% 0.1673 0.0294) |
| OKLCH | oklch(49.35% 0.17 10) |
| XYZ | xyz(18.7280, 10.4918, 7.6942) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.53
Purplish Red
#B0054B
ΔE00 2.56
Rouge
#AB1239
ΔE00 4.58
Cranberry
#9E003A
ΔE00 4.91
Light Burgundy
#A8415B
ΔE00 5.04
Rose Red
#BE013C
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB254B #25AB85
analogous
#AB258E #AB254B #AB4225
triadic
#AB254B #4BAB25 #254BAB
tetradic
#AB254B #8EAB25 #25AB85 #4225AB
square
#AB254B #8EAB25 #25AB85 #4225AB
split-complementary
#AB254B #25AB42 #258EAB
monochromatic
#460F1F #791A35 #AB254B #D43965 #DF6B8C
Accessibility & contrast
On white
6.78
#AB254B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB254B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB254B
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB254B | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494A4C
Deuteranopia (green-blind)
#6C6548
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab254b; /* rgb */ color: rgb(171, 37, 75); /* oklch */ color: oklch(49.3% 0.170 10.0);
Tailwind
colors: {
custom: {
50: '#cb6d7d',
500: '#ab254b',
950: '#000000',
},
}SCSS
$custom: #ab254b; $custom-light: #cb6d7d; $custom-dark: #000000;
JSON
{
"hex": "#ab254b",
"rgb": {
"r": 171,
"g": 37,
"b": 75
},
"hsl": {
"h": 342.985,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.49346,
"c": 0.16984,
"h": 10
},
"luminance": 0.10489
}Semantic roles & 50–950 ramp
primary
#AB254B
secondary
#67C5AA
accent
#E7B840
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B