#7F1927#7F1927
#7F1927 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.136 H 19.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1927 |
|---|---|
| RGB | rgb(127, 25, 39) |
| HSL | hsl(352, 67%, 30%) |
| HSV | hsv(352, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 69.3%, 50.2%) |
| CIE-LAB | lab(27.72, 43.31, 18.89) |
| CIE-LCH | lch(27.72, 47.25, 23.56°) |
| OKLab | oklab(39.38% 0.1283 0.0446) |
| OKLCH | oklch(39.38% 0.136 19.2) |
| XYZ | xyz(9.4673, 5.3552, 2.4542) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.33
Wine Red
#7B0323
ΔE00 2.68
Bordeaux
#7B002C
ΔE00 5.36
Claret
#680018
ΔE00 5.53
Red Wine
#8C0034
ΔE00 5.79
Wine
#722F37
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1927 #197F71
analogous
#7F195A #7F1927 #7F3E19
triadic
#7F1927 #277F19 #19277F
tetradic
#7F1927 #5A7F19 #197F71 #3E197F
square
#7F1927 #5A7F19 #197F71 #3E197F
split-complementary
#7F1927 #197F3E #195A7F
monochromatic
#1A0508 #4C0F17 #7F1927 #B22337 #D83A50
Accessibility & contrast
On white
10.14
#7F1927 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1927 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1927
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1927 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1927 | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373427
Deuteranopia (green-blind)
#514924
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1927; /* rgb */ color: rgb(127, 25, 39); /* oklch */ color: oklch(39.4% 0.136 19.2);
Tailwind
colors: {
custom: {
50: '#ab6061',
500: '#7f1927',
950: '#000000',
},
}SCSS
$custom: #7f1927; $custom-light: #ab6061; $custom-dark: #000000;
JSON
{
"hex": "#7f1927",
"rgb": {
"r": 127,
"g": 25,
"b": 39
},
"hsl": {
"h": 351.765,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.39382,
"c": 0.13577,
"h": 19.2
},
"luminance": 0.05354
}Semantic roles & 50–950 ramp
primary
#7F1927
secondary
#41B3A3
accent
#EAD23E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79