#7F181C#7F181C
#7F181C is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.137 H 24.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7F181C |
|---|---|
| RGB | rgb(127, 24, 28) |
| HSL | hsl(358, 68%, 30%) |
| HSV | hsv(358, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 78%, 50.2%) |
| CIE-LAB | lab(27.44, 43.09, 25.67) |
| CIE-LCH | lch(27.44, 50.16, 30.79°) |
| OKLab | oklab(39.11% 0.1249 0.0573) |
| OKLCH | oklch(39.11% 0.137 24.6) |
| XYZ | xyz(9.2897, 5.2506, 1.6227) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.13
Burgundy
#800020
ΔE00 4.23
Blood
#770001
ΔE00 5.28
Wine Red
#7B0323
ΔE00 5.61
Maroon
#800000
ΔE00 5.68
Reddy Brown
#6E1005
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F181C #187F7B
analogous
#7F1850 #7F181C #7F4818
triadic
#7F181C #1C7F18 #181C7F
tetradic
#7F181C #507F18 #187F7B #48187F
square
#7F181C #507F18 #187F7B #48187F
split-complementary
#7F181C #187F48 #18507F
monochromatic
#1A0506 #4C0E11 #7F181C #B22227 #D9383E
Accessibility & contrast
On white
10.24
#7F181C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F181C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F181C
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F181C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F181C | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38331B
Deuteranopia (green-blind)
#514918
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f181c; /* rgb */ color: rgb(127, 24, 28); /* oklch */ color: oklch(39.1% 0.137 24.6);
Tailwind
colors: {
custom: {
50: '#ac6058',
500: '#7f181c',
950: '#000000',
},
}SCSS
$custom: #7f181c; $custom-light: #ac6058; $custom-dark: #000000;
JSON
{
"hex": "#7f181c",
"rgb": {
"r": 127,
"g": 24,
"b": 28
},
"hsl": {
"h": 357.67,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39114,
"c": 0.13747,
"h": 24.6
},
"luminance": 0.05249
}Semantic roles & 50–950 ramp
primary
#7F181C
secondary
#3FB3AF
accent
#EBE43D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978