#7F1312#7F1312
#7F1312 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.142 H 27.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1312 |
|---|---|
| RGB | rgb(127, 19, 18) |
| HSL | hsl(1, 75%, 28%) |
| HSV | hsv(1, 86%, 50%) |
| CMYK | cmyk(0%, 85%, 85.8%, 50.2%) |
| CIE-LAB | lab(26.80, 44.22, 31.05) |
| CIE-LCH | lch(26.80, 54.03, 35.08°) |
| OKLab | oklab(38.61% 0.1263 0.0656) |
| OKLCH | oklch(38.61% 0.142 27.5) |
| XYZ | xyz(9.0956, 5.0229, 1.0628) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.65
Blood
#770001
ΔE00 2.99
Maroon
#800000
ΔE00 3.01
Dark Red
#840000
ΔE00 3.29
Indian Red
#850E04
ΔE00 3.37
Reddy Brown
#6E1005
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1312 #127E7F
analogous
#7F1247 #7F1312 #7F4912
triadic
#7F1312 #127F13 #13127F
tetradic
#7F1312 #477F12 #127E7F #49127F
square
#7F1312 #477F12 #127E7F #49127F
split-complementary
#7F1312 #127F49 #12477F
monochromatic
#1B0404 #490B0A #7F1312 #B51B1A #E12C2B
Accessibility & contrast
On white
10.48
#7F1312 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7F1312 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1312
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1312 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1312 | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373010
Deuteranopia (green-blind)
#51480C
Tritanopia (blue-blind)
#8D0015
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7f1312; /* rgb */ color: rgb(127, 19, 18); /* oklch */ color: oklch(38.6% 0.142 27.5);
Tailwind
colors: {
custom: {
50: '#ad5e51',
500: '#7f1312',
950: '#000000',
},
}SCSS
$custom: #7f1312; $custom-light: #ad5e51; $custom-dark: #000000;
JSON
{
"hex": "#7f1312",
"rgb": {
"r": 127,
"g": 19,
"b": 18
},
"hsl": {
"h": 0.55,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.38606,
"c": 0.14231,
"h": 27.5
},
"luminance": 0.05021
}Semantic roles & 50–950 ramp
primary
#7F1312
secondary
#38B4B5
accent
#F0F236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978