#AB2929#AB2929
#AB2929 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.0% C 0.167 H 25.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2929 |
|---|---|
| RGB | rgb(171, 41, 41) |
| HSL | hsl(0, 61%, 42%) |
| HSV | hsv(0, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 76%, 32.9%) |
| CIE-LAB | lab(38.56, 51.89, 32.62) |
| CIE-LCH | lch(38.56, 61.29, 32.15°) |
| OKLab | oklab(49.04% 0.15 0.0728) |
| OKLCH | oklch(49.04% 0.167 25.9) |
| XYZ | xyz(17.9899, 10.4067, 3.1588) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.25
Firebrick
#B22222
ΔE00 2.01
Scarlet
#BE0119
ΔE00 4.37
Brick
#A03623
ΔE00 4.70
Brownish Red
#9E3623
ΔE00 4.84
Lipstick Red
#C0022F
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2929 #29ABAB
analogous
#AB296A #AB2929 #AB6A29
triadic
#AB2929 #29AB29 #2929AB
tetradic
#AB2929 #6AAB29 #29ABAB #6A29AB
square
#AB2929 #6AAB29 #29ABAB #6A29AB
split-complementary
#AB2929 #29AB6A #296AAB
monochromatic
#481111 #7A1D1D #AB2929 #D14040 #DD7171
Accessibility & contrast
On white
6.82
#AB2929 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB2929 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2929
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2929 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2929 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504927
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#BC002B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2929; /* rgb */ color: rgb(171, 41, 41); /* oklch */ color: oklch(49.0% 0.167 25.9);
Tailwind
colors: {
custom: {
50: '#cd6e63',
500: '#ab2929',
950: '#000000',
},
}SCSS
$custom: #ab2929; $custom-light: #cd6e63; $custom-dark: #000000;
JSON
{
"hex": "#ab2929",
"rgb": {
"r": 171,
"g": 41,
"b": 41
},
"hsl": {
"h": 0,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.4904,
"c": 0.16674,
"h": 25.9
},
"luminance": 0.10404
}Semantic roles & 50–950 ramp
primary
#AB2929
secondary
#6CC4C4
accent
#E4E443
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79