#AF8EA2#AF8EA2
#AF8EA2 is a light, muted pink. Relative luminance 0.311; OKLCH L 68.3% C 0.048 H 341.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8EA2 |
|---|---|
| RGB | rgb(175, 142, 162) |
| HSL | hsl(324, 17%, 62%) |
| HSV | hsv(324, 19%, 69%) |
| CMYK | cmyk(0%, 18.9%, 7.4%, 31.4%) |
| CIE-LAB | lab(62.57, 15.85, -5.83) |
| CIE-LCH | lch(62.57, 16.89, 339.80°) |
| OKLab | oklab(68.34% 0.0458 -0.0153) |
| OKLCH | oklch(68.34% 0.048 341.5) |
| XYZ | xyz(33.8733, 31.0695, 38.3881) |
| Luminance | 0.3107 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dusty Lavender
#AC86A8
ΔE00 4.87
Light Mauve
#C292A1
ΔE00 5.16
Grey Pink
#C3909B
ΔE00 6.40
Heather
#A484AC
ΔE00 7.09
Purpley Grey
#947E94
ΔE00 7.22
Rosybrown
#BC8F8F
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8EA2 #8EAF9B
analogous
#AB8EAF #AF8EA2 #AF8E92
triadic
#AF8EA2 #A2AF8E #8EA2AF
tetradic
#AF8EA2 #AFAB8E #8EAF9B #8E92AF
square
#AF8EA2 #AFAB8E #8EAF9B #8E92AF
split-complementary
#AF8EA2 #92AF8E #8EAFAB
monochromatic
#725165 #966A85 #AF8EA2 #C8B2BF #E2D6DD
Accessibility & contrast
On white
2.91
#AF8EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#AF8EA2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF8EA2
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8EA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8EA2 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F94A3
Deuteranopia (green-blind)
#9799A1
Tritanopia (blue-blind)
#B38E95
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #af8ea2; /* rgb */ color: rgb(175, 142, 162); /* oklch */ color: oklch(68.3% 0.048 341.5);
Tailwind
colors: {
custom: {
50: '#c7afbd',
500: '#af8ea2',
950: '#000000',
},
}SCSS
$custom: #af8ea2; $custom-light: #c7afbd; $custom-dark: #000000;
JSON
{
"hex": "#af8ea2",
"rgb": {
"r": 175,
"g": 142,
"b": 162
},
"hsl": {
"h": 323.636,
"s": 17.098,
"l": 62.157
},
"oklch": {
"l": 0.68338,
"c": 0.04829,
"h": 341.5
},
"luminance": 0.31069
}Semantic roles & 50–950 ramp
primary
#AF8EA2
secondary
#C6D2CB
accent
#9B6A4A
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#131012
muted
#827F81