#7F1317#7F1317
#7F1317 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.7% C 0.142 H 25.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1317 |
|---|---|
| RGB | rgb(127, 19, 23) |
| HSL | hsl(358, 74%, 29%) |
| HSV | hsv(358, 85%, 50%) |
| CMYK | cmyk(0%, 85%, 81.9%, 50.2%) |
| CIE-LAB | lab(26.85, 44.38, 28.14) |
| CIE-LCH | lch(26.85, 52.55, 32.38°) |
| OKLab | oklab(38.66% 0.1279 0.0612) |
| OKLCH | oklch(38.66% 0.142 25.6) |
| XYZ | xyz(9.1411, 5.0411, 1.3022) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.22
Blood
#770001
ΔE00 4.13
Maroon
#800000
ΔE00 4.48
Dark Red
#840000
ΔE00 4.77
Reddy Brown
#6E1005
ΔE00 4.85
Indian Red
#850E04
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1317 #137F7B
analogous
#7F134D #7F1317 #7F4513
triadic
#7F1317 #177F13 #13177F
tetradic
#7F1317 #4D7F13 #137F7B #45137F
square
#7F1317 #4D7F13 #137F7B #45137F
split-complementary
#7F1317 #137F45 #134D7F
monochromatic
#1B0405 #4A0B0D #7F1317 #B41B21 #E02D33
Accessibility & contrast
On white
10.46
#7F1317 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7F1317 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1317
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1317 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1317 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363116
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#8D0016
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7f1317; /* rgb */ color: rgb(127, 19, 23); /* oklch */ color: oklch(38.7% 0.142 25.6);
Tailwind
colors: {
custom: {
50: '#ad5e54',
500: '#7f1317',
950: '#000000',
},
}SCSS
$custom: #7f1317; $custom-light: #ad5e54; $custom-dark: #000000;
JSON
{
"hex": "#7f1317",
"rgb": {
"r": 127,
"g": 19,
"b": 23
},
"hsl": {
"h": 357.778,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.3866,
"c": 0.14174,
"h": 25.6
},
"luminance": 0.0504
}Semantic roles & 50–950 ramp
primary
#7F1317
secondary
#39B4B0
accent
#F1EA37
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978