#7D1F12#7D1F12
#7D1F12 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.131 H 31.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F12 |
|---|---|
| RGB | rgb(125, 31, 18) |
| HSL | hsl(7, 75%, 28%) |
| HSV | hsv(7, 86%, 49%) |
| CMYK | cmyk(0%, 75.2%, 85.6%, 51%) |
| CIE-LAB | lab(27.80, 39.57, 31.84) |
| CIE-LCH | lch(27.80, 50.79, 38.82°) |
| OKLab | oklab(39.28% 0.112 0.0676) |
| OKLCH | oklch(39.28% 0.131 31.1) |
| XYZ | xyz(9.0577, 5.3850, 1.1346) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.90
Maroon
#800000
ΔE00 3.44
Dark Red
#840000
ΔE00 3.55
Reddy Brown
#6E1005
ΔE00 3.78
Blood
#770001
ΔE00 3.85
Darkred
#8B0000
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F12 #12707D
analogous
#7D123A #7D1F12 #7D5412
triadic
#7D1F12 #127D1F #1F127D
tetradic
#7D1F12 #3A7D12 #12707D #54127D
square
#7D1F12 #3A7D12 #12707D #54127D
split-complementary
#7D1F12 #127D54 #123A7D
monochromatic
#1B0704 #48120A #7D1F12 #B22C1A #E03F29
Accessibility & contrast
On white
10.11
#7D1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7D1F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F12
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F12 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#53490D
Tritanopia (blue-blind)
#8A001D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7d1f12; /* rgb */ color: rgb(125, 31, 18); /* oklch */ color: oklch(39.3% 0.131 31.1);
Tailwind
colors: {
custom: {
50: '#ab6251',
500: '#7d1f12',
950: '#000000',
},
}SCSS
$custom: #7d1f12; $custom-light: #ab6251; $custom-dark: #000000;
JSON
{
"hex": "#7d1f12",
"rgb": {
"r": 125,
"g": 31,
"b": 18
},
"hsl": {
"h": 7.29,
"s": 74.825,
"l": 28.039
},
"oklch": {
"l": 0.39279,
"c": 0.13081,
"h": 31.1
},
"luminance": 0.05384
}Semantic roles & 50–950 ramp
primary
#7D1F12
secondary
#38A4B3
accent
#DBF136
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78