#AB2A2E#AB2A2E
#AB2A2E is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.165 H 24.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A2E |
|---|---|
| RGB | rgb(171, 42, 46) |
| HSL | hsl(358, 61%, 42%) |
| HSV | hsv(358, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 73.1%, 32.9%) |
| CIE-LAB | lab(38.75, 51.77, 29.85) |
| CIE-LCH | lch(38.75, 59.76, 29.97°) |
| OKLab | oklab(49.2% 0.1507 0.0679) |
| OKLCH | oklch(49.2% 0.165 24.3) |
| XYZ | xyz(18.1178, 10.5139, 3.6596) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.48
Firebrick
#B22222
ΔE00 3.22
Lipstick Red
#C0022F
ΔE00 4.30
Scarlet
#BE0119
ΔE00 5.32
Cardinal
#C41E3A
ΔE00 5.49
Dull Red
#BB3F3F
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A2E #2AABA7
analogous
#AB2A6E #AB2A2E #AB672A
triadic
#AB2A2E #2EAB2A #2A2EAB
tetradic
#AB2A2E #6EAB2A #2AABA7 #672AAB
square
#AB2A2E #6EAB2A #2AABA7 #672AAB
split-complementary
#AB2A2E #2AAB67 #2A6EAB
monochromatic
#491214 #7A1E21 #AB2A2E #D14246 #DD7376
Accessibility & contrast
On white
6.77
#AB2A2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB2A2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A2E
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A2E | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50492D
Deuteranopia (green-blind)
#706529
Tritanopia (blue-blind)
#BC002D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2a2e; /* rgb */ color: rgb(171, 42, 46); /* oklch */ color: oklch(49.2% 0.165 24.3);
Tailwind
colors: {
custom: {
50: '#cc6e67',
500: '#ab2a2e',
950: '#000000',
},
}SCSS
$custom: #ab2a2e; $custom-light: #cc6e67; $custom-dark: #000000;
JSON
{
"hex": "#ab2a2e",
"rgb": {
"r": 171,
"g": 42,
"b": 46
},
"hsl": {
"h": 358.14,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.492,
"c": 0.16531,
"h": 24.3
},
"luminance": 0.10511
}Semantic roles & 50–950 ramp
primary
#AB2A2E
secondary
#6DC4C1
accent
#E4DF44
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A