#7F1F22#7F1F22
#7F1F22 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.131 H 23.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F22 |
|---|---|
| RGB | rgb(127, 31, 34) |
| HSL | hsl(358, 61%, 31%) |
| HSV | hsv(358, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 73.2%, 50.2%) |
| CIE-LAB | lab(28.40, 40.91, 22.98) |
| CIE-LCH | lch(28.40, 46.92, 29.32°) |
| OKLab | oklab(39.86% 0.1194 0.0528) |
| OKLCH | oklch(39.86% 0.131 23.9) |
| XYZ | xyz(9.5322, 5.6089, 2.0938) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.12
Wine Red
#7B0323
ΔE00 5.22
Crimson (survey)
#8C000F
ΔE00 5.34
Blood
#770001
ΔE00 6.64
Claret
#680018
ΔE00 6.67
Carmine
#9D0216
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F22 #1F7F7C
analogous
#7F1F52 #7F1F22 #7F4C1F
triadic
#7F1F22 #227F1F #1F227F
tetradic
#7F1F22 #527F1F #1F7F7C #4C1F7F
square
#7F1F22 #527F1F #1F7F7C #4C1F7F
split-complementary
#7F1F22 #1F7F4C #1F527F
monochromatic
#1D0708 #4E1315 #7F1F22 #B02B2F #D2464B
Accessibility & contrast
On white
9.90
#7F1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F1F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F22
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F22 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3621
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1f22; /* rgb */ color: rgb(127, 31, 34); /* oklch */ color: oklch(39.9% 0.131 23.9);
Tailwind
colors: {
custom: {
50: '#ab635d',
500: '#7f1f22',
950: '#000000',
},
}SCSS
$custom: #7f1f22; $custom-light: #ab635d; $custom-dark: #000000;
JSON
{
"hex": "#7f1f22",
"rgb": {
"r": 127,
"g": 31,
"b": 34
},
"hsl": {
"h": 358.125,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.39861,
"c": 0.1306,
"h": 23.9
},
"luminance": 0.05607
}Semantic roles & 50–950 ramp
primary
#7F1F22
secondary
#48B2AF
accent
#E4DF44
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79