#AB292A#AB292A
#AB292A is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.167 H 25.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AB292A |
|---|---|
| RGB | rgb(171, 41, 42) |
| HSL | hsl(360, 61%, 42%) |
| HSV | hsv(360, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 75.4%, 32.9%) |
| CIE-LAB | lab(38.58, 51.93, 32.04) |
| CIE-LCH | lch(38.58, 61.02, 31.67°) |
| OKLab | oklab(49.05% 0.1504 0.0718) |
| OKLCH | oklch(49.05% 0.167 25.5) |
| XYZ | xyz(18.0075, 10.4138, 3.2519) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.16
Firebrick
#B22222
ΔE00 2.25
Scarlet
#BE0119
ΔE00 4.54
Lipstick Red
#C0022F
ΔE00 4.83
Brick
#A03623
ΔE00 4.94
Brownish Red
#9E3623
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB292A #29ABAA
analogous
#AB296B #AB292A #AB6929
triadic
#AB292A #2AAB29 #292AAB
tetradic
#AB292A #6BAB29 #29ABAA #6929AB
square
#AB292A #6BAB29 #29ABAA #6929AB
split-complementary
#AB292A #29AB69 #296BAB
monochromatic
#481112 #7A1D1E #AB292A #D14041 #DD7172
Accessibility & contrast
On white
6.81
#AB292A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB292A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB292A
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB292A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB292A | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504929
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#BC002B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab292a; /* rgb */ color: rgb(171, 41, 42); /* oklch */ color: oklch(49.1% 0.167 25.5);
Tailwind
colors: {
custom: {
50: '#cd6e64',
500: '#ab292a',
950: '#000000',
},
}SCSS
$custom: #ab292a; $custom-light: #cd6e64; $custom-dark: #000000;
JSON
{
"hex": "#ab292a",
"rgb": {
"r": 171,
"g": 41,
"b": 42
},
"hsl": {
"h": 359.538,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49054,
"c": 0.16661,
"h": 25.5
},
"luminance": 0.10411
}Semantic roles & 50–950 ramp
primary
#AB292A
secondary
#6CC4C3
accent
#E4E343
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A