#7F161C#7F161C
#7F161C is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 24.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7F161C |
|---|---|
| RGB | rgb(127, 22, 28) |
| HSL | hsl(357, 70%, 29%) |
| HSV | hsv(357, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 78%, 50.2%) |
| CIE-LAB | lab(27.22, 43.71, 25.43) |
| CIE-LCH | lch(27.22, 50.57, 30.19°) |
| OKLab | oklab(38.95% 0.1269 0.0568) |
| OKLCH | oklch(38.95% 0.139 24.1) |
| XYZ | xyz(9.2500, 5.1712, 1.6095) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.86
Crimson (survey)
#8C000F
ΔE00 4.25
Wine Red
#7B0323
ΔE00 5.26
Blood
#770001
ΔE00 5.40
Rosewood
#65000B
ΔE00 5.85
Maroon
#800000
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F161C #167F79
analogous
#7F1651 #7F161C #7F4416
triadic
#7F161C #1C7F16 #161C7F
tetradic
#7F161C #517F16 #167F79 #44167F
square
#7F161C #517F16 #167F79 #44167F
split-complementary
#7F161C #167F44 #16517F
monochromatic
#1A0506 #4B0D10 #7F161C #B31F28 #DC343D
Accessibility & contrast
On white
10.32
#7F161C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F161C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F161C
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F161C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F161C | 1.00 | 10.32 | 2.03 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37321B
Deuteranopia (green-blind)
#514818
Tritanopia (blue-blind)
#8C001A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f161c; /* rgb */ color: rgb(127, 22, 28); /* oklch */ color: oklch(39.0% 0.139 24.1);
Tailwind
colors: {
custom: {
50: '#ac5f58',
500: '#7f161c',
950: '#000000',
},
}SCSS
$custom: #7f161c; $custom-light: #ac5f58; $custom-dark: #000000;
JSON
{
"hex": "#7f161c",
"rgb": {
"r": 127,
"g": 22,
"b": 28
},
"hsl": {
"h": 356.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.38951,
"c": 0.13904,
"h": 24.1
},
"luminance": 0.0517
}Semantic roles & 50–950 ramp
primary
#7F161C
secondary
#3DB4AD
accent
#EDE33B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978