#7F1928#7F1928
#7F1928 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.136 H 18.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1928 |
|---|---|
| RGB | rgb(127, 25, 40) |
| HSL | hsl(351, 67%, 30%) |
| HSV | hsv(351, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 68.5%, 50.2%) |
| CIE-LAB | lab(27.74, 43.37, 18.25) |
| CIE-LCH | lch(27.74, 47.05, 22.82°) |
| OKLab | oklab(39.4% 0.1287 0.0433) |
| OKLCH | oklch(39.4% 0.136 18.6) |
| XYZ | xyz(9.4841, 5.3619, 2.5426) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.42
Wine Red
#7B0323
ΔE00 2.54
Bordeaux
#7B002C
ΔE00 5.03
Red Wine
#8C0034
ΔE00 5.46
Claret
#680018
ΔE00 5.55
Wine
#722F37
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1928 #197F70
analogous
#7F195B #7F1928 #7F3D19
triadic
#7F1928 #287F19 #19287F
tetradic
#7F1928 #5B7F19 #197F70 #3D197F
square
#7F1928 #5B7F19 #197F70 #3D197F
split-complementary
#7F1928 #197F3D #195B7F
monochromatic
#1A0508 #4C0F18 #7F1928 #B22338 #D83A51
Accessibility & contrast
On white
10.14
#7F1928 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1928 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1928
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1928 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1928 | 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)
#373428
Deuteranopia (green-blind)
#514925
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1928; /* rgb */ color: rgb(127, 25, 40); /* oklch */ color: oklch(39.4% 0.136 18.6);
Tailwind
colors: {
custom: {
50: '#ab6061',
500: '#7f1928',
950: '#000000',
},
}SCSS
$custom: #7f1928; $custom-light: #ab6061; $custom-dark: #000000;
JSON
{
"hex": "#7f1928",
"rgb": {
"r": 127,
"g": 25,
"b": 40
},
"hsl": {
"h": 351.176,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.39401,
"c": 0.13575,
"h": 18.6
},
"luminance": 0.0536
}Semantic roles & 50–950 ramp
primary
#7F1928
secondary
#41B3A2
accent
#EAD13E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79