#AF787A#AF787A
#AF787A is a light, moderate red. Relative luminance 0.240; OKLCH L 62.9% C 0.069 H 16.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AF787A |
|---|---|
| RGB | rgb(175, 120, 122) |
| HSL | hsl(358, 26%, 58%) |
| HSV | hsv(358, 31%, 69%) |
| CMYK | cmyk(0%, 31.4%, 30.3%, 31.4%) |
| CIE-LAB | lab(56.04, 21.81, 7.63) |
| CIE-LCH | lch(56.04, 23.11, 19.29°) |
| OKLab | oklab(62.94% 0.0663 0.02) |
| OKLCH | oklch(62.94% 0.069 16.8) |
| XYZ | xyz(27.9093, 23.9538, 21.5621) |
| Luminance | 0.2395 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Rose
#C0737A
ΔE00 4.51
Brownish Pink
#C27E79
ΔE00 5.16
Mauve (survey)
#AE7181
ΔE00 5.36
Dirty Pink
#CA7B80
ΔE00 5.86
Old Rose
#C87F89
ΔE00 6.06
Dusky Rose
#BA6873
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF787A #78AFAD
analogous
#AF7895 #AF787A #AF9178
triadic
#AF787A #7AAF78 #787AAF
tetradic
#AF787A #95AF78 #78AFAD #9178AF
square
#AF787A #95AF78 #78AFAD #9178AF
split-complementary
#AF787A #78AF91 #7895AF
monochromatic
#6C4042 #935759 #AF787A #C69EA0 #DDC5C6
Accessibility & contrast
On white
3.63
#AF787A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#AF787A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF787A
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF787A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF787A | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82807A
Deuteranopia (green-blind)
#8F8A79
Tritanopia (blue-blind)
#BA7379
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #af787a; /* rgb */ color: rgb(175, 120, 122); /* oklch */ color: oklch(62.9% 0.069 16.8);
Tailwind
colors: {
custom: {
50: '#c89fa0',
500: '#af787a',
950: '#000000',
},
}SCSS
$custom: #af787a; $custom-light: #c89fa0; $custom-dark: #000000;
JSON
{
"hex": "#af787a",
"rgb": {
"r": 175,
"g": 120,
"b": 122
},
"hsl": {
"h": 357.818,
"s": 25.581,
"l": 57.843
},
"oklch": {
"l": 0.62937,
"c": 0.06926,
"h": 16.8
},
"luminance": 0.23952
}Semantic roles & 50–950 ramp
primary
#AF787A
secondary
#B6CCCC
accent
#C2BF66
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0E
muted
#827E7E