#7F342A#7F342A
#7F342A is a dark, moderate red. Relative luminance 0.071; OKLCH L 42.7% C 0.106 H 29.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F342A |
|---|---|
| RGB | rgb(127, 52, 42) |
| HSL | hsl(7, 50%, 33%) |
| HSV | hsv(7, 67%, 50%) |
| CMYK | cmyk(0%, 59.1%, 66.9%, 50.2%) |
| CIE-LAB | lab(32.12, 31.75, 22.42) |
| CIE-LCH | lch(32.12, 38.87, 35.23°) |
| OKLab | oklab(42.69% 0.0923 0.0529) |
| OKLCH | oklch(42.69% 0.106 29.8) |
| XYZ | xyz(10.3993, 7.1365, 3.0199) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 5.96
Brownish Red
#9E3623
ΔE00 7.29
Brick
#A03623
ΔE00 7.65
Reddish Brown
#7F2B0A
ΔE00 7.74
Crimson (survey)
#8C000F
ΔE00 7.75
Brown
#A52A2A
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F342A #2A757F
analogous
#7F2A4A #7F342A #7F5E2A
triadic
#7F342A #2A7F34 #342A7F
tetradic
#7F342A #4A7F2A #2A757F #5E2A7F
square
#7F342A #4A7F2A #2A757F #5E2A7F
split-complementary
#7F342A #2A7F5E #2A4A7F
monochromatic
#230E0C #51211B #7F342A #AD4739 #C9685B
Accessibility & contrast
On white
8.65
#7F342A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#7F342A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F342A
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F342A | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474129
Deuteranopia (green-blind)
#5A5228
Tritanopia (blue-blind)
#8B2532
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #7f342a; /* rgb */ color: rgb(127, 52, 42); /* oklch */ color: oklch(42.7% 0.106 29.8);
Tailwind
colors: {
custom: {
50: '#a96e63',
500: '#7f342a',
950: '#000000',
},
}SCSS
$custom: #7f342a; $custom-light: #a96e63; $custom-dark: #000000;
JSON
{
"hex": "#7f342a",
"rgb": {
"r": 127,
"g": 52,
"b": 42
},
"hsl": {
"h": 7.059,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.42688,
"c": 0.1064,
"h": 29.8
},
"luminance": 0.07135
}Semantic roles & 50–950 ramp
primary
#7F342A
secondary
#57A4AE
accent
#C9DA4E
background
#FBF6F5
surface
#F6ECEA
border
#D0C7C6
text
#110705
muted
#807A79