#AF787C#AF787C
#AF787C is a light, moderate red. Relative luminance 0.240; OKLCH L 63.0% C 0.069 H 14.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AF787C |
|---|---|
| RGB | rgb(175, 120, 124) |
| HSL | hsl(356, 26%, 58%) |
| HSV | hsv(356, 31%, 69%) |
| CMYK | cmyk(0%, 31.4%, 29.1%, 31.4%) |
| CIE-LAB | lab(56.09, 22.09, 6.54) |
| CIE-LCH | lch(56.09, 23.04, 16.50°) |
| OKLab | oklab(62.99% 0.0671 0.0173) |
| OKLCH | oklch(62.99% 0.069 14.4) |
| XYZ | xyz(28.0345, 24.0039, 22.2215) |
| Luminance | 0.2400 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Rose
#C0737A
ΔE00 4.41
Mauve (survey)
#AE7181
ΔE00 4.63
Brownish Pink
#C27E79
ΔE00 5.66
Old Pink
#C77986
ΔE00 5.72
Old Rose
#C87F89
ΔE00 5.76
Dirty Pink
#CA7B80
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF787C #78AFAB
analogous
#AF7897 #AF787C #AF8F78
triadic
#AF787C #7CAF78 #787CAF
tetradic
#AF787C #97AF78 #78AFAB #8F78AF
square
#AF787C #97AF78 #78AFAB #8F78AF
split-complementary
#AF787C #78AF8F #7897AF
monochromatic
#6C4043 #93575B #AF787C #C69EA1 #DDC5C7
Accessibility & contrast
On white
3.62
#AF787C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#AF787C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF787C
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF787C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF787C | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82807C
Deuteranopia (green-blind)
#8F8A7B
Tritanopia (blue-blind)
#B9737A
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #af787c; /* rgb */ color: rgb(175, 120, 124); /* oklch */ color: oklch(63.0% 0.069 14.4);
Tailwind
colors: {
custom: {
50: '#c89fa1',
500: '#af787c',
950: '#000000',
},
}SCSS
$custom: #af787c; $custom-light: #c89fa1; $custom-dark: #000000;
JSON
{
"hex": "#af787c",
"rgb": {
"r": 175,
"g": 120,
"b": 124
},
"hsl": {
"h": 355.636,
"s": 25.581,
"l": 57.843
},
"oklch": {
"l": 0.62992,
"c": 0.06929,
"h": 14.4
},
"luminance": 0.24002
}Semantic roles & 50–950 ramp
primary
#AF787C
secondary
#B6CCCB
accent
#C2BB66
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0F
muted
#827E7E