#7F1A12#7F1A12
#7F1A12 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 29.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1A12 |
|---|---|
| RGB | rgb(127, 26, 18) |
| HSL | hsl(4, 75%, 28%) |
| HSV | hsv(4, 86%, 50%) |
| CMYK | cmyk(0%, 79.5%, 85.8%, 50.2%) |
| CIE-LAB | lab(27.56, 42.07, 31.76) |
| CIE-LCH | lch(27.56, 52.72, 37.05°) |
| OKLab | oklab(39.17% 0.1196 0.0672) |
| OKLCH | oklch(39.17% 0.137 29.4) |
| XYZ | xyz(9.2321, 5.2960, 1.1083) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.74
Maroon
#800000
ΔE00 2.95
Dark Red
#840000
ΔE00 3.10
Crimson (survey)
#8C000F
ΔE00 3.22
Blood
#770001
ΔE00 3.33
Darkred
#8B0000
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1A12 #12777F
analogous
#7F1240 #7F1A12 #7F5012
triadic
#7F1A12 #127F1A #1A127F
tetradic
#7F1A12 #407F12 #12777F #50127F
square
#7F1A12 #407F12 #12777F #50127F
split-complementary
#7F1A12 #127F50 #12407F
monochromatic
#1B0504 #490F0A #7F1A12 #B5251A #E1382B
Accessibility & contrast
On white
10.20
#7F1A12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F1A12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1A12
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1A12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1A12 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3310
Deuteranopia (green-blind)
#53490C
Tritanopia (blue-blind)
#8D0019
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1a12; /* rgb */ color: rgb(127, 26, 18); /* oklch */ color: oklch(39.2% 0.137 29.4);
Tailwind
colors: {
custom: {
50: '#ad6051',
500: '#7f1a12',
950: '#000000',
},
}SCSS
$custom: #7f1a12; $custom-light: #ad6051; $custom-dark: #000000;
JSON
{
"hex": "#7f1a12",
"rgb": {
"r": 127,
"g": 26,
"b": 18
},
"hsl": {
"h": 4.404,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39172,
"c": 0.13716,
"h": 29.4
},
"luminance": 0.05294
}Semantic roles & 50–950 ramp
primary
#7F1A12
secondary
#38ACB5
accent
#E4F236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978