#A12D1F#A12D1F
#A12D1F is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.5% C 0.154 H 30.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A12D1F |
|---|---|
| RGB | rgb(161, 45, 31) |
| HSL | hsl(6, 68%, 38%) |
| HSV | hsv(6, 81%, 63%) |
| CMYK | cmyk(0%, 72%, 80.7%, 36.9%) |
| CIE-LAB | lab(37.03, 46.83, 36.12) |
| CIE-LCH | lch(37.03, 59.14, 37.64°) |
| OKLab | oklab(47.51% 0.1332 0.0782) |
| OKLCH | oklch(47.51% 0.154 30.4) |
| XYZ | xyz(15.8855, 9.5552, 2.3039) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 1.80
Brownish Red
#9E3623
ΔE00 1.83
Firebrick
#B22222
ΔE00 3.67
Brown
#A52A2A
ΔE00 3.76
Darkish Red
#A90308
ΔE00 4.19
Burnt Red
#9F2305
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12D1F #1F93A1
analogous
#A11F52 #A12D1F #A16E1F
triadic
#A12D1F #1FA12D #2D1FA1
tetradic
#A12D1F #52A11F #1F93A1 #6E1FA1
square
#A12D1F #52A11F #1F93A1 #6E1FA1
split-complementary
#A12D1F #1FA16E #1F52A1
monochromatic
#3A100B #6E1F15 #A12D1F #D43B29 #DF695B
Accessibility & contrast
On white
7.22
#A12D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A12D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12D1F
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12D1F | 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)
#4F471C
Deuteranopia (green-blind)
#6C601A
Tritanopia (blue-blind)
#B2002B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a12d1f; /* rgb */ color: rgb(161, 45, 31); /* oklch */ color: oklch(47.5% 0.154 30.4);
Tailwind
colors: {
custom: {
50: '#c56e5c',
500: '#a12d1f',
950: '#000000',
},
}SCSS
$custom: #a12d1f; $custom-light: #c56e5c; $custom-dark: #000000;
JSON
{
"hex": "#a12d1f",
"rgb": {
"r": 161,
"g": 45,
"b": 31
},
"hsl": {
"h": 6.462,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.47512,
"c": 0.15448,
"h": 30.4
},
"luminance": 0.09553
}Semantic roles & 50–950 ramp
primary
#A12D1F
secondary
#58B8C4
accent
#D8EB3D
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150804
muted
#837B79