#AB2A31#AB2A31
#AB2A31 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.165 H 23.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A31 |
|---|---|
| RGB | rgb(171, 42, 49) |
| HSL | hsl(357, 61%, 42%) |
| HSV | hsv(357, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 71.3%, 32.9%) |
| CIE-LAB | lab(38.79, 51.91, 28.08) |
| CIE-LCH | lch(38.79, 59.02, 28.41°) |
| OKLab | oklab(49.25% 0.1518 0.0646) |
| OKLCH | oklch(49.25% 0.165 23) |
| XYZ | xyz(18.1790, 10.5384, 3.9820) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.19
Lipstick Red
#C0022F
ΔE00 4.00
Firebrick
#B22222
ΔE00 4.12
Cardinal
#C41E3A
ΔE00 5.00
Dull Red
#BB3F3F
ΔE00 5.58
Rouge
#AB1239
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A31 #2AABA4
analogous
#AB2A72 #AB2A31 #AB642A
triadic
#AB2A31 #31AB2A #2A31AB
tetradic
#AB2A31 #72AB2A #2AABA4 #642AAB
square
#AB2A31 #72AB2A #2AABA4 #642AAB
split-complementary
#AB2A31 #2AAB64 #2A72AB
monochromatic
#491215 #7A1E23 #AB2A31 #D14249 #DD7379
Accessibility & contrast
On white
6.76
#AB2A31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2A31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A31
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A31 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504A30
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2a31; /* rgb */ color: rgb(171, 42, 49); /* oklch */ color: oklch(49.2% 0.165 23.0);
Tailwind
colors: {
custom: {
50: '#cc6e69',
500: '#ab2a31',
950: '#000000',
},
}SCSS
$custom: #ab2a31; $custom-light: #cc6e69; $custom-dark: #000000;
JSON
{
"hex": "#ab2a31",
"rgb": {
"r": 171,
"g": 42,
"b": 49
},
"hsl": {
"h": 356.744,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49245,
"c": 0.165,
"h": 23
},
"luminance": 0.10536
}Semantic roles & 50–950 ramp
primary
#AB2A31
secondary
#6DC4BF
accent
#E4DB44
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A