#AB2B5B#AB2B5B
#AB2B5B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.167 H 2.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B5B |
|---|---|
| RGB | rgb(171, 43, 91) |
| HSL | hsl(338, 60%, 42%) |
| HSV | hsv(338, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 46.8%, 32.9%) |
| CIE-LAB | lab(39.82, 54.53, 3.05) |
| CIE-LCH | lch(39.82, 54.62, 3.20°) |
| OKLab | oklab(50.3% 0.1671 0.0084) |
| OKLCH | oklch(50.3% 0.167 2.9) |
| XYZ | xyz(19.5484, 11.1436, 11.0170) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.32
Violet Red
#A50055
ΔE00 4.50
Light Burgundy
#A8415B
ΔE00 4.57
Raspberry (survey)
#B00149
ΔE00 4.77
Deep Pink
#CB0162
ΔE00 5.54
Berry
#990F4B
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B5B #2BAB7B
analogous
#AB2B9B #AB2B5B #AB3B2B
triadic
#AB2B5B #5BAB2B #2B5BAB
tetradic
#AB2B5B #9BAB2B #2BAB7B #3B2BAB
square
#AB2B5B #9BAB2B #2BAB7B #3B2BAB
split-complementary
#AB2B5B #2BAB3B #2B9BAB
monochromatic
#491227 #7A1F41 #AB2B5B #D04378 #DC749B
Accessibility & contrast
On white
6.51
#AB2B5B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AB2B5B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B5B
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B5B | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494E5C
Deuteranopia (green-blind)
#6B6758
Tritanopia (blue-blind)
#BA123F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2b5b; /* rgb */ color: rgb(171, 43, 91); /* oklch */ color: oklch(50.3% 0.167 2.9);
Tailwind
colors: {
custom: {
50: '#c97089',
500: '#ab2b5b',
950: '#000000',
},
}SCSS
$custom: #ab2b5b; $custom-light: #c97089; $custom-dark: #000000;
JSON
{
"hex": "#ab2b5b",
"rgb": {
"r": 171,
"g": 43,
"b": 91
},
"hsl": {
"h": 337.5,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.50302,
"c": 0.16727,
"h": 2.9
},
"luminance": 0.11141
}Semantic roles & 50–950 ramp
primary
#AB2B5B
secondary
#6EC4A4
accent
#E3A845
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C