#A6787C#A6787C
#A6787C is a mid, muted red. Relative luminance 0.230; OKLCH L 62.0% C 0.058 H 13.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A6787C |
|---|---|
| RGB | rgb(166, 120, 124) |
| HSL | hsl(355, 21%, 56%) |
| HSV | hsv(355, 28%, 65%) |
| CMYK | cmyk(0%, 27.7%, 25.3%, 34.9%) |
| CIE-LAB | lab(55.07, 18.58, 4.94) |
| CIE-LCH | lch(55.07, 19.23, 14.90°) |
| OKLab | oklab(61.98% 0.0565 0.0131) |
| OKLCH | oklch(61.98% 0.058 13.1) |
| XYZ | xyz(26.0809, 22.9965, 22.1299) |
| Luminance | 0.2299 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 5.15
Reddish Grey
#997570
ΔE00 5.41
Dusty Rose
#C0737A
ΔE00 6.67
Brownish Pink
#C27E79
ΔE00 7.49
Dusky Rose
#BA6873
ΔE00 7.54
Rosybrown
#BC8F8F
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6787C #78A6A2
analogous
#A67893 #A6787C #A68B78
triadic
#A6787C #7CA678 #787CA6
tetradic
#A6787C #93A678 #78A6A2 #8B78A6
square
#A6787C #93A678 #78A6A2 #8B78A6
split-complementary
#A6787C #78A68B #7893A6
monochromatic
#634144 #87595D #A6787C #BE9DA0 #D7C2C4
Accessibility & contrast
On white
3.75
#A6787C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#A6787C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A6787C
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6787C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6787C | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807F7C
Deuteranopia (green-blind)
#8A877B
Tritanopia (blue-blind)
#AF747A
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a6787c; /* rgb */ color: rgb(166, 120, 124); /* oklch */ color: oklch(62.0% 0.058 13.1);
Tailwind
colors: {
custom: {
50: '#c19fa1',
500: '#a6787c',
950: '#000000',
},
}SCSS
$custom: #a6787c; $custom-light: #c19fa1; $custom-dark: #000000;
JSON
{
"hex": "#a6787c",
"rgb": {
"r": 166,
"g": 120,
"b": 124
},
"hsl": {
"h": 354.783,
"s": 20.536,
"l": 56.078
},
"oklch": {
"l": 0.61976,
"c": 0.05796,
"h": 13.1
},
"luminance": 0.22995
}Semantic roles & 50–950 ramp
primary
#A6787C
secondary
#B3C6C5
accent
#BDB66B
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#120E0F
muted
#817E7E