#7F181F#7F181F
#7F181F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 23.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7F181F |
|---|---|
| RGB | rgb(127, 24, 31) |
| HSL | hsl(356, 68%, 30%) |
| HSV | hsv(356, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 75.6%, 50.2%) |
| CIE-LAB | lab(27.48, 43.22, 23.81) |
| CIE-LCH | lch(27.48, 49.35, 28.86°) |
| OKLab | oklab(39.16% 0.1261 0.054) |
| OKLCH | oklch(39.16% 0.137 23.2) |
| XYZ | xyz(9.3274, 5.2657, 1.8213) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.34
Wine Red
#7B0323
ΔE00 4.63
Crimson (survey)
#8C000F
ΔE00 4.97
Claret
#680018
ΔE00 6.04
Rosewood
#65000B
ΔE00 6.11
Blood
#770001
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F181F #187F78
analogous
#7F1853 #7F181F #7F4418
triadic
#7F181F #1F7F18 #181F7F
tetradic
#7F181F #537F18 #187F78 #44187F
square
#7F181F #537F18 #187F78 #44187F
split-complementary
#7F181F #187F44 #18537F
monochromatic
#1A0506 #4C0E12 #7F181F #B2222C #D93843
Accessibility & contrast
On white
10.23
#7F181F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F181F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F181F
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F181F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F181F | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38331E
Deuteranopia (green-blind)
#51491B
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f181f; /* rgb */ color: rgb(127, 24, 31); /* oklch */ color: oklch(39.2% 0.137 23.2);
Tailwind
colors: {
custom: {
50: '#ac605a',
500: '#7f181f',
950: '#000000',
},
}SCSS
$custom: #7f181f; $custom-light: #ac605a; $custom-dark: #000000;
JSON
{
"hex": "#7f181f",
"rgb": {
"r": 127,
"g": 24,
"b": 31
},
"hsl": {
"h": 355.922,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39159,
"c": 0.13716,
"h": 23.2
},
"luminance": 0.05264
}Semantic roles & 50–950 ramp
primary
#7F181F
secondary
#3FB3AB
accent
#EBDF3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979