#AF787F#AF787F
#AF787F is a light, moderate red. Relative luminance 0.241; OKLCH L 63.1% C 0.070 H 10.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AF787F |
|---|---|
| RGB | rgb(175, 120, 127) |
| HSL | hsl(352, 26%, 58%) |
| HSV | hsv(352, 31%, 69%) |
| CMYK | cmyk(0%, 31.4%, 27.4%, 31.4%) |
| CIE-LAB | lab(56.17, 22.52, 4.91) |
| CIE-LCH | lch(56.17, 23.05, 12.31°) |
| OKLab | oklab(63.08% 0.0683 0.0131) |
| OKLCH | oklch(63.08% 0.07 10.9) |
| XYZ | xyz(28.2271, 24.0809, 23.2359) |
| Luminance | 0.2408 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 3.63
Dusty Rose
#C0737A
ΔE00 4.57
Old Pink
#C77986
ΔE00 5.35
Old Rose
#C87F89
ΔE00 5.54
Dusky Rose
#BA6873
ΔE00 5.88
Dirty Pink
#CA7B80
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF787F #78AFA8
analogous
#AF789A #AF787F #AF8D78
triadic
#AF787F #7FAF78 #787FAF
tetradic
#AF787F #9AAF78 #78AFA8 #8D78AF
square
#AF787F #9AAF78 #78AFA8 #8D78AF
split-complementary
#AF787F #78AF8D #789AAF
monochromatic
#6C4046 #93575F #AF787F #C69EA3 #DDC5C8
Accessibility & contrast
On white
3.61
#AF787F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#AF787F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF787F
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF787F | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81817F
Deuteranopia (green-blind)
#8E8B7E
Tritanopia (blue-blind)
#B9737B
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #af787f; /* rgb */ color: rgb(175, 120, 127); /* oklch */ color: oklch(63.1% 0.070 10.9);
Tailwind
colors: {
custom: {
50: '#c89fa4',
500: '#af787f',
950: '#000000',
},
}SCSS
$custom: #af787f; $custom-light: #c89fa4; $custom-dark: #000000;
JSON
{
"hex": "#af787f",
"rgb": {
"r": 175,
"g": 120,
"b": 127
},
"hsl": {
"h": 352.364,
"s": 25.581,
"l": 57.843
},
"oklch": {
"l": 0.63077,
"c": 0.06954,
"h": 10.9
},
"luminance": 0.24079
}Semantic roles & 50–950 ramp
primary
#AF787F
secondary
#B6CCCA
accent
#C2B666
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E0F
muted
#827E7F