#A6787A#A6787A
#A6787A is a mid, muted red. Relative luminance 0.229; OKLCH L 61.9% C 0.058 H 16.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A6787A |
|---|---|
| RGB | rgb(166, 120, 122) |
| HSL | hsl(357, 21%, 56%) |
| HSV | hsv(357, 28%, 65%) |
| CMYK | cmyk(0%, 27.7%, 26.5%, 34.9%) |
| CIE-LAB | lab(55.02, 18.28, 6.03) |
| CIE-LCH | lch(55.02, 19.25, 18.26°) |
| OKLab | oklab(61.92% 0.0556 0.0159) |
| OKLCH | oklch(61.92% 0.058 16) |
| XYZ | xyz(25.9557, 22.9465, 21.4705) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Grey
#997570
ΔE00 4.84
Mauve (survey)
#AE7181
ΔE00 5.80
Dusty Rose
#C0737A
ΔE00 6.71
Brownish Pink
#C27E79
ΔE00 7.09
Dusky Rose
#BA6873
ΔE00 7.66
Rosybrown
#BC8F8F
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6787A #78A6A4
analogous
#A67891 #A6787A #A68D78
triadic
#A6787A #7AA678 #787AA6
tetradic
#A6787A #91A678 #78A6A4 #8D78A6
square
#A6787A #91A678 #78A6A4 #8D78A6
split-complementary
#A6787A #78A68D #7891A6
monochromatic
#634142 #87595B #A6787A #BE9D9E #D7C2C3
Accessibility & contrast
On white
3.76
#A6787A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#A6787A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A6787A
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6787A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6787A | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 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)
#807F7A
Deuteranopia (green-blind)
#8B8779
Tritanopia (blue-blind)
#AF7479
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a6787a; /* rgb */ color: rgb(166, 120, 122); /* oklch */ color: oklch(61.9% 0.058 16.0);
Tailwind
colors: {
custom: {
50: '#c19fa0',
500: '#a6787a',
950: '#000000',
},
}SCSS
$custom: #a6787a; $custom-light: #c19fa0; $custom-dark: #000000;
JSON
{
"hex": "#a6787a",
"rgb": {
"r": 166,
"g": 120,
"b": 122
},
"hsl": {
"h": 357.391,
"s": 20.536,
"l": 56.078
},
"oklch": {
"l": 0.61919,
"c": 0.05788,
"h": 16
},
"luminance": 0.22945
}Semantic roles & 50–950 ramp
primary
#A6787A
secondary
#B3C6C6
accent
#BDBA6B
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#120E0E
muted
#817E7E