#AB2E38#AB2E38
#AB2E38 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.161 H 21.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E38 |
|---|---|
| RGB | rgb(171, 46, 56) |
| HSL | hsl(355, 58%, 43%) |
| HSV | hsv(355, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 67.3%, 32.9%) |
| CIE-LAB | lab(39.41, 50.86, 24.54) |
| CIE-LCH | lch(39.41, 56.47, 25.76°) |
| OKLab | oklab(49.74% 0.15 0.0578) |
| OKLCH | oklch(49.74% 0.161 21.1) |
| XYZ | xyz(18.4874, 10.9002, 4.8711) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.81
Lipstick Red
#C0022F
ΔE00 4.29
Cardinal
#C41E3A
ΔE00 4.50
Rouge
#AB1239
ΔE00 4.60
Rose Red
#BE013C
ΔE00 4.93
Dull Red
#BB3F3F
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E38 #2EABA1
analogous
#AB2E76 #AB2E38 #AB622E
triadic
#AB2E38 #38AB2E #2E38AB
tetradic
#AB2E38 #76AB2E #2EABA1 #622EAB
square
#AB2E38 #76AB2E #2EABA1 #622EAB
split-complementary
#AB2E38 #2EAB62 #2E76AB
monochromatic
#4B1418 #7B2128 #AB2E38 #CE4853 #DB7980
Accessibility & contrast
On white
6.61
#AB2E38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AB2E38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E38
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E38 | 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)
#514C37
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#BC0033
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2e38; /* rgb */ color: rgb(171, 46, 56); /* oklch */ color: oklch(49.7% 0.161 21.1);
Tailwind
colors: {
custom: {
50: '#cb706e',
500: '#ab2e38',
950: '#000000',
},
}SCSS
$custom: #ab2e38; $custom-light: #cb706e; $custom-dark: #000000;
JSON
{
"hex": "#ab2e38",
"rgb": {
"r": 171,
"g": 46,
"b": 56
},
"hsl": {
"h": 355.2,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.49742,
"c": 0.16076,
"h": 21.1
},
"luminance": 0.10897
}Semantic roles & 50–950 ramp
primary
#AB2E38
secondary
#72C3BC
accent
#E1D547
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150807
muted
#837B7A