#7F291A#7F291A
#7F291A is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.9% C 0.122 H 32.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7F291A |
|---|---|
| RGB | rgb(127, 41, 26) |
| HSL | hsl(9, 66%, 30%) |
| HSV | hsv(9, 80%, 50%) |
| CMYK | cmyk(0%, 67.7%, 79.5%, 50.2%) |
| CIE-LAB | lab(29.85, 36.31, 29.49) |
| CIE-LCH | lch(29.85, 46.77, 39.09°) |
| OKLab | oklab(40.91% 0.1032 0.0651) |
| OKLCH | oklch(40.91% 0.122 32.2) |
| XYZ | xyz(9.7329, 6.1739, 1.6563) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.63
Indian Red
#850E04
ΔE00 4.46
Reddish Brown
#7F2B0A
ΔE00 4.85
Brick Red
#8F1402
ΔE00 5.25
Dark Red
#840000
ΔE00 5.31
Maroon
#800000
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F291A #1A707F
analogous
#7F1A3D #7F291A #7F5C1A
triadic
#7F291A #1A7F29 #291A7F
tetradic
#7F291A #3D7F1A #1A707F #5C1A7F
square
#7F291A #3D7F1A #1A707F #5C1A7F
split-complementary
#7F291A #1A7F5C #1A3D7F
monochromatic
#190805 #4C1910 #7F291A #B23924 #D7533C
Accessibility & contrast
On white
9.40
#7F291A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7F291A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F291A
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F291A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F291A | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#8C1126
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f291a; /* rgb */ color: rgb(127, 41, 26); /* oklch */ color: oklch(40.9% 0.122 32.2);
Tailwind
colors: {
custom: {
50: '#ab6757',
500: '#7f291a',
950: '#000000',
},
}SCSS
$custom: #7f291a; $custom-light: #ab6757; $custom-dark: #000000;
JSON
{
"hex": "#7f291a",
"rgb": {
"r": 127,
"g": 41,
"b": 26
},
"hsl": {
"h": 8.911,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.40908,
"c": 0.122,
"h": 32.2
},
"luminance": 0.06172
}Semantic roles & 50–950 ramp
primary
#7F291A
secondary
#42A2B3
accent
#D0E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78