#A12F26#A12F26
#A12F26 is a mid, vivid red. Relative luminance 0.098; OKLCH L 47.8% C 0.151 H 28.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A12F26 |
|---|---|
| RGB | rgb(161, 47, 38) |
| HSL | hsl(4, 62%, 39%) |
| HSV | hsv(4, 76%, 63%) |
| CMYK | cmyk(0%, 70.8%, 76.4%, 36.9%) |
| CIE-LAB | lab(37.39, 46.31, 32.54) |
| CIE-LCH | lch(37.39, 56.60, 35.09°) |
| OKLab | oklab(47.81% 0.133 0.0725) |
| OKLCH | oklch(47.81% 0.151 28.6) |
| XYZ | xyz(16.0661, 9.7525, 2.8698) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.18
Brick
#A03623
ΔE00 2.68
Brownish Red
#9E3623
ΔE00 2.68
Firebrick
#B22222
ΔE00 3.29
Carmine
#9D0216
ΔE00 5.04
Darkish Red
#A90308
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12F26 #2698A1
analogous
#A1265B #A12F26 #A16D26
triadic
#A12F26 #26A12F #2F26A1
tetradic
#A12F26 #5BA126 #2698A1 #6D26A1
square
#A12F26 #5BA126 #2698A1 #6D26A1
split-complementary
#A12F26 #26A16D #265BA1
monochromatic
#3E120F #6F211A #A12F26 #CF4035 #DB6F66
Accessibility & contrast
On white
7.12
#A12F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#A12F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12F26
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12F26 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504824
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#B1052E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a12f26; /* rgb */ color: rgb(161, 47, 38); /* oklch */ color: oklch(47.8% 0.151 28.6);
Tailwind
colors: {
custom: {
50: '#c56f61',
500: '#a12f26',
950: '#000000',
},
}SCSS
$custom: #a12f26; $custom-light: #c56f61; $custom-dark: #000000;
JSON
{
"hex": "#a12f26",
"rgb": {
"r": 161,
"g": 47,
"b": 38
},
"hsl": {
"h": 4.39,
"s": 61.809,
"l": 39.02
},
"oklch": {
"l": 0.47807,
"c": 0.15149,
"h": 28.6
},
"luminance": 0.0975
}Semantic roles & 50–950 ramp
primary
#A12F26
secondary
#62BAC1
accent
#D9E543
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140805
muted
#837B79