#A6787B#A6787B
#A6787B is a mid, muted red. Relative luminance 0.230; OKLCH L 61.9% C 0.058 H 14.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A6787B |
|---|---|
| RGB | rgb(166, 120, 123) |
| HSL | hsl(356, 21%, 56%) |
| HSV | hsv(356, 28%, 65%) |
| CMYK | cmyk(0%, 27.7%, 25.9%, 34.9%) |
| CIE-LAB | lab(55.04, 18.43, 5.49) |
| CIE-LCH | lch(55.04, 19.23, 16.58°) |
| OKLab | oklab(61.95% 0.0561 0.0145) |
| OKLCH | oklch(61.95% 0.058 14.5) |
| XYZ | xyz(26.0180, 22.9714, 21.7985) |
| Luminance | 0.2297 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Grey
#997570
ΔE00 5.12
Mauve (survey)
#AE7181
ΔE00 5.47
Dusty Rose
#C0737A
ΔE00 6.67
Brownish Pink
#C27E79
ΔE00 7.28
Dusky Rose
#BA6873
ΔE00 7.58
Rosybrown
#BC8F8F
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6787B #78A6A3
analogous
#A67892 #A6787B #A68C78
triadic
#A6787B #7BA678 #787BA6
tetradic
#A6787B #92A678 #78A6A3 #8C78A6
square
#A6787B #92A678 #78A6A3 #8C78A6
split-complementary
#A6787B #78A68C #7892A6
monochromatic
#634143 #87595C #A6787B #BE9D9F #D7C2C3
Accessibility & contrast
On white
3.75
#A6787B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#A6787B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A6787B
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6787B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6787B | 1.00 | 3.75 | 5.59 | 5.59 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807F7B
Deuteranopia (green-blind)
#8B877A
Tritanopia (blue-blind)
#AF7479
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a6787b; /* rgb */ color: rgb(166, 120, 123); /* oklch */ color: oklch(61.9% 0.058 14.5);
Tailwind
colors: {
custom: {
50: '#c19fa1',
500: '#a6787b',
950: '#000000',
},
}SCSS
$custom: #a6787b; $custom-light: #c19fa1; $custom-dark: #000000;
JSON
{
"hex": "#a6787b",
"rgb": {
"r": 166,
"g": 120,
"b": 123
},
"hsl": {
"h": 356.087,
"s": 20.536,
"l": 56.078
},
"oklch": {
"l": 0.61947,
"c": 0.05791,
"h": 14.5
},
"luminance": 0.2297
}Semantic roles & 50–950 ramp
primary
#A6787B
secondary
#B3C6C5
accent
#BDB86B
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#120E0E
muted
#817E7E