#7F291B#7F291B
#7F291B is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.9% C 0.122 H 31.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7F291B |
|---|---|
| RGB | rgb(127, 41, 27) |
| HSL | hsl(8, 65%, 30%) |
| HSV | hsv(8, 79%, 50%) |
| CMYK | cmyk(0%, 67.7%, 78.7%, 50.2%) |
| CIE-LAB | lab(29.86, 36.35, 28.92) |
| CIE-LCH | lch(29.86, 46.45, 38.51°) |
| OKLab | oklab(40.92% 0.1035 0.0641) |
| OKLCH | oklch(40.92% 0.122 31.8) |
| XYZ | xyz(9.7442, 6.1784, 1.7162) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.86
Indian Red
#850E04
ΔE00 4.59
Reddish Brown
#7F2B0A
ΔE00 5.18
Crimson (survey)
#8C000F
ΔE00 5.34
Dark Red
#840000
ΔE00 5.40
Maroon
#800000
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F291B #1B717F
analogous
#7F1B3F #7F291B #7F5B1B
triadic
#7F291B #1B7F29 #291B7F
tetradic
#7F291B #3F7F1B #1B717F #5B1B7F
square
#7F291B #3F7F1B #1B717F #5B1B7F
split-complementary
#7F291B #1B7F5B #1B3F7F
monochromatic
#1A0806 #4D1910 #7F291B #B13926 #D6543E
Accessibility & contrast
On white
9.39
#7F291B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7F291B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F291B
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F291B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F291B | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#8C1126
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f291b; /* rgb */ color: rgb(127, 41, 27); /* oklch */ color: oklch(40.9% 0.122 31.8);
Tailwind
colors: {
custom: {
50: '#ab6758',
500: '#7f291b',
950: '#000000',
},
}SCSS
$custom: #7f291b; $custom-light: #ab6758; $custom-dark: #000000;
JSON
{
"hex": "#7f291b",
"rgb": {
"r": 127,
"g": 41,
"b": 27
},
"hsl": {
"h": 8.4,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.4092,
"c": 0.12179,
"h": 31.8
},
"luminance": 0.06177
}Semantic roles & 50–950 ramp
primary
#7F291B
secondary
#43A3B3
accent
#D0E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78