#7F291C#7F291C
#7F291C is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.9% C 0.122 H 31.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7F291C |
|---|---|
| RGB | rgb(127, 41, 28) |
| HSL | hsl(8, 64%, 30%) |
| HSV | hsv(8, 78%, 50%) |
| CMYK | cmyk(0%, 67.7%, 78%, 50.2%) |
| CIE-LAB | lab(29.87, 36.39, 28.34) |
| CIE-LCH | lch(29.87, 46.13, 37.91°) |
| OKLab | oklab(40.93% 0.1039 0.0631) |
| OKLCH | oklch(40.93% 0.122 31.3) |
| XYZ | xyz(9.7560, 6.1832, 1.7781) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.11
Indian Red
#850E04
ΔE00 4.74
Crimson (survey)
#8C000F
ΔE00 5.28
Dark Red
#840000
ΔE00 5.51
Reddish Brown
#7F2B0A
ΔE00 5.51
Maroon
#800000
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F291C #1C727F
analogous
#7F1C40 #7F291C #7F5A1C
triadic
#7F291C #1C7F29 #291C7F
tetradic
#7F291C #407F1C #1C727F #5A1C7F
square
#7F291C #407F1C #1C727F #5A1C7F
split-complementary
#7F291C #1C7F5A #1C407F
monochromatic
#1B0906 #4D1911 #7F291C #B13927 #D55440
Accessibility & contrast
On white
9.39
#7F291C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7F291C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F291C
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F291C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F291C | 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)
#413A1A
Deuteranopia (green-blind)
#574D19
Tritanopia (blue-blind)
#8C1127
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f291c; /* rgb */ color: rgb(127, 41, 28); /* oklch */ color: oklch(40.9% 0.122 31.3);
Tailwind
colors: {
custom: {
50: '#ab6859',
500: '#7f291c',
950: '#000000',
},
}SCSS
$custom: #7f291c; $custom-light: #ab6859; $custom-dark: #000000;
JSON
{
"hex": "#7f291c",
"rgb": {
"r": 127,
"g": 41,
"b": 28
},
"hsl": {
"h": 7.879,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.40932,
"c": 0.12157,
"h": 31.3
},
"luminance": 0.06182
}Semantic roles & 50–950 ramp
primary
#7F291C
secondary
#44A4B3
accent
#D1E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78