#7F171D#7F171D
#7F171D is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.138 H 23.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7F171D |
|---|---|
| RGB | rgb(127, 23, 29) |
| HSL | hsl(357, 69%, 29%) |
| HSV | hsv(357, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 77.2%, 50.2%) |
| CIE-LAB | lab(27.34, 43.45, 24.93) |
| CIE-LCH | lch(27.34, 50.09, 29.85°) |
| OKLab | oklab(39.05% 0.1263 0.056) |
| OKLCH | oklch(39.05% 0.138 23.9) |
| XYZ | xyz(9.2817, 5.2150, 1.6800) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.73
Crimson (survey)
#8C000F
ΔE00 4.46
Wine Red
#7B0323
ΔE00 5.10
Blood
#770001
ΔE00 5.64
Rosewood
#65000B
ΔE00 5.94
Reddy Brown
#6E1005
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F171D #177F79
analogous
#7F1751 #7F171D #7F4517
triadic
#7F171D #1D7F17 #171D7F
tetradic
#7F171D #517F17 #177F79 #45177F
square
#7F171D #517F17 #177F79 #45177F
split-complementary
#7F171D #177F45 #17517F
monochromatic
#1A0506 #4B0E11 #7F171D #B32029 #DB363F
Accessibility & contrast
On white
10.28
#7F171D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F171D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F171D
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F171D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F171D | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37321C
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f171d; /* rgb */ color: rgb(127, 23, 29); /* oklch */ color: oklch(39.0% 0.138 23.9);
Tailwind
colors: {
custom: {
50: '#ac5f59',
500: '#7f171d',
950: '#000000',
},
}SCSS
$custom: #7f171d; $custom-light: #ac5f59; $custom-dark: #000000;
JSON
{
"hex": "#7f171d",
"rgb": {
"r": 127,
"g": 23,
"b": 29
},
"hsl": {
"h": 356.538,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.39046,
"c": 0.13816,
"h": 23.9
},
"luminance": 0.05214
}Semantic roles & 50–950 ramp
primary
#7F171D
secondary
#3EB4AD
accent
#ECE23C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978