#A8251B#A8251B
#A8251B is a mid, vivid red. Relative luminance 0.097; OKLCH L 48.0% C 0.169 H 29.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A8251B |
|---|---|
| RGB | rgb(168, 37, 27) |
| HSL | hsl(4, 72%, 38%) |
| HSV | hsv(4, 84%, 66%) |
| CMYK | cmyk(0%, 78%, 83.9%, 34.1%) |
| CIE-LAB | lab(37.35, 51.80, 39.05) |
| CIE-LCH | lch(37.35, 64.87, 37.01°) |
| OKLab | oklab(47.99% 0.1472 0.0826) |
| OKLCH | oklch(47.99% 0.169 29.3) |
| XYZ | xyz(17.0099, 9.7298, 2.0191) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.61
Brick
#A03623
ΔE00 3.03
Darkish Red
#A90308
ΔE00 3.12
Brownish Red
#9E3623
ΔE00 3.21
Brown
#A52A2A
ΔE00 3.84
Scarlet
#BE0119
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8251B #1B9EA8
analogous
#A81B58 #A8251B #A86B1B
triadic
#A8251B #1BA825 #251BA8
tetradic
#A8251B #58A81B #1B9EA8 #6B1BA8
square
#A8251B #58A81B #1B9EA8 #6B1BA8
split-complementary
#A8251B #1BA86B #1B58A8
monochromatic
#3F0E0A #731913 #A8251B #DC3124 #E46359
Accessibility & contrast
On white
7.13
#A8251B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#A8251B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A8251B
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8251B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A8251B | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4618
Deuteranopia (green-blind)
#6E6214
Tritanopia (blue-blind)
#BA0024
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a8251b; /* rgb */ color: rgb(168, 37, 27); /* oklch */ color: oklch(48.0% 0.169 29.3);
Tailwind
colors: {
custom: {
50: '#cb6b59',
500: '#a8251b',
950: '#000000',
},
}SCSS
$custom: #a8251b; $custom-light: #cb6b59; $custom-dark: #000000;
JSON
{
"hex": "#a8251b",
"rgb": {
"r": 168,
"g": 37,
"b": 27
},
"hsl": {
"h": 4.255,
"s": 72.308,
"l": 38.235
},
"oklch": {
"l": 0.47988,
"c": 0.16875,
"h": 29.3
},
"luminance": 0.09727
}Semantic roles & 50–950 ramp
primary
#A8251B
secondary
#57C0C8
accent
#E2EF39
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150703
muted
#837A78