#AB2351#AB2351
#AB2351 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.173 H 6.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2351 |
|---|---|
| RGB | rgb(171, 35, 81) |
| HSL | hsl(340, 66%, 40%) |
| HSV | hsv(340, 80%, 67%) |
| CMYK | cmyk(0%, 79.5%, 52.6%, 32.9%) |
| CIE-LAB | lab(38.65, 56.19, 7.73) |
| CIE-LCH | lch(38.65, 56.72, 7.83°) |
| OKLab | oklab(49.35% 0.1715 0.02) |
| OKLCH | oklch(49.35% 0.173 6.7) |
| XYZ | xyz(18.8826, 10.4568, 8.8070) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.17
Raspberry (survey)
#B00149
ΔE00 2.52
Violet Red
#A50055
ΔE00 4.84
Light Burgundy
#A8415B
ΔE00 4.95
Berry
#990F4B
ΔE00 5.03
Purple Red
#990147
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2351 #23AB7D
analogous
#AB2395 #AB2351 #AB3923
triadic
#AB2351 #51AB23 #2351AB
tetradic
#AB2351 #95AB23 #23AB7D #3923AB
square
#AB2351 #95AB23 #23AB7D #3923AB
split-complementary
#AB2351 #23AB39 #2395AB
monochromatic
#450E21 #781939 #AB2351 #D6356C #E06891
Accessibility & contrast
On white
6.79
#AB2351 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2351 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2351
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2351 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2351 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474A52
Deuteranopia (green-blind)
#6A654E
Tritanopia (blue-blind)
#BB0037
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2351; /* rgb */ color: rgb(171, 35, 81); /* oklch */ color: oklch(49.4% 0.173 6.7);
Tailwind
colors: {
custom: {
50: '#ca6c81',
500: '#ab2351',
950: '#000000',
},
}SCSS
$custom: #ab2351; $custom-light: #ca6c81; $custom-dark: #000000;
JSON
{
"hex": "#ab2351",
"rgb": {
"r": 171,
"g": 35,
"b": 81
},
"hsl": {
"h": 339.706,
"s": 66.019,
"l": 40.392
},
"oklch": {
"l": 0.4935,
"c": 0.17267,
"h": 6.7
},
"luminance": 0.10454
}Semantic roles & 50–950 ramp
primary
#AB2351
secondary
#64C6A5
accent
#E9AF3F
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C