#7F1827#7F1827
#7F1827 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.137 H 18.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1827 |
|---|---|
| RGB | rgb(127, 24, 39) |
| HSL | hsl(351, 68%, 30%) |
| HSV | hsv(351, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 69.3%, 50.2%) |
| CIE-LAB | lab(27.61, 43.63, 18.75) |
| CIE-LCH | lch(27.61, 47.49, 23.25°) |
| OKLab | oklab(39.3% 0.1293 0.0442) |
| OKLCH | oklch(39.3% 0.137 18.9) |
| XYZ | xyz(9.4463, 5.3132, 2.4472) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.22
Wine Red
#7B0323
ΔE00 2.51
Bordeaux
#7B002C
ΔE00 5.18
Claret
#680018
ΔE00 5.45
Red Wine
#8C0034
ΔE00 5.63
Wine
#722F37
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1827 #187F70
analogous
#7F185B #7F1827 #7F3D18
triadic
#7F1827 #277F18 #18277F
tetradic
#7F1827 #5B7F18 #187F70 #3D187F
square
#7F1827 #5B7F18 #187F70 #3D187F
split-complementary
#7F1827 #187F3D #185B7F
monochromatic
#1A0508 #4C0E17 #7F1827 #B22237 #D93850
Accessibility & contrast
On white
10.18
#7F1827 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F1827 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1827
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1827 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373327
Deuteranopia (green-blind)
#504924
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1827; /* rgb */ color: rgb(127, 24, 39); /* oklch */ color: oklch(39.3% 0.137 18.9);
Tailwind
colors: {
custom: {
50: '#ab6060',
500: '#7f1827',
950: '#000000',
},
}SCSS
$custom: #7f1827; $custom-light: #ab6060; $custom-dark: #000000;
JSON
{
"hex": "#7f1827",
"rgb": {
"r": 127,
"g": 24,
"b": 39
},
"hsl": {
"h": 351.262,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39297,
"c": 0.13665,
"h": 18.9
},
"luminance": 0.05312
}Semantic roles & 50–950 ramp
primary
#7F1827
secondary
#3FB3A2
accent
#EBD23D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979