#AF8EA7#AF8EA7
#AF8EA7 is a light, muted pink. Relative luminance 0.313; OKLCH L 68.5% C 0.053 H 334.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8EA7 |
|---|---|
| RGB | rgb(175, 142, 167) |
| HSL | hsl(315, 17%, 62%) |
| HSV | hsv(315, 19%, 69%) |
| CMYK | cmyk(0%, 18.9%, 4.6%, 31.4%) |
| CIE-LAB | lab(62.72, 16.76, -8.44) |
| CIE-LCH | lch(62.72, 18.77, 333.28°) |
| OKLab | oklab(68.51% 0.0476 -0.0224) |
| OKLCH | oklch(68.51% 0.053 334.8) |
| XYZ | xyz(34.3266, 31.2508, 40.7755) |
| Luminance | 0.3125 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Dusty Lavender
#AC86A8
ΔE00 3.51
Heather
#A484AC
ΔE00 5.66
Light Mauve
#C292A1
ΔE00 6.08
Purpley Grey
#947E94
ΔE00 7.22
Grey Pink
#C3909B
ΔE00 7.53
Lilac
#C8A2C8
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8EA7 #8EAF96
analogous
#A68EAF #AF8EA7 #AF8E97
triadic
#AF8EA7 #A7AF8E #8EA7AF
tetradic
#AF8EA7 #AFA68E #8EAF96 #8E97AF
square
#AF8EA7 #AFA68E #8EAF96 #8E97AF
split-complementary
#AF8EA7 #97AF8E #8EAFA6
monochromatic
#72516A #966A8B #AF8EA7 #C8B2C3 #E2D6DF
Accessibility & contrast
On white
2.90
#AF8EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#AF8EA7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF8EA7
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8EA7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8EA7 | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E95A8
Deuteranopia (green-blind)
#9599A6
Tritanopia (blue-blind)
#B38F96
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #af8ea7; /* rgb */ color: rgb(175, 142, 167); /* oklch */ color: oklch(68.5% 0.053 334.8);
Tailwind
colors: {
custom: {
50: '#c7afc1',
500: '#af8ea7',
950: '#000000',
},
}SCSS
$custom: #af8ea7; $custom-light: #c7afc1; $custom-dark: #000000;
JSON
{
"hex": "#af8ea7",
"rgb": {
"r": 175,
"g": 142,
"b": 167
},
"hsl": {
"h": 314.545,
"s": 17.098,
"l": 62.157
},
"oklch": {
"l": 0.68506,
"c": 0.05262,
"h": 334.8
},
"luminance": 0.3125
}Semantic roles & 50–950 ramp
primary
#AF8EA7
secondary
#C6D2C9
accent
#9B5E4A
background
#FCFAFB
surface
#F8F4F7
border
#D1CED0
text
#131012
muted
#827F81