#AB2A38#AB2A38
#AB2A38 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.164 H 20.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A38 |
|---|---|
| RGB | rgb(171, 42, 56) |
| HSL | hsl(353, 61%, 42%) |
| HSV | hsv(353, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 67.3%, 32.9%) |
| CIE-LAB | lab(38.90, 52.27, 23.90) |
| CIE-LCH | lch(38.90, 57.48, 24.57°) |
| OKLab | oklab(49.36% 0.1545 0.0564) |
| OKLCH | oklch(49.36% 0.164 20.1) |
| XYZ | xyz(18.3384, 10.6021, 4.8214) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.74
Lipstick Red
#C0022F
ΔE00 4.24
Brown
#A52A2A
ΔE00 4.28
Rose Red
#BE013C
ΔE00 4.33
Cardinal
#C41E3A
ΔE00 4.54
Dull Red
#BB3F3F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A38 #2AAB9D
analogous
#AB2A79 #AB2A38 #AB5C2A
triadic
#AB2A38 #38AB2A #2A38AB
tetradic
#AB2A38 #79AB2A #2AAB9D #5C2AAB
square
#AB2A38 #79AB2A #2AAB9D #5C2AAB
split-complementary
#AB2A38 #2AAB5C #2A79AB
monochromatic
#491218 #7A1E28 #AB2A38 #D14251 #DD737E
Accessibility & contrast
On white
6.73
#AB2A38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AB2A38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A38
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A38 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4A38
Deuteranopia (green-blind)
#706634
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2a38; /* rgb */ color: rgb(171, 42, 56); /* oklch */ color: oklch(49.4% 0.164 20.1);
Tailwind
colors: {
custom: {
50: '#cc6e6e',
500: '#ab2a38',
950: '#000000',
},
}SCSS
$custom: #ab2a38; $custom-light: #cc6e6e; $custom-dark: #000000;
JSON
{
"hex": "#ab2a38",
"rgb": {
"r": 171,
"g": 42,
"b": 56
},
"hsl": {
"h": 353.488,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49363,
"c": 0.16449,
"h": 20.1
},
"luminance": 0.10599
}Semantic roles & 50–950 ramp
primary
#AB2A38
secondary
#6DC4BA
accent
#E4D244
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A