#AB2A2B#AB2A2B
#AB2A2B is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.166 H 25.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A2B |
|---|---|
| RGB | rgb(171, 42, 43) |
| HSL | hsl(360, 61%, 42%) |
| HSV | hsv(360, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 74.9%, 32.9%) |
| CIE-LAB | lab(38.71, 51.64, 31.60) |
| CIE-LCH | lch(38.71, 60.54, 31.47°) |
| OKLab | oklab(49.16% 0.1496 0.0711) |
| OKLCH | oklch(49.16% 0.166 25.4) |
| XYZ | xyz(18.0607, 10.4911, 3.3590) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.18
Firebrick
#B22222
ΔE00 2.41
Scarlet
#BE0119
ΔE00 4.69
Lipstick Red
#C0022F
ΔE00 4.77
Brick
#A03623
ΔE00 5.02
Brownish Red
#9E3623
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A2B #2AABAA
analogous
#AB2A6C #AB2A2B #AB6A2A
triadic
#AB2A2B #2BAB2A #2A2BAB
tetradic
#AB2A2B #6CAB2A #2AABAA #6A2AAB
square
#AB2A2B #6CAB2A #2AABAA #6A2AAB
split-complementary
#AB2A2B #2AAB6A #2A6CAB
monochromatic
#491212 #7A1E1F #AB2A2B #D14243 #DD7374
Accessibility & contrast
On white
6.78
#AB2A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB2A2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A2B
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A2B | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51492A
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2a2b; /* rgb */ color: rgb(171, 42, 43); /* oklch */ color: oklch(49.2% 0.166 25.4);
Tailwind
colors: {
custom: {
50: '#cc6e64',
500: '#ab2a2b',
950: '#000000',
},
}SCSS
$custom: #ab2a2b; $custom-light: #cc6e64; $custom-dark: #000000;
JSON
{
"hex": "#ab2a2b",
"rgb": {
"r": 171,
"g": 42,
"b": 43
},
"hsl": {
"h": 359.535,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49158,
"c": 0.16565,
"h": 25.4
},
"luminance": 0.10488
}Semantic roles & 50–950 ramp
primary
#AB2A2B
secondary
#6DC4C3
accent
#E4E244
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A