#AB2148#AB2148
#AB2148 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.173 H 10.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2148 |
|---|---|
| RGB | rgb(171, 33, 72) |
| HSL | hsl(343, 68%, 40%) |
| HSV | hsv(343, 81%, 67%) |
| CMYK | cmyk(0%, 80.7%, 57.9%, 32.9%) |
| CIE-LAB | lab(38.23, 56.08, 12.89) |
| CIE-LCH | lch(38.23, 57.54, 12.95°) |
| OKLab | oklab(48.97% 0.1699 0.0323) |
| OKLCH | oklch(48.97% 0.173 10.8) |
| XYZ | xyz(18.5100, 10.2163, 7.1269) |
| Luminance | 0.1021 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.39
Purplish Red
#B0054B
ΔE00 2.56
Rouge
#AB1239
ΔE00 3.88
Cranberry
#9E003A
ΔE00 4.35
Rose Red
#BE013C
ΔE00 5.25
Light Burgundy
#A8415B
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2148 #21AB84
analogous
#AB218D #AB2148 #AB3F21
triadic
#AB2148 #48AB21 #2148AB
tetradic
#AB2148 #8DAB21 #21AB84 #3F21AB
square
#AB2148 #8DAB21 #21AB84 #3F21AB
split-complementary
#AB2148 #21AB3F #218DAB
monochromatic
#440D1D #781732 #AB2148 #D73261 #E16588
Accessibility & contrast
On white
6.90
#AB2148 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#AB2148 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2148
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2148 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 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: #ab2148; /* rgb */ color: rgb(171, 33, 72); /* oklch */ color: oklch(49.0% 0.173 10.8);
Tailwind
colors: {
custom: {
50: '#cb6b7a',
500: '#ab2148',
950: '#000000',
},
}SCSS
$custom: #ab2148; $custom-light: #cb6b7a; $custom-dark: #000000;
JSON
{
"hex": "#ab2148",
"rgb": {
"r": 171,
"g": 33,
"b": 72
},
"hsl": {
"h": 343.043,
"s": 67.647,
"l": 40
},
"oklch": {
"l": 0.48967,
"c": 0.17291,
"h": 10.8
},
"luminance": 0.10214
}Semantic roles & 50–950 ramp
primary
#AB2148
secondary
#61C7AA
accent
#EBBA3D
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150809
muted
#837A7B