#A12E2B#A12E2B
#A12E2B is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.8% C 0.152 H 26.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A12E2B |
|---|---|
| RGB | rgb(161, 46, 43) |
| HSL | hsl(2, 58%, 40%) |
| HSV | hsv(2, 73%, 63%) |
| CMYK | cmyk(0%, 71.4%, 73.3%, 36.9%) |
| CIE-LAB | lab(37.31, 46.93, 29.50) |
| CIE-LCH | lch(37.31, 55.43, 32.15°) |
| OKLab | oklab(47.77% 0.136 0.0671) |
| OKLCH | oklch(47.77% 0.152 26.2) |
| XYZ | xyz(16.1128, 9.7079, 3.3104) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 0.90
Firebrick
#B22222
ΔE00 3.71
Brownish Red
#9E3623
ΔE00 4.33
Brick
#A03623
ΔE00 4.35
Carmine
#9D0216
ΔE00 5.04
Scarlet
#BE0119
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12E2B #2B9EA1
analogous
#A12B63 #A12E2B #A1692B
triadic
#A12E2B #2BA12E #2E2BA1
tetradic
#A12E2B #63A12B #2B9EA1 #692BA1
square
#A12E2B #63A12B #2B9EA1 #692BA1
split-complementary
#A12E2B #2BA169 #2B63A1
monochromatic
#401211 #71201E #A12E2B #CB413E #D8716E
Accessibility & contrast
On white
7.14
#A12E2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#A12E2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12E2B
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12E2B | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F482A
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#B1032F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a12e2b; /* rgb */ color: rgb(161, 46, 43); /* oklch */ color: oklch(47.8% 0.152 26.2);
Tailwind
colors: {
custom: {
50: '#c56f64',
500: '#a12e2b',
950: '#000000',
},
}SCSS
$custom: #a12e2b; $custom-light: #c56f64; $custom-dark: #000000;
JSON
{
"hex": "#a12e2b",
"rgb": {
"r": 161,
"g": 46,
"b": 43
},
"hsl": {
"h": 1.525,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.47766,
"c": 0.15166,
"h": 26.2
},
"luminance": 0.09705
}Semantic roles & 50–950 ramp
primary
#A12E2B
secondary
#69BDBF
accent
#DDE147
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140805
muted
#837B7A