#7F2A1E#7F2A1E
#7F2A1E is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.1% C 0.120 H 30.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2A1E |
|---|---|
| RGB | rgb(127, 42, 30) |
| HSL | hsl(7, 62%, 31%) |
| HSV | hsv(7, 76%, 50%) |
| CMYK | cmyk(0%, 66.9%, 76.4%, 50.2%) |
| CIE-LAB | lab(30.07, 36.02, 27.37) |
| CIE-LCH | lch(30.07, 45.24, 37.23°) |
| OKLab | oklab(41.09% 0.1032 0.0615) |
| OKLCH | oklch(41.09% 0.12 30.8) |
| XYZ | xyz(9.8158, 6.2631, 1.9201) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.42
Indian Red
#850E04
ΔE00 5.15
Crimson (survey)
#8C000F
ΔE00 5.44
Reddy Brown
#6E1005
ΔE00 5.83
Maroon
#800000
ΔE00 5.87
Dark Red
#840000
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2A1E #1E737F
analogous
#7F1E42 #7F2A1E #7F5A1E
triadic
#7F2A1E #1E7F2A #2A1E7F
tetradic
#7F2A1E #427F1E #1E737F #5A1E7F
square
#7F2A1E #427F1E #1E737F #5A1E7F
split-complementary
#7F2A1E #1E7F5A #1E427F
monochromatic
#1C0907 #4D1A12 #7F2A1E #B13A2A #D35644
Accessibility & contrast
On white
9.32
#7F2A1E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7F2A1E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2A1E
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2A1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2A1E | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423B1C
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#8C1428
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2a1e; /* rgb */ color: rgb(127, 42, 30); /* oklch */ color: oklch(41.1% 0.120 30.8);
Tailwind
colors: {
custom: {
50: '#ab685a',
500: '#7f2a1e',
950: '#000000',
},
}SCSS
$custom: #7f2a1e; $custom-light: #ab685a; $custom-dark: #000000;
JSON
{
"hex": "#7f2a1e",
"rgb": {
"r": 127,
"g": 42,
"b": 30
},
"hsl": {
"h": 7.423,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.41088,
"c": 0.12012,
"h": 30.8
},
"luminance": 0.06262
}Semantic roles & 50–950 ramp
primary
#7F2A1E
secondary
#47A5B2
accent
#D1E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79