#A12D2C#A12D2C
#A12D2C is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.7% C 0.152 H 25.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A12D2C |
|---|---|
| RGB | rgb(161, 45, 44) |
| HSL | hsl(1, 57%, 40%) |
| HSV | hsv(1, 73%, 63%) |
| CMYK | cmyk(0%, 72%, 72.7%, 36.9%) |
| CIE-LAB | lab(37.18, 47.36, 28.75) |
| CIE-LCH | lch(37.18, 55.41, 31.25°) |
| OKLab | oklab(47.68% 0.1376 0.0656) |
| OKLCH | oklch(47.68% 0.152 25.5) |
| XYZ | xyz(16.0927, 9.6381, 3.3954) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 0.89
Firebrick
#B22222
ΔE00 3.97
Brownish Red
#9E3623
ΔE00 4.86
Brick
#A03623
ΔE00 4.88
Carmine
#9D0216
ΔE00 5.06
Lipstick Red
#C0022F
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12D2C #2CA0A1
analogous
#A12C65 #A12D2C #A1682C
triadic
#A12D2C #2CA12D #2D2CA1
tetradic
#A12D2C #65A12C #2CA0A1 #682CA1
square
#A12D2C #65A12C #2CA0A1 #682CA1
split-complementary
#A12D2C #2CA168 #2C65A1
monochromatic
#411212 #71201F #A12D2C #CB4140 #D87070
Accessibility & contrast
On white
7.17
#A12D2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#A12D2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12D2C
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12D2C | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E482B
Deuteranopia (green-blind)
#6B6128
Tritanopia (blue-blind)
#B1012E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a12d2c; /* rgb */ color: rgb(161, 45, 44); /* oklch */ color: oklch(47.7% 0.152 25.5);
Tailwind
colors: {
custom: {
50: '#c56e65',
500: '#a12d2c',
950: '#000000',
},
}SCSS
$custom: #a12d2c; $custom-light: #c56e65; $custom-dark: #000000;
JSON
{
"hex": "#a12d2c",
"rgb": {
"r": 161,
"g": 45,
"b": 44
},
"hsl": {
"h": 0.513,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.47675,
"c": 0.15248,
"h": 25.5
},
"luminance": 0.09636
}Semantic roles & 50–950 ramp
primary
#A12D2C
secondary
#6ABEBF
accent
#DFE047
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140805
muted
#837B7A