#AB2E34#AB2E34
#AB2E34 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.161 H 22.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E34 |
|---|---|
| RGB | rgb(171, 46, 52) |
| HSL | hsl(357, 58%, 43%) |
| HSV | hsv(357, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 69.6%, 32.9%) |
| CIE-LAB | lab(39.35, 50.64, 26.92) |
| CIE-LCH | lch(39.35, 57.35, 27.99°) |
| OKLab | oklab(49.67% 0.1485 0.0626) |
| OKLCH | oklch(49.67% 0.161 22.8) |
| XYZ | xyz(18.3934, 10.8626, 4.3763) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.65
Lipstick Red
#C0022F
ΔE00 4.20
Firebrick
#B22222
ΔE00 4.55
Cardinal
#C41E3A
ΔE00 4.81
Dull Red
#BB3F3F
ΔE00 5.10
Rouge
#AB1239
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E34 #2EABA5
analogous
#AB2E72 #AB2E34 #AB662E
triadic
#AB2E34 #34AB2E #2E34AB
tetradic
#AB2E34 #72AB2E #2EABA5 #662EAB
square
#AB2E34 #72AB2E #2EABA5 #662EAB
split-complementary
#AB2E34 #2EAB66 #2E72AB
monochromatic
#4B1417 #7B2125 #AB2E34 #CE484F #DB797D
Accessibility & contrast
On white
6.62
#AB2E34 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB2E34 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E34
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E34 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524C33
Deuteranopia (green-blind)
#716630
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2e34; /* rgb */ color: rgb(171, 46, 52); /* oklch */ color: oklch(49.7% 0.161 22.8);
Tailwind
colors: {
custom: {
50: '#cc706b',
500: '#ab2e34',
950: '#000000',
},
}SCSS
$custom: #ab2e34; $custom-light: #cc706b; $custom-dark: #000000;
JSON
{
"hex": "#ab2e34",
"rgb": {
"r": 171,
"g": 46,
"b": 52
},
"hsl": {
"h": 357.12,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.49674,
"c": 0.1611,
"h": 22.8
},
"luminance": 0.1086
}Semantic roles & 50–950 ramp
primary
#AB2E34
secondary
#72C3BF
accent
#E1D947
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A