#A6787F#A6787F
#A6787F is a light, muted red. Relative luminance 0.231; OKLCH L 62.1% C 0.058 H 8.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A6787F |
|---|---|
| RGB | rgb(166, 120, 127) |
| HSL | hsl(351, 21%, 56%) |
| HSV | hsv(351, 28%, 65%) |
| CMYK | cmyk(0%, 27.7%, 23.5%, 34.9%) |
| CIE-LAB | lab(55.15, 19.04, 3.31) |
| CIE-LCH | lch(55.15, 19.32, 9.86°) |
| OKLab | oklab(62.06% 0.0577 0.0089) |
| OKLCH | oklch(62.06% 0.058 8.8) |
| XYZ | xyz(26.2735, 23.0736, 23.1443) |
| Luminance | 0.2307 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 4.33
Reddish Grey
#997570
ΔE00 6.34
Dusty Rose
#C0737A
ΔE00 6.83
Old Pink
#C77986
ΔE00 7.55
Dusky Rose
#BA6873
ΔE00 7.56
Old Rose
#C87F89
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6787F #78A69F
analogous
#A67896 #A6787F #A68878
triadic
#A6787F #7FA678 #787FA6
tetradic
#A6787F #96A678 #78A69F #8878A6
square
#A6787F #96A678 #78A69F #8878A6
split-complementary
#A6787F #78A688 #7896A6
monochromatic
#634146 #875960 #A6787F #BE9DA2 #D7C2C5
Accessibility & contrast
On white
3.74
#A6787F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#A6787F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A6787F
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6787F | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7F7F
Deuteranopia (green-blind)
#8A877E
Tritanopia (blue-blind)
#AF747A
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a6787f; /* rgb */ color: rgb(166, 120, 127); /* oklch */ color: oklch(62.1% 0.058 8.8);
Tailwind
colors: {
custom: {
50: '#c19fa4',
500: '#a6787f',
950: '#000000',
},
}SCSS
$custom: #a6787f; $custom-light: #c19fa4; $custom-dark: #000000;
JSON
{
"hex": "#a6787f",
"rgb": {
"r": 166,
"g": 120,
"b": 127
},
"hsl": {
"h": 350.87,
"s": 20.536,
"l": 56.078
},
"oklch": {
"l": 0.62063,
"c": 0.05834,
"h": 8.8
},
"luminance": 0.23072
}Semantic roles & 50–950 ramp
primary
#A6787F
secondary
#B3C6C4
accent
#BDB16B
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E0F
muted
#817E7F