#7F1F28#7F1F28
#7F1F28 is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.0% C 0.130 H 20.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F28 |
|---|---|
| RGB | rgb(127, 31, 40) |
| HSL | hsl(354, 61%, 31%) |
| HSV | hsv(354, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 68.5%, 50.2%) |
| CIE-LAB | lab(28.50, 41.24, 19.21) |
| CIE-LCH | lch(28.50, 45.50, 24.97°) |
| OKLab | oklab(39.97% 0.1219 0.0454) |
| OKLCH | oklch(39.97% 0.13 20.4) |
| XYZ | xyz(9.6264, 5.6466, 2.5901) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.23
Wine Red
#7B0323
ΔE00 3.73
Wine
#722F37
ΔE00 5.88
Claret
#680018
ΔE00 6.14
Bordeaux
#7B002C
ΔE00 6.29
Red Wine
#8C0034
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F28 #1F7F76
analogous
#7F1F58 #7F1F28 #7F461F
triadic
#7F1F28 #287F1F #1F287F
tetradic
#7F1F28 #587F1F #1F7F76 #461F7F
square
#7F1F28 #587F1F #1F7F76 #461F7F
split-complementary
#7F1F28 #1F7F46 #1F587F
monochromatic
#1D0709 #4E1319 #7F1F28 #B02B37 #D24654
Accessibility & contrast
On white
9.86
#7F1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F1F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F28
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F28 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3628
Deuteranopia (green-blind)
#524B25
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1f28; /* rgb */ color: rgb(127, 31, 40); /* oklch */ color: oklch(40.0% 0.130 20.4);
Tailwind
colors: {
custom: {
50: '#ab6361',
500: '#7f1f28',
950: '#000000',
},
}SCSS
$custom: #7f1f28; $custom-light: #ab6361; $custom-dark: #000000;
JSON
{
"hex": "#7f1f28",
"rgb": {
"r": 127,
"g": 31,
"b": 40
},
"hsl": {
"h": 354.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.39966,
"c": 0.13006,
"h": 20.4
},
"luminance": 0.05645
}Semantic roles & 50–950 ramp
primary
#7F1F28
secondary
#48B2A8
accent
#E4D544
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79