#AF787D#AF787D
#AF787D is a light, moderate red. Relative luminance 0.240; OKLCH L 63.0% C 0.069 H 13.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AF787D |
|---|---|
| RGB | rgb(175, 120, 125) |
| HSL | hsl(355, 26%, 58%) |
| HSV | hsv(355, 31%, 69%) |
| CMYK | cmyk(0%, 31.4%, 28.6%, 31.4%) |
| CIE-LAB | lab(56.12, 22.23, 6.00) |
| CIE-LCH | lch(56.12, 23.03, 15.10°) |
| OKLab | oklab(63.02% 0.0675 0.0159) |
| OKLCH | oklch(63.02% 0.069 13.2) |
| XYZ | xyz(28.0980, 24.0293, 22.5562) |
| Luminance | 0.2403 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 4.28
Dusty Rose
#C0737A
ΔE00 4.42
Old Pink
#C77986
ΔE00 5.57
Old Rose
#C87F89
ΔE00 5.66
Dusky Rose
#BA6873
ΔE00 5.87
Dirty Pink
#CA7B80
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF787D #78AFAA
analogous
#AF7899 #AF787D #AF8E78
triadic
#AF787D #7DAF78 #787DAF
tetradic
#AF787D #99AF78 #78AFAA #8E78AF
square
#AF787D #99AF78 #78AFAA #8E78AF
split-complementary
#AF787D #78AF8E #7899AF
monochromatic
#6C4044 #93575C #AF787D #C69EA2 #DDC5C7
Accessibility & contrast
On white
3.62
#AF787D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#AF787D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF787D
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF787D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF787D | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81807D
Deuteranopia (green-blind)
#8E8A7C
Tritanopia (blue-blind)
#B9737A
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #af787d; /* rgb */ color: rgb(175, 120, 125); /* oklch */ color: oklch(63.0% 0.069 13.2);
Tailwind
colors: {
custom: {
50: '#c89fa2',
500: '#af787d',
950: '#000000',
},
}SCSS
$custom: #af787d; $custom-light: #c89fa2; $custom-dark: #000000;
JSON
{
"hex": "#af787d",
"rgb": {
"r": 175,
"g": 120,
"b": 125
},
"hsl": {
"h": 354.545,
"s": 25.581,
"l": 57.843
},
"oklch": {
"l": 0.6302,
"c": 0.06935,
"h": 13.2
},
"luminance": 0.24028
}Semantic roles & 50–950 ramp
primary
#AF787D
secondary
#B6CCCA
accent
#C2BA66
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0F
muted
#827E7E