#9D796F#9D796F
#9D796F is a mid, muted red. Relative luminance 0.220; OKLCH L 60.8% C 0.048 H 36.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9D796F |
|---|---|
| RGB | rgb(157, 121, 111) |
| HSL | hsl(13, 19%, 53%) |
| HSV | hsv(13, 29%, 62%) |
| CMYK | cmyk(0%, 22.9%, 29.3%, 38.4%) |
| CIE-LAB | lab(54.02, 12.51, 10.88) |
| CIE-LCH | lch(54.02, 16.58, 41.01°) |
| OKLab | oklab(60.83% 0.0386 0.0281) |
| OKLCH | oklch(60.83% 0.048 36.1) |
| XYZ | xyz(23.6117, 21.9917, 18.0370) |
| Luminance | 0.2199 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Grey
#997570
ΔE00 2.70
Brownish
#9C6D57
ΔE00 6.53
Pinkish Brown
#B17261
ΔE00 7.00
Warm Grey
#978A84
ΔE00 9.60
Brownish Pink
#C27E79
ΔE00 9.62
Rosybrown
#BC8F8F
ΔE00 10.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D796F #6F939D
analogous
#9D6F7C #9D796F #9D906F
triadic
#9D796F #6F9D79 #796F9D
tetradic
#9D796F #7C9D6F #6F939D #906F9D
square
#9D796F #7C9D6F #6F939D #906F9D
split-complementary
#9D796F #6F9D90 #6F7C9D
monochromatic
#57413B #7B5C54 #9D796F #B69B93 #CFBDB8
Accessibility & contrast
On white
3.89
#9D796F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#9D796F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D796F
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D796F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D796F | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817D6E
Deuteranopia (green-blind)
#8A846F
Tritanopia (blue-blind)
#A67476
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9d796f; /* rgb */ color: rgb(157, 121, 111); /* oklch */ color: oklch(60.8% 0.048 36.1);
Tailwind
colors: {
custom: {
50: '#bb9f98',
500: '#9d796f',
950: '#000000',
},
}SCSS
$custom: #9d796f; $custom-light: #bb9f98; $custom-dark: #000000;
JSON
{
"hex": "#9d796f",
"rgb": {
"r": 157,
"g": 121,
"b": 111
},
"hsl": {
"h": 13.043,
"s": 19.008,
"l": 52.549
},
"oklch": {
"l": 0.60834,
"c": 0.04779,
"h": 36.1
},
"luminance": 0.21991
}Semantic roles & 50–950 ramp
primary
#9D796F
secondary
#AABABE
accent
#AABC6C
background
#FBF9F9
surface
#F6F2F2
border
#D0CCCC
text
#120E0D
muted
#817E7E