#AB2548#AB2548
#AB2548 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.169 H 11.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2548 |
|---|---|
| RGB | rgb(171, 37, 72) |
| HSL | hsl(344, 64%, 41%) |
| HSV | hsv(344, 78%, 67%) |
| CMYK | cmyk(0%, 78.4%, 57.9%, 32.9%) |
| CIE-LAB | lab(38.64, 54.91, 13.46) |
| CIE-LCH | lch(38.64, 56.53, 13.77°) |
| OKLab | oklab(49.27% 0.1661 0.0336) |
| OKLCH | oklch(49.27% 0.169 11.4) |
| XYZ | xyz(18.6277, 10.4517, 7.1661) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.98
Purplish Red
#B0054B
ΔE00 3.14
Rouge
#AB1239
ΔE00 3.73
Cranberry
#9E003A
ΔE00 4.70
Rose Red
#BE013C
ΔE00 5.00
Light Burgundy
#A8415B
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2548 #25AB88
analogous
#AB258B #AB2548 #AB4525
triadic
#AB2548 #48AB25 #2548AB
tetradic
#AB2548 #8BAB25 #25AB88 #4525AB
square
#AB2548 #8BAB25 #25AB88 #4525AB
split-complementary
#AB2548 #25AB45 #258BAB
monochromatic
#460F1E #791A33 #AB2548 #D43962 #DF6B8A
Accessibility & contrast
On white
6.80
#AB2548 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2548 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2548
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2548 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2548 | 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)
#4A4A48
Deuteranopia (green-blind)
#6C6545
Tritanopia (blue-blind)
#BB0034
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2548; /* rgb */ color: rgb(171, 37, 72); /* oklch */ color: oklch(49.3% 0.169 11.4);
Tailwind
colors: {
custom: {
50: '#cb6d7a',
500: '#ab2548',
950: '#000000',
},
}SCSS
$custom: #ab2548; $custom-light: #cb6d7a; $custom-dark: #000000;
JSON
{
"hex": "#ab2548",
"rgb": {
"r": 171,
"g": 37,
"b": 72
},
"hsl": {
"h": 344.328,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.49272,
"c": 0.16947,
"h": 11.4
},
"luminance": 0.10449
}Semantic roles & 50–950 ramp
primary
#AB2548
secondary
#67C5AD
accent
#E7BC40
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150809
muted
#837A7B