#AB2E35#AB2E35
#AB2E35 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.161 H 22.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E35 |
|---|---|
| RGB | rgb(171, 46, 53) |
| HSL | hsl(357, 58%, 43%) |
| HSV | hsv(357, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 69%, 32.9%) |
| CIE-LAB | lab(39.36, 50.69, 26.33) |
| CIE-LCH | lch(39.36, 57.12, 27.44°) |
| OKLab | oklab(49.69% 0.1488 0.0614) |
| OKLCH | oklch(49.69% 0.161 22.4) |
| XYZ | xyz(18.4162, 10.8717, 4.4962) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.93
Lipstick Red
#C0022F
ΔE00 4.18
Cardinal
#C41E3A
ΔE00 4.70
Firebrick
#B22222
ΔE00 4.86
Dull Red
#BB3F3F
ΔE00 5.13
Rouge
#AB1239
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E35 #2EABA4
analogous
#AB2E73 #AB2E35 #AB652E
triadic
#AB2E35 #35AB2E #2E35AB
tetradic
#AB2E35 #73AB2E #2EABA4 #652EAB
square
#AB2E35 #73AB2E #2EABA4 #652EAB
split-complementary
#AB2E35 #2EAB65 #2E73AB
monochromatic
#4B1417 #7B2126 #AB2E35 #CE4850 #DB797E
Accessibility & contrast
On white
6.62
#AB2E35 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB2E35 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E35
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E35 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E35 | 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)
#524C34
Deuteranopia (green-blind)
#716631
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2e35; /* rgb */ color: rgb(171, 46, 53); /* oklch */ color: oklch(49.7% 0.161 22.4);
Tailwind
colors: {
custom: {
50: '#cc706c',
500: '#ab2e35',
950: '#000000',
},
}SCSS
$custom: #ab2e35; $custom-light: #cc706c; $custom-dark: #000000;
JSON
{
"hex": "#ab2e35",
"rgb": {
"r": 171,
"g": 46,
"b": 53
},
"hsl": {
"h": 356.64,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.4969,
"c": 0.161,
"h": 22.4
},
"luminance": 0.10869
}Semantic roles & 50–950 ramp
primary
#AB2E35
secondary
#72C3BE
accent
#E1D847
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A