#AB2A29#AB2A29
#AB2A29 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.1% C 0.166 H 26.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A29 |
|---|---|
| RGB | rgb(171, 42, 41) |
| HSL | hsl(0, 61%, 42%) |
| HSV | hsv(0, 76%, 67%) |
| CMYK | cmyk(0%, 75.4%, 76%, 32.9%) |
| CIE-LAB | lab(38.68, 51.55, 32.75) |
| CIE-LCH | lch(38.68, 61.08, 32.43°) |
| OKLab | oklab(49.13% 0.1489 0.0731) |
| OKLCH | oklch(49.13% 0.166 26.1) |
| XYZ | xyz(18.0249, 10.4768, 3.1705) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.35
Firebrick
#B22222
ΔE00 1.94
Scarlet
#BE0119
ΔE00 4.34
Brick
#A03623
ΔE00 4.52
Brownish Red
#9E3623
ΔE00 4.68
Lipstick Red
#C0022F
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A29 #29AAAB
analogous
#AB2969 #AB2A29 #AB6B29
triadic
#AB2A29 #29AB2A #2A29AB
tetradic
#AB2A29 #69AB29 #29AAAB #6B29AB
square
#AB2A29 #69AB29 #29AAAB #6B29AB
split-complementary
#AB2A29 #29AB6B #2969AB
monochromatic
#481211 #7A1E1D #AB2A29 #D14140 #DD7271
Accessibility & contrast
On white
6.79
#AB2A29 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2A29 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A29
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A29 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514927
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#BC002C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2a29; /* rgb */ color: rgb(171, 42, 41); /* oklch */ color: oklch(49.1% 0.166 26.1);
Tailwind
colors: {
custom: {
50: '#cd6e63',
500: '#ab2a29',
950: '#000000',
},
}SCSS
$custom: #ab2a29; $custom-light: #cd6e63; $custom-dark: #000000;
JSON
{
"hex": "#ab2a29",
"rgb": {
"r": 171,
"g": 42,
"b": 41
},
"hsl": {
"h": 0.462,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49131,
"c": 0.1659,
"h": 26.1
},
"luminance": 0.10474
}Semantic roles & 50–950 ramp
primary
#AB2A29
secondary
#6CC3C4
accent
#E3E443
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79