#7F271A#7F271A
#7F271A is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.124 H 31.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F271A |
|---|---|
| RGB | rgb(127, 39, 26) |
| HSL | hsl(8, 66%, 30%) |
| HSV | hsv(8, 80%, 50%) |
| CMYK | cmyk(0%, 69.3%, 79.5%, 50.2%) |
| CIE-LAB | lab(29.51, 37.21, 29.14) |
| CIE-LCH | lch(29.51, 47.26, 38.06°) |
| OKLab | oklab(40.66% 0.106 0.0643) |
| OKLCH | oklch(40.66% 0.124 31.2) |
| XYZ | xyz(9.6655, 6.0391, 1.6338) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.09
Indian Red
#850E04
ΔE00 4.30
Crimson (survey)
#8C000F
ΔE00 4.95
Dark Red
#840000
ΔE00 5.06
Maroon
#800000
ΔE00 5.06
Reddy Brown
#6E1005
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F271A #1A727F
analogous
#7F1A3F #7F271A #7F5A1A
triadic
#7F271A #1A7F27 #271A7F
tetradic
#7F271A #3F7F1A #1A727F #5A1A7F
square
#7F271A #3F7F1A #1A727F #5A1A7F
split-complementary
#7F271A #1A7F5A #1A3F7F
monochromatic
#190805 #4C1710 #7F271A #B23724 #D7503C
Accessibility & contrast
On white
9.51
#7F271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F271A
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F271A | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403918
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#8C0C25
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f271a; /* rgb */ color: rgb(127, 39, 26); /* oklch */ color: oklch(40.7% 0.124 31.2);
Tailwind
colors: {
custom: {
50: '#ab6657',
500: '#7f271a',
950: '#000000',
},
}SCSS
$custom: #7f271a; $custom-light: #ab6657; $custom-dark: #000000;
JSON
{
"hex": "#7f271a",
"rgb": {
"r": 127,
"g": 39,
"b": 26
},
"hsl": {
"h": 7.723,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.40655,
"c": 0.12399,
"h": 31.2
},
"luminance": 0.06038
}Semantic roles & 50–950 ramp
primary
#7F271A
secondary
#42A4B3
accent
#D3E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78