#7F271D#7F271D
#7F271D is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.123 H 29.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7F271D |
|---|---|
| RGB | rgb(127, 39, 29) |
| HSL | hsl(6, 63%, 31%) |
| HSV | hsv(6, 77%, 50%) |
| CMYK | cmyk(0%, 69.3%, 77.2%, 50.2%) |
| CIE-LAB | lab(29.55, 37.34, 27.39) |
| CIE-LCH | lch(29.55, 46.31, 36.26°) |
| OKLab | oklab(40.69% 0.1071 0.0613) |
| OKLCH | oklch(40.69% 0.123 29.8) |
| XYZ | xyz(9.7008, 6.0532, 1.8197) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.88
Red Brown
#8B2E16
ΔE00 4.89
Indian Red
#850E04
ΔE00 4.89
Maroon
#800000
ΔE00 5.46
Reddy Brown
#6E1005
ΔE00 5.48
Dark Red
#840000
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F271D #1D757F
analogous
#7F1D44 #7F271D #7F581D
triadic
#7F271D #1D7F27 #271D7F
tetradic
#7F271D #447F1D #1D757F #581D7F
square
#7F271D #447F1D #1D757F #581D7F
split-complementary
#7F271D #1D7F58 #1D447F
monochromatic
#1B0806 #4D1812 #7F271D #B13628 #D45142
Accessibility & contrast
On white
9.50
#7F271D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F271D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F271D
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F271D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F271D | 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)
#40391B
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#8C0D25
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f271d; /* rgb */ color: rgb(127, 39, 29); /* oklch */ color: oklch(40.7% 0.123 29.8);
Tailwind
colors: {
custom: {
50: '#ab6659',
500: '#7f271d',
950: '#000000',
},
}SCSS
$custom: #7f271d; $custom-light: #ab6659; $custom-dark: #000000;
JSON
{
"hex": "#7f271d",
"rgb": {
"r": 127,
"g": 39,
"b": 29
},
"hsl": {
"h": 6.122,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.40693,
"c": 0.1234,
"h": 29.8
},
"luminance": 0.06052
}Semantic roles & 50–950 ramp
primary
#7F271D
secondary
#45A7B2
accent
#D5E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78