#AF797F#AF797F
#AF797F is a light, moderate red. Relative luminance 0.243; OKLCH L 63.3% C 0.068 H 11.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AF797F |
|---|---|
| RGB | rgb(175, 121, 127) |
| HSL | hsl(353, 25%, 58%) |
| HSV | hsv(353, 31%, 69%) |
| CMYK | cmyk(0%, 30.9%, 27.4%, 31.4%) |
| CIE-LAB | lab(56.41, 21.96, 5.26) |
| CIE-LCH | lch(56.41, 22.58, 13.47°) |
| OKLab | oklab(63.26% 0.0666 0.014) |
| OKLCH | oklch(63.26% 0.068 11.9) |
| XYZ | xyz(28.3480, 24.3227, 23.2762) |
| Luminance | 0.2432 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 4.10
Dusty Rose
#C0737A
ΔE00 4.68
Old Pink
#C77986
ΔE00 5.49
Old Rose
#C87F89
ΔE00 5.54
Dirty Pink
#CA7B80
ΔE00 6.05
Dusky Rose
#BA6873
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF797F #79AFA9
analogous
#AF799A #AF797F #AF8E79
triadic
#AF797F #7FAF79 #797FAF
tetradic
#AF797F #9AAF79 #79AFA9 #8E79AF
square
#AF797F #9AAF79 #79AFA9 #8E79AF
split-complementary
#AF797F #79AF8E #799AAF
monochromatic
#6D4146 #93585E #AF797F #C69FA4 #DDC6C8
Accessibility & contrast
On white
3.58
#AF797F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#AF797F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF797F
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF797F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF797F | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82817F
Deuteranopia (green-blind)
#8F8B7E
Tritanopia (blue-blind)
#B9747B
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #af797f; /* rgb */ color: rgb(175, 121, 127); /* oklch */ color: oklch(63.3% 0.068 11.9);
Tailwind
colors: {
custom: {
50: '#c8a0a4',
500: '#af797f',
950: '#000000',
},
}SCSS
$custom: #af797f; $custom-light: #c8a0a4; $custom-dark: #000000;
JSON
{
"hex": "#af797f",
"rgb": {
"r": 175,
"g": 121,
"b": 127
},
"hsl": {
"h": 353.333,
"s": 25.234,
"l": 58.039
},
"oklch": {
"l": 0.63262,
"c": 0.06808,
"h": 11.9
},
"luminance": 0.24321
}Semantic roles & 50–950 ramp
primary
#AF797F
secondary
#B7CDCA
accent
#C2B766
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E0F
muted
#827E7F