#7F211F#7F211F
#7F211F is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.129 H 26.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7F211F |
|---|---|
| RGB | rgb(127, 33, 31) |
| HSL | hsl(1, 61%, 31%) |
| HSV | hsv(1, 76%, 50%) |
| CMYK | cmyk(0%, 74%, 75.6%, 50.2%) |
| CIE-LAB | lab(28.64, 39.98, 25.15) |
| CIE-LCH | lch(28.64, 47.23, 32.18°) |
| OKLab | oklab(40.03% 0.1158 0.057) |
| OKLCH | oklch(40.03% 0.129 26.2) |
| XYZ | xyz(9.5447, 5.7001, 1.8937) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.56
Burgundy
#800020
ΔE00 5.42
Blood
#770001
ΔE00 5.74
Reddy Brown
#6E1005
ΔE00 5.86
Indian Red
#850E04
ΔE00 5.88
Maroon
#800000
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F211F #1F7D7F
analogous
#7F1F4D #7F211F #7F511F
triadic
#7F211F #1F7F21 #211F7F
tetradic
#7F211F #4D7F1F #1F7D7F #511F7F
square
#7F211F #4D7F1F #1F7D7F #511F7F
split-complementary
#7F211F #1F7F51 #1F4D7F
monochromatic
#1D0707 #4E1413 #7F211F #B02E2B #D24946
Accessibility & contrast
On white
9.81
#7F211F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F211F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F211F
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F211F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F211F | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C371E
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f211f; /* rgb */ color: rgb(127, 33, 31); /* oklch */ color: oklch(40.0% 0.129 26.2);
Tailwind
colors: {
custom: {
50: '#ab635b',
500: '#7f211f',
950: '#000000',
},
}SCSS
$custom: #7f211f; $custom-light: #ab635b; $custom-dark: #000000;
JSON
{
"hex": "#7f211f",
"rgb": {
"r": 127,
"g": 33,
"b": 31
},
"hsl": {
"h": 1.25,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.40025,
"c": 0.12905,
"h": 26.2
},
"luminance": 0.05699
}Semantic roles & 50–950 ramp
primary
#7F211F
secondary
#48B0B2
accent
#E1E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79