#AB2E36#AB2E36
#AB2E36 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.161 H 22.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E36 |
|---|---|
| RGB | rgb(171, 46, 54) |
| HSL | hsl(356, 58%, 43%) |
| HSV | hsv(356, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 68.4%, 32.9%) |
| CIE-LAB | lab(39.38, 50.75, 25.73) |
| CIE-LCH | lch(39.38, 56.90, 26.89°) |
| OKLab | oklab(49.71% 0.1492 0.0602) |
| OKLCH | oklch(49.71% 0.161 22) |
| XYZ | xyz(18.4394, 10.8810, 4.6186) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.21
Lipstick Red
#C0022F
ΔE00 4.19
Cardinal
#C41E3A
ΔE00 4.61
Rouge
#AB1239
ΔE00 5.10
Firebrick
#B22222
ΔE00 5.17
Dull Red
#BB3F3F
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E36 #2EABA3
analogous
#AB2E74 #AB2E36 #AB642E
triadic
#AB2E36 #36AB2E #2E36AB
tetradic
#AB2E36 #74AB2E #2EABA3 #642EAB
square
#AB2E36 #74AB2E #2EABA3 #642EAB
split-complementary
#AB2E36 #2EAB64 #2E74AB
monochromatic
#4B1418 #7B2127 #AB2E36 #CE4851 #DB797F
Accessibility & contrast
On white
6.61
#AB2E36 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AB2E36 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E36
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E36 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514C35
Deuteranopia (green-blind)
#716632
Tritanopia (blue-blind)
#BC0032
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2e36; /* rgb */ color: rgb(171, 46, 54); /* oklch */ color: oklch(49.7% 0.161 22.0);
Tailwind
colors: {
custom: {
50: '#cc706d',
500: '#ab2e36',
950: '#000000',
},
}SCSS
$custom: #ab2e36; $custom-light: #cc706d; $custom-dark: #000000;
JSON
{
"hex": "#ab2e36",
"rgb": {
"r": 171,
"g": 46,
"b": 54
},
"hsl": {
"h": 356.16,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.49707,
"c": 0.16092,
"h": 22
},
"luminance": 0.10878
}Semantic roles & 50–950 ramp
primary
#AB2E36
secondary
#72C3BE
accent
#E1D747
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150807
muted
#837B7A