#AB302B#AB302B
#AB302B is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.160 H 27.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AB302B |
|---|---|
| RGB | rgb(171, 48, 43) |
| HSL | hsl(2, 60%, 42%) |
| HSV | hsv(2, 75%, 67%) |
| CMYK | cmyk(0%, 71.9%, 74.9%, 32.9%) |
| CIE-LAB | lab(39.49, 49.46, 32.48) |
| CIE-LCH | lch(39.49, 59.18, 33.29°) |
| OKLab | oklab(49.74% 0.1428 0.073) |
| OKLCH | oklch(49.74% 0.16 27.1) |
| XYZ | xyz(18.2897, 10.9490, 3.4354) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.00
Firebrick
#B22222
ΔE00 2.21
Brick
#A03623
ΔE00 3.97
Brownish Red
#9E3623
ΔE00 4.16
Scarlet
#BE0119
ΔE00 4.64
Dull Red
#BB3F3F
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB302B #2BA6AB
analogous
#AB2B66 #AB302B #AB702B
triadic
#AB302B #2BAB30 #302BAB
tetradic
#AB302B #66AB2B #2BA6AB #702BAB
square
#AB302B #66AB2B #2BA6AB #702BAB
split-complementary
#AB302B #2BAB70 #2B66AB
monochromatic
#491512 #7A221F #AB302B #D04943 #DC7874
Accessibility & contrast
On white
6.58
#AB302B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AB302B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB302B
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB302B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB302B | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C29
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab302b; /* rgb */ color: rgb(171, 48, 43); /* oklch */ color: oklch(49.7% 0.160 27.1);
Tailwind
colors: {
custom: {
50: '#cc7165',
500: '#ab302b',
950: '#000000',
},
}SCSS
$custom: #ab302b; $custom-light: #cc7165; $custom-dark: #000000;
JSON
{
"hex": "#ab302b",
"rgb": {
"r": 171,
"g": 48,
"b": 43
},
"hsl": {
"h": 2.344,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.49743,
"c": 0.16035,
"h": 27.1
},
"luminance": 0.10946
}Semantic roles & 50–950 ramp
primary
#AB302B
secondary
#6EC0C4
accent
#DDE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A