#7F1F12#7F1F12
#7F1F12 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.133 H 31.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F12 |
|---|---|
| RGB | rgb(127, 31, 18) |
| HSL | hsl(7, 75%, 28%) |
| HSV | hsv(7, 86%, 50%) |
| CMYK | cmyk(0%, 75.6%, 85.8%, 50.2%) |
| CIE-LAB | lab(28.21, 40.26, 32.37) |
| CIE-LCH | lch(28.21, 51.66, 38.80°) |
| OKLab | oklab(39.66% 0.1139 0.0686) |
| OKLCH | oklch(39.66% 0.133 31.1) |
| XYZ | xyz(9.3527, 5.5371, 1.1485) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.68
Maroon
#800000
ΔE00 3.38
Dark Red
#840000
ΔE00 3.40
Darkred
#8B0000
ΔE00 3.84
Blood
#770001
ΔE00 3.99
Crimson (survey)
#8C000F
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F12 #12727F
analogous
#7F123B #7F1F12 #7F5512
triadic
#7F1F12 #127F1F #1F127F
tetradic
#7F1F12 #3B7F12 #12727F #55127F
square
#7F1F12 #3B7F12 #12727F #55127F
split-complementary
#7F1F12 #127F55 #123B7F
monochromatic
#1B0704 #49120A #7F1F12 #B52C1A #E1402B
Accessibility & contrast
On white
9.97
#7F1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7F1F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F12
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F12 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C350F
Deuteranopia (green-blind)
#544A0D
Tritanopia (blue-blind)
#8D001D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1f12; /* rgb */ color: rgb(127, 31, 18); /* oklch */ color: oklch(39.7% 0.133 31.1);
Tailwind
colors: {
custom: {
50: '#ac6251',
500: '#7f1f12',
950: '#000000',
},
}SCSS
$custom: #7f1f12; $custom-light: #ac6251; $custom-dark: #000000;
JSON
{
"hex": "#7f1f12",
"rgb": {
"r": 127,
"g": 31,
"b": 18
},
"hsl": {
"h": 7.156,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39658,
"c": 0.13296,
"h": 31.1
},
"luminance": 0.05536
}Semantic roles & 50–950 ramp
primary
#7F1F12
secondary
#38A6B5
accent
#DBF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78