#A5787F#A5787F
#A5787F is a mid, muted red. Relative luminance 0.230; OKLCH L 62.0% C 0.057 H 8.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A5787F |
|---|---|
| RGB | rgb(165, 120, 127) |
| HSL | hsl(351, 20%, 56%) |
| HSV | hsv(351, 27%, 65%) |
| CMYK | cmyk(0%, 27.3%, 23%, 35.3%) |
| CIE-LAB | lab(55.04, 18.65, 3.13) |
| CIE-LCH | lch(55.04, 18.91, 9.54°) |
| OKLab | oklab(61.95% 0.0565 0.0085) |
| OKLCH | oklch(61.95% 0.057 8.5) |
| XYZ | xyz(26.0646, 22.9659, 23.1345) |
| Luminance | 0.2296 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 4.50
Reddish Grey
#997570
ΔE00 6.21
Dusty Rose
#C0737A
ΔE00 7.09
Dusky Rose
#BA6873
ΔE00 7.78
Old Pink
#C77986
ΔE00 7.81
Old Rose
#C87F89
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5787F #78A59E
analogous
#A57895 #A5787F #A58778
triadic
#A5787F #7FA578 #787FA5
tetradic
#A5787F #95A578 #78A59E #8778A5
square
#A5787F #95A578 #78A59E #8778A5
split-complementary
#A5787F #78A587 #7895A5
monochromatic
#624146 #865A60 #A5787F #BD9DA2 #D6C1C5
Accessibility & contrast
On white
3.75
#A5787F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#A5787F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A5787F
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5787F | 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)
#7F7F7F
Deuteranopia (green-blind)
#89877E
Tritanopia (blue-blind)
#AD757A
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a5787f; /* rgb */ color: rgb(165, 120, 127); /* oklch */ color: oklch(62.0% 0.057 8.5);
Tailwind
colors: {
custom: {
50: '#c09fa4',
500: '#a5787f',
950: '#000000',
},
}SCSS
$custom: #a5787f; $custom-light: #c09fa4; $custom-dark: #000000;
JSON
{
"hex": "#a5787f",
"rgb": {
"r": 165,
"g": 120,
"b": 127
},
"hsl": {
"h": 350.667,
"s": 20,
"l": 55.882
},
"oklch": {
"l": 0.61953,
"c": 0.05709,
"h": 8.5
},
"luminance": 0.22965
}Semantic roles & 50–950 ramp
primary
#A5787F
secondary
#B3C6C3
accent
#BDB06B
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E0F
muted
#817E7F