#AB2048#AB2048
#AB2048 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.174 H 10.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2048 |
|---|---|
| RGB | rgb(171, 32, 72) |
| HSL | hsl(343, 68%, 40%) |
| HSV | hsv(343, 81%, 67%) |
| CMYK | cmyk(0%, 81.3%, 57.9%, 32.9%) |
| CIE-LAB | lab(38.13, 56.35, 12.76) |
| CIE-LCH | lch(38.13, 57.78, 12.76°) |
| OKLab | oklab(48.9% 0.1708 0.032) |
| OKLCH | oklch(48.9% 0.174 10.6) |
| XYZ | xyz(18.4827, 10.1616, 7.1178) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.26
Purplish Red
#B0054B
ΔE00 2.42
Rouge
#AB1239
ΔE00 3.92
Cranberry
#9E003A
ΔE00 4.28
Rose Red
#BE013C
ΔE00 5.31
Light Burgundy
#A8415B
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2048 #20AB83
analogous
#AB208D #AB2048 #AB3E20
triadic
#AB2048 #48AB20 #2048AB
tetradic
#AB2048 #8DAB20 #20AB83 #3E20AB
square
#AB2048 #8DAB20 #20AB83 #3E20AB
split-complementary
#AB2048 #20AB3E #208DAB
monochromatic
#440D1D #771632 #AB2048 #D83060 #E26388
Accessibility & contrast
On white
6.93
#AB2048 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#AB2048 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2048
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2048 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2048 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484849
Deuteranopia (green-blind)
#6B6444
Tritanopia (blue-blind)
#BB0032
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #ab2048; /* rgb */ color: rgb(171, 32, 72); /* oklch */ color: oklch(48.9% 0.174 10.6);
Tailwind
colors: {
custom: {
50: '#cb6b7a',
500: '#ab2048',
950: '#000000',
},
}SCSS
$custom: #ab2048; $custom-light: #cb6b7a; $custom-dark: #000000;
JSON
{
"hex": "#ab2048",
"rgb": {
"r": 171,
"g": 32,
"b": 72
},
"hsl": {
"h": 342.734,
"s": 68.473,
"l": 39.804
},
"oklch": {
"l": 0.48895,
"c": 0.17372,
"h": 10.6
},
"luminance": 0.10159
}Semantic roles & 50–950 ramp
primary
#AB2048
secondary
#60C7A9
accent
#EBB93C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150809
muted
#837A7B