#7F342D#7F342D
#7F342D is a dark, moderate red. Relative luminance 0.072; OKLCH L 42.7% C 0.106 H 27.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7F342D |
|---|---|
| RGB | rgb(127, 52, 45) |
| HSL | hsl(5, 48%, 34%) |
| HSV | hsv(5, 65%, 50%) |
| CMYK | cmyk(0%, 59.1%, 64.6%, 50.2%) |
| CIE-LAB | lab(32.17, 31.96, 20.60) |
| CIE-LCH | lch(32.17, 38.02, 32.81°) |
| OKLab | oklab(42.74% 0.0936 0.0492) |
| OKLCH | oklch(42.74% 0.106 27.7) |
| XYZ | xyz(10.4550, 7.1588, 3.3133) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 7.02
Wine
#722F37
ΔE00 7.07
Brown
#A52A2A
ΔE00 7.80
Brownish Red
#9E3623
ΔE00 7.93
Crimson (survey)
#8C000F
ΔE00 8.08
Brick
#A03623
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F342D #2D787F
analogous
#7F2D4F #7F342D #7F5D2D
triadic
#7F342D #2D7F34 #342D7F
tetradic
#7F342D #4F7F2D #2D787F #5D2D7F
square
#7F342D #4F7F2D #2D787F #5D2D7F
split-complementary
#7F342D #2D7F5D #2D4F7F
monochromatic
#250F0D #52211D #7F342D #AC473D #C76960
Accessibility & contrast
On white
8.64
#7F342D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#7F342D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F342D
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F342D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F342D | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47422C
Deuteranopia (green-blind)
#5A522B
Tritanopia (blue-blind)
#8B2633
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #7f342d; /* rgb */ color: rgb(127, 52, 45); /* oklch */ color: oklch(42.7% 0.106 27.7);
Tailwind
colors: {
custom: {
50: '#a96e66',
500: '#7f342d',
950: '#000000',
},
}SCSS
$custom: #7f342d; $custom-light: #a96e66; $custom-dark: #000000;
JSON
{
"hex": "#7f342d",
"rgb": {
"r": 127,
"g": 52,
"b": 45
},
"hsl": {
"h": 5.122,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.42742,
"c": 0.10571,
"h": 27.7
},
"luminance": 0.07157
}Semantic roles & 50–950 ramp
primary
#7F342D
secondary
#5BA6AD
accent
#CCD751
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#110705
muted
#807A7A