#A12B17#A12B17
#A12B17 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.2% C 0.157 H 32.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A12B17 |
|---|---|
| RGB | rgb(161, 43, 23) |
| HSL | hsl(9, 75%, 36%) |
| HSV | hsv(9, 86%, 63%) |
| CMYK | cmyk(0%, 73.3%, 85.7%, 36.9%) |
| CIE-LAB | lab(36.69, 47.36, 39.97) |
| CIE-LCH | lch(36.69, 61.97, 40.17°) |
| OKLab | oklab(47.23% 0.1333 0.0838) |
| OKLCH | oklch(47.23% 0.157 32.1) |
| XYZ | xyz(15.7184, 9.3691, 1.7912) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 2.30
Brownish Red
#9E3623
ΔE00 2.34
Burnt Red
#9F2305
ΔE00 2.76
Rust Red
#AA2704
ΔE00 3.50
Darkish Red
#A90308
ΔE00 3.64
Rusty Red
#AF2F0D
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12B17 #178DA1
analogous
#A11748 #A12B17 #A17017
triadic
#A12B17 #17A12B #2B17A1
tetradic
#A12B17 #48A117 #178DA1 #7017A1
square
#A12B17 #48A117 #178DA1 #7017A1
split-complementary
#A12B17 #17A170 #1748A1
monochromatic
#360E08 #6B1D0F #A12B17 #D7391F #E6634D
Accessibility & contrast
On white
7.31
#A12B17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#A12B17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12B17
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12B17 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4613
Deuteranopia (green-blind)
#6C6010
Tritanopia (blue-blind)
#B20028
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a12b17; /* rgb */ color: rgb(161, 43, 23); /* oklch */ color: oklch(47.2% 0.157 32.1);
Tailwind
colors: {
custom: {
50: '#c66d57',
500: '#a12b17',
950: '#000000',
},
}SCSS
$custom: #a12b17; $custom-light: #c66d57; $custom-dark: #000000;
JSON
{
"hex": "#a12b17",
"rgb": {
"r": 161,
"g": 43,
"b": 23
},
"hsl": {
"h": 8.696,
"s": 75,
"l": 36.078
},
"oklch": {
"l": 0.47231,
"c": 0.15748,
"h": 32.1
},
"luminance": 0.09367
}Semantic roles & 50–950 ramp
primary
#A12B17
secondary
#4CB6C7
accent
#D6F236
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78