#8A5342#8A5342
#8A5342 is a mid, moderate red. Relative luminance 0.120; OKLCH L 50.1% C 0.079 H 37.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5342 |
|---|---|
| RGB | rgb(138, 83, 66) |
| HSL | hsl(14, 35%, 40%) |
| HSV | hsv(14, 52%, 54%) |
| CMYK | cmyk(0%, 39.9%, 52.2%, 45.9%) |
| CIE-LAB | lab(41.19, 21.01, 19.65) |
| CIE-LCH | lch(41.19, 28.77, 43.08°) |
| OKLab | oklab(50.09% 0.062 0.0484) |
| OKLCH | oklch(50.09% 0.079 37.9) |
| XYZ | xyz(14.5587, 11.9844, 6.6997) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cocoa
#875F42
ΔE00 7.67
Sienna
#A0522D
ΔE00 7.71
Brownish
#9C6D57
ΔE00 9.45
Brownish Red
#9E3623
ΔE00 9.60
Brick
#A03623
ΔE00 9.75
Earth
#A2653E
ΔE00 10.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5342 #42798A
analogous
#8A4255 #8A5342 #8A7742
triadic
#8A5342 #428A53 #53428A
tetradic
#8A5342 #558A42 #42798A #77428A
square
#8A5342 #558A42 #42798A #77428A
split-complementary
#8A5342 #428A77 #42558A
monochromatic
#37211A #613A2E #8A5342 #B06E59 #C49283
Accessibility & contrast
On white
6.18
#8A5342 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#8A5342 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5342
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5342 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5342 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615A41
Deuteranopia (green-blind)
#6E6641
Tritanopia (blue-blind)
#954A4F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8a5342; /* rgb */ color: rgb(138, 83, 66); /* oklch */ color: oklch(50.1% 0.079 37.9);
Tailwind
colors: {
custom: {
50: '#af8476',
500: '#8a5342',
950: '#000000',
},
}SCSS
$custom: #8a5342; $custom-light: #af8476; $custom-dark: #000000;
JSON
{
"hex": "#8a5342",
"rgb": {
"r": 138,
"g": 83,
"b": 66
},
"hsl": {
"h": 14.167,
"s": 35.294,
"l": 40
},
"oklch": {
"l": 0.50094,
"c": 0.07867,
"h": 37.9
},
"luminance": 0.11983
}Semantic roles & 50–950 ramp
primary
#8A5342
secondary
#79A2AE
accent
#B1CB5C
background
#FBF8F7
surface
#F6EFED
border
#D0CAC8
text
#110B08
muted
#807C7B