#AB2A2A#AB2A2A
#AB2A2A is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.1% C 0.166 H 25.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A2A |
|---|---|
| RGB | rgb(171, 42, 42) |
| HSL | hsl(0, 61%, 42%) |
| HSV | hsv(0, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 75.4%, 32.9%) |
| CIE-LAB | lab(38.70, 51.59, 32.18) |
| CIE-LCH | lch(38.70, 60.81, 31.95°) |
| OKLab | oklab(49.14% 0.1493 0.0721) |
| OKLCH | oklch(49.14% 0.166 25.8) |
| XYZ | xyz(18.0426, 10.4838, 3.2636) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.23
Firebrick
#B22222
ΔE00 2.16
Scarlet
#BE0119
ΔE00 4.51
Brick
#A03623
ΔE00 4.77
Brownish Red
#9E3623
ΔE00 4.91
Lipstick Red
#C0022F
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A2A #2AABAB
analogous
#AB2A6B #AB2A2A #AB6B2A
triadic
#AB2A2A #2AAB2A #2A2AAB
tetradic
#AB2A2A #6BAB2A #2AABAB #6B2AAB
square
#AB2A2A #6BAB2A #2AABAB #6B2AAB
split-complementary
#AB2A2A #2AAB6B #2A6BAB
monochromatic
#491212 #7A1E1E #AB2A2A #D14242 #DD7373
Accessibility & contrast
On white
6.78
#AB2A2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#AB2A2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A2A
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A2A | 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)
#514928
Deuteranopia (green-blind)
#716525
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2a2a; /* rgb */ color: rgb(171, 42, 42); /* oklch */ color: oklch(49.1% 0.166 25.8);
Tailwind
colors: {
custom: {
50: '#cd6e64',
500: '#ab2a2a',
950: '#000000',
},
}SCSS
$custom: #ab2a2a; $custom-light: #cd6e64; $custom-dark: #000000;
JSON
{
"hex": "#ab2a2a",
"rgb": {
"r": 171,
"g": 42,
"b": 42
},
"hsl": {
"h": 0,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49144,
"c": 0.16578,
"h": 25.8
},
"luminance": 0.10481
}Semantic roles & 50–950 ramp
primary
#AB2A2A
secondary
#6DC4C4
accent
#E4E444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A