#AB4252#AB4252
#AB4252 is a mid, vivid red. Relative luminance 0.132; OKLCH L 52.6% C 0.138 H 14.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4252 |
|---|---|
| RGB | rgb(171, 66, 82) |
| HSL | hsl(351, 44%, 46%) |
| HSV | hsv(351, 61%, 67%) |
| CMYK | cmyk(0%, 61.4%, 52%, 32.9%) |
| CIE-LAB | lab(43.01, 44.35, 13.18) |
| CIE-LCH | lch(43.01, 46.27, 16.55°) |
| OKLab | oklab(52.6% 0.1338 0.0333) |
| OKLCH | oklch(52.6% 0.138 14) |
| XYZ | xyz(20.2674, 13.1660, 9.4550) |
| Luminance | 0.1316 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Maroon
#A24857
ΔE00 2.50
Dark Rose
#B5485D
ΔE00 3.22
Light Burgundy
#A8415B
ΔE00 3.58
Dusty Red
#B9484E
ΔE00 5.00
Deep Rose
#C74767
ΔE00 7.03
Ruby
#CA0147
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4252 #42AB9B
analogous
#AB4287 #AB4252 #AB6742
triadic
#AB4252 #52AB42 #4252AB
tetradic
#AB4252 #87AB42 #42AB9B #6742AB
square
#AB4252 #87AB42 #42AB9B #6742AB
split-complementary
#AB4252 #42AB67 #4287AB
monochromatic
#532028 #7F313D #AB4252 #C46674 #D5929D
Accessibility & contrast
On white
5.78
#AB4252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#AB4252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4252
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4252 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5852
Deuteranopia (green-blind)
#756E50
Tritanopia (blue-blind)
#BA3148
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ab4252; /* rgb */ color: rgb(171, 66, 82); /* oklch */ color: oklch(52.6% 0.138 14.0);
Tailwind
colors: {
custom: {
50: '#c97b82',
500: '#ab4252',
950: '#000000',
},
}SCSS
$custom: #ab4252; $custom-light: #c97b82; $custom-dark: #000000;
JSON
{
"hex": "#ab4252",
"rgb": {
"r": 171,
"g": 66,
"b": 82
},
"hsl": {
"h": 350.857,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.52598,
"c": 0.13787,
"h": 14
},
"luminance": 0.13164
}Semantic roles & 50–950 ramp
primary
#AB4252
secondary
#88C0B8
accent
#D4C054
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C