#7F1517#7F1517
#7F1517 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.140 H 26.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1517 |
|---|---|
| RGB | rgb(127, 21, 23) |
| HSL | hsl(359, 72%, 29%) |
| HSV | hsv(359, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 81.9%, 50.2%) |
| CIE-LAB | lab(27.05, 43.81, 28.35) |
| CIE-LCH | lch(27.05, 52.19, 32.91°) |
| OKLab | oklab(38.81% 0.1261 0.0616) |
| OKLCH | oklch(38.81% 0.14 26.1) |
| XYZ | xyz(9.1763, 5.1117, 1.3139) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.16
Blood
#770001
ΔE00 4.04
Maroon
#800000
ΔE00 4.33
Dark Red
#840000
ΔE00 4.60
Indian Red
#850E04
ΔE00 4.69
Reddy Brown
#6E1005
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1517 #157F7D
analogous
#7F154C #7F1517 #7F4815
triadic
#7F1517 #177F15 #15177F
tetradic
#7F1517 #4C7F15 #157F7D #48157F
square
#7F1517 #4C7F15 #157F7D #48157F
split-complementary
#7F1517 #157F48 #154C7F
monochromatic
#1A0405 #4A0C0D #7F1517 #B41E21 #DD3135
Accessibility & contrast
On white
10.39
#7F1517 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7F1517 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1517
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1517 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1517 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373116
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#8D0017
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1517; /* rgb */ color: rgb(127, 21, 23); /* oklch */ color: oklch(38.8% 0.140 26.1);
Tailwind
colors: {
custom: {
50: '#ad5e54',
500: '#7f1517',
950: '#000000',
},
}SCSS
$custom: #7f1517; $custom-light: #ad5e54; $custom-dark: #000000;
JSON
{
"hex": "#7f1517",
"rgb": {
"r": 127,
"g": 21,
"b": 23
},
"hsl": {
"h": 358.868,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.38808,
"c": 0.14034,
"h": 26.1
},
"luminance": 0.0511
}Semantic roles & 50–950 ramp
primary
#7F1517
secondary
#3CB4B2
accent
#EEEB39
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978