#7F291F#7F291F
#7F291F is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.121 H 29.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7F291F |
|---|---|
| RGB | rgb(127, 41, 31) |
| HSL | hsl(6, 61%, 31%) |
| HSV | hsv(6, 76%, 50%) |
| CMYK | cmyk(0%, 67.7%, 75.6%, 50.2%) |
| CIE-LAB | lab(29.91, 36.53, 26.59) |
| CIE-LCH | lch(29.91, 45.18, 36.04°) |
| OKLab | oklab(40.97% 0.105 0.0601) |
| OKLCH | oklch(40.97% 0.121 29.8) |
| XYZ | xyz(9.7937, 6.1982, 1.9767) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.96
Crimson (survey)
#8C000F
ΔE00 5.26
Indian Red
#850E04
ΔE00 5.34
Reddy Brown
#6E1005
ΔE00 5.86
Maroon
#800000
ΔE00 5.93
Dark Red
#840000
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F291F #1F757F
analogous
#7F1F45 #7F291F #7F591F
triadic
#7F291F #1F7F29 #291F7F
tetradic
#7F291F #457F1F #1F757F #591F7F
square
#7F291F #457F1F #1F757F #591F7F
split-complementary
#7F291F #1F7F59 #1F457F
monochromatic
#1D0907 #4E1913 #7F291F #B0392B #D25546
Accessibility & contrast
On white
9.38
#7F291F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7F291F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F291F
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F291F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F291F | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413B1D
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#8C1227
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f291f; /* rgb */ color: rgb(127, 41, 31); /* oklch */ color: oklch(41.0% 0.121 29.8);
Tailwind
colors: {
custom: {
50: '#ab685b',
500: '#7f291f',
950: '#000000',
},
}SCSS
$custom: #7f291f; $custom-light: #ab685b; $custom-dark: #000000;
JSON
{
"hex": "#7f291f",
"rgb": {
"r": 127,
"g": 41,
"b": 31
},
"hsl": {
"h": 6.25,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.40972,
"c": 0.12094,
"h": 29.8
},
"luminance": 0.06197
}Semantic roles & 50–950 ramp
primary
#7F291F
secondary
#48A7B2
accent
#D3E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79