#A12D1C#A12D1C
#A12D1C is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.5% C 0.155 H 31.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A12D1C |
|---|---|
| RGB | rgb(161, 45, 28) |
| HSL | hsl(8, 70%, 37%) |
| HSV | hsv(8, 83%, 63%) |
| CMYK | cmyk(0%, 72%, 82.6%, 36.9%) |
| CIE-LAB | lab(37.00, 46.73, 37.71) |
| CIE-LCH | lch(37.00, 60.05, 38.90°) |
| OKLab | oklab(47.48% 0.1323 0.0807) |
| OKLCH | oklch(47.48% 0.155 31.4) |
| XYZ | xyz(15.8478, 9.5401, 2.1054) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 1.69
Brownish Red
#9E3623
ΔE00 1.74
Burnt Red
#9F2305
ΔE00 3.75
Darkish Red
#A90308
ΔE00 3.97
Firebrick
#B22222
ΔE00 4.15
Rust Red
#AA2704
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12D1C #1C90A1
analogous
#A11C4E #A12D1C #A1701C
triadic
#A12D1C #1CA12D #2D1CA1
tetradic
#A12D1C #4EA11C #1C90A1 #701CA1
square
#A12D1C #4EA11C #1C90A1 #701CA1
split-complementary
#A12D1C #1CA170 #1C4EA1
monochromatic
#39100A #6D1E13 #A12D1C #D53C25 #E26856
Accessibility & contrast
On white
7.22
#A12D1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A12D1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12D1C
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12D1C | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504719
Deuteranopia (green-blind)
#6C6016
Tritanopia (blue-blind)
#B2002A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a12d1c; /* rgb */ color: rgb(161, 45, 28); /* oklch */ color: oklch(47.5% 0.155 31.4);
Tailwind
colors: {
custom: {
50: '#c66e5a',
500: '#a12d1c',
950: '#000000',
},
}SCSS
$custom: #a12d1c; $custom-light: #c66e5a; $custom-dark: #000000;
JSON
{
"hex": "#a12d1c",
"rgb": {
"r": 161,
"g": 45,
"b": 28
},
"hsl": {
"h": 7.669,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.47482,
"c": 0.15497,
"h": 31.4
},
"luminance": 0.09538
}Semantic roles & 50–950 ramp
primary
#A12D1C
secondary
#54B6C5
accent
#D6ED3B
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150804
muted
#837B79