#7F271E#7F271E
#7F271E is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.123 H 29.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7F271E |
|---|---|
| RGB | rgb(127, 39, 30) |
| HSL | hsl(6, 62%, 31%) |
| HSV | hsv(6, 76%, 50%) |
| CMYK | cmyk(0%, 69.3%, 76.4%, 50.2%) |
| CIE-LAB | lab(29.56, 37.39, 26.80) |
| CIE-LCH | lch(29.56, 46.01, 35.63°) |
| OKLab | oklab(40.71% 0.1074 0.0603) |
| OKLCH | oklch(40.71% 0.123 29.3) |
| XYZ | xyz(9.7133, 6.0582, 1.8859) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.91
Indian Red
#850E04
ΔE00 5.13
Red Brown
#8B2E16
ΔE00 5.18
Reddy Brown
#6E1005
ΔE00 5.61
Maroon
#800000
ΔE00 5.64
Dark Red
#840000
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F271E #1E767F
analogous
#7F1E45 #7F271E #7F571E
triadic
#7F271E #1E7F27 #271E7F
tetradic
#7F271E #457F1E #1E767F #571E7F
square
#7F271E #457F1E #1E767F #571E7F
split-complementary
#7F271E #1E7F57 #1E457F
monochromatic
#1C0907 #4D1812 #7F271E #B1362A #D35244
Accessibility & contrast
On white
9.50
#7F271E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F271E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F271E
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F271E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F271E | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40391C
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#8C0D26
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f271e; /* rgb */ color: rgb(127, 39, 30); /* oklch */ color: oklch(40.7% 0.123 29.3);
Tailwind
colors: {
custom: {
50: '#ab665a',
500: '#7f271e',
950: '#000000',
},
}SCSS
$custom: #7f271e; $custom-light: #ab665a; $custom-dark: #000000;
JSON
{
"hex": "#7f271e",
"rgb": {
"r": 127,
"g": 39,
"b": 30
},
"hsl": {
"h": 5.567,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.40706,
"c": 0.1232,
"h": 29.3
},
"luminance": 0.06057
}Semantic roles & 50–950 ramp
primary
#7F271E
secondary
#47A8B2
accent
#D6E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79