#7F1F20#7F1F20
#7F1F20 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.131 H 24.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F20 |
|---|---|
| RGB | rgb(127, 31, 32) |
| HSL | hsl(359, 61%, 31%) |
| HSV | hsv(359, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 74.8%, 50.2%) |
| CIE-LAB | lab(28.37, 40.81, 24.21) |
| CIE-LCH | lch(28.37, 47.45, 30.68°) |
| OKLab | oklab(39.83% 0.1187 0.0551) |
| OKLCH | oklch(39.83% 0.131 24.9) |
| XYZ | xyz(9.5042, 5.5977, 1.9462) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.63
Crimson (survey)
#8C000F
ΔE00 4.81
Wine Red
#7B0323
ΔE00 5.82
Blood
#770001
ΔE00 6.06
Reddy Brown
#6E1005
ΔE00 6.25
Maroon
#800000
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F20 #1F7F7E
analogous
#7F1F50 #7F1F20 #7F4E1F
triadic
#7F1F20 #207F1F #1F207F
tetradic
#7F1F20 #507F1F #1F7F7E #4E1F7F
square
#7F1F20 #507F1F #1F7F7E #4E1F7F
split-complementary
#7F1F20 #1F7F4E #1F507F
monochromatic
#1D0707 #4E1314 #7F1F20 #B02B2C #D24648
Accessibility & contrast
On white
9.91
#7F1F20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F1F20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F20
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F20 | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B361F
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1f20; /* rgb */ color: rgb(127, 31, 32); /* oklch */ color: oklch(39.8% 0.131 24.9);
Tailwind
colors: {
custom: {
50: '#ab635b',
500: '#7f1f20',
950: '#000000',
},
}SCSS
$custom: #7f1f20; $custom-light: #ab635b; $custom-dark: #000000;
JSON
{
"hex": "#7f1f20",
"rgb": {
"r": 127,
"g": 31,
"b": 32
},
"hsl": {
"h": 359.375,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.39829,
"c": 0.13084,
"h": 24.9
},
"luminance": 0.05596
}Semantic roles & 50–950 ramp
primary
#7F1F20
secondary
#48B2B1
accent
#E4E244
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79