#A6797C#A6797C
#A6797C is a light, muted red. Relative luminance 0.232; OKLCH L 62.2% C 0.057 H 14.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A6797C |
|---|---|
| RGB | rgb(166, 121, 124) |
| HSL | hsl(356, 20%, 56%) |
| HSV | hsv(356, 27%, 65%) |
| CMYK | cmyk(0%, 27.1%, 25.3%, 34.9%) |
| CIE-LAB | lab(55.32, 18.01, 5.30) |
| CIE-LCH | lch(55.32, 18.78, 16.39°) |
| OKLab | oklab(62.17% 0.0548 0.0141) |
| OKLCH | oklch(62.17% 0.057 14.4) |
| XYZ | xyz(26.2018, 23.2383, 22.1702) |
| Luminance | 0.2324 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Grey
#997570
ΔE00 5.11
Mauve (survey)
#AE7181
ΔE00 5.65
Dusty Rose
#C0737A
ΔE00 6.87
Brownish Pink
#C27E79
ΔE00 7.32
Rosybrown
#BC8F8F
ΔE00 7.45
Dusky Rose
#BA6873
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6797C #79A6A3
analogous
#A67993 #A6797C #A68D79
triadic
#A6797C #7CA679 #797CA6
tetradic
#A6797C #93A679 #79A6A3 #8D79A6
square
#A6797C #93A679 #79A6A3 #8D79A6
split-complementary
#A6797C #79A68D #7993A6
monochromatic
#634244 #885A5D #A6797C #BE9EA0 #D7C3C4
Accessibility & contrast
On white
3.72
#A6797C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#A6797C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A6797C
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6797C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6797C | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817F7C
Deuteranopia (green-blind)
#8B887B
Tritanopia (blue-blind)
#AF757A
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a6797c; /* rgb */ color: rgb(166, 121, 124); /* oklch */ color: oklch(62.2% 0.057 14.4);
Tailwind
colors: {
custom: {
50: '#c1a0a1',
500: '#a6797c',
950: '#000000',
},
}SCSS
$custom: #a6797c; $custom-light: #c1a0a1; $custom-dark: #000000;
JSON
{
"hex": "#a6797c",
"rgb": {
"r": 166,
"g": 121,
"b": 124
},
"hsl": {
"h": 356,
"s": 20.179,
"l": 56.275
},
"oklch": {
"l": 0.62167,
"c": 0.05656,
"h": 14.4
},
"luminance": 0.23237
}Semantic roles & 50–950 ramp
primary
#A6797C
secondary
#B4C7C5
accent
#BDB76B
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#120E0F
muted
#817E7E