#AF797D#AF797D
#AF797D is a light, moderate red. Relative luminance 0.243; OKLCH L 63.2% C 0.068 H 14.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AF797D |
|---|---|
| RGB | rgb(175, 121, 125) |
| HSL | hsl(356, 25%, 58%) |
| HSV | hsv(356, 31%, 69%) |
| CMYK | cmyk(0%, 30.9%, 28.6%, 31.4%) |
| CIE-LAB | lab(56.36, 21.67, 6.34) |
| CIE-LCH | lch(56.36, 22.58, 16.32°) |
| OKLab | oklab(63.21% 0.0658 0.0168) |
| OKLCH | oklch(63.21% 0.068 14.3) |
| XYZ | xyz(28.2189, 24.2711, 22.5965) |
| Luminance | 0.2427 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Rose
#C0737A
ΔE00 4.61
Mauve (survey)
#AE7181
ΔE00 4.75
Brownish Pink
#C27E79
ΔE00 5.66
Old Rose
#C87F89
ΔE00 5.72
Old Pink
#C77986
ΔE00 5.76
Dirty Pink
#CA7B80
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF797D #79AFAB
analogous
#AF7998 #AF797D #AF9079
triadic
#AF797D #7DAF79 #797DAF
tetradic
#AF797D #98AF79 #79AFAB #9079AF
square
#AF797D #98AF79 #79AFAB #9079AF
split-complementary
#AF797D #79AF90 #7998AF
monochromatic
#6D4144 #93585C #AF797D #C69FA2 #DDC6C7
Accessibility & contrast
On white
3.59
#AF797D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#AF797D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF797D
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF797D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF797D | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82817D
Deuteranopia (green-blind)
#8F8B7C
Tritanopia (blue-blind)
#B9747B
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #af797d; /* rgb */ color: rgb(175, 121, 125); /* oklch */ color: oklch(63.2% 0.068 14.3);
Tailwind
colors: {
custom: {
50: '#c8a0a2',
500: '#af797d',
950: '#000000',
},
}SCSS
$custom: #af797d; $custom-light: #c8a0a2; $custom-dark: #000000;
JSON
{
"hex": "#af797d",
"rgb": {
"r": 175,
"g": 121,
"b": 125
},
"hsl": {
"h": 355.556,
"s": 25.234,
"l": 58.039
},
"oklch": {
"l": 0.63206,
"c": 0.06793,
"h": 14.3
},
"luminance": 0.24269
}Semantic roles & 50–950 ramp
primary
#AF797D
secondary
#B7CDCB
accent
#C2BB66
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0F
muted
#827E7E