#AF8EA1#AF8EA1
#AF8EA1 is a light, muted pink. Relative luminance 0.310; OKLCH L 68.3% C 0.048 H 342.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8EA1 |
|---|---|
| RGB | rgb(175, 142, 161) |
| HSL | hsl(325, 17%, 62%) |
| HSV | hsv(325, 19%, 69%) |
| CMYK | cmyk(0%, 18.9%, 8%, 31.4%) |
| CIE-LAB | lab(62.54, 15.67, -5.31) |
| CIE-LCH | lch(62.54, 16.54, 341.29°) |
| OKLab | oklab(68.31% 0.0454 -0.0139) |
| OKLCH | oklch(68.31% 0.048 342.9) |
| XYZ | xyz(33.7848, 31.0341, 37.9218) |
| Luminance | 0.3103 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Mauve
#C292A1
ΔE00 5.02
Dusty Lavender
#AC86A8
ΔE00 5.17
Grey Pink
#C3909B
ΔE00 6.20
Purpley Grey
#947E94
ΔE00 7.27
Heather
#A484AC
ΔE00 7.40
Rosybrown
#BC8F8F
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8EA1 #8EAF9C
analogous
#AD8EAF #AF8EA1 #AF8E91
triadic
#AF8EA1 #A1AF8E #8EA1AF
tetradic
#AF8EA1 #AFAD8E #8EAF9C #8E91AF
square
#AF8EA1 #AFAD8E #8EAF9C #8E91AF
split-complementary
#AF8EA1 #91AF8E #8EAFAD
monochromatic
#725164 #966A83 #AF8EA1 #C8B2BF #E2D6DD
Accessibility & contrast
On white
2.91
#AF8EA1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#AF8EA1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF8EA1
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8EA1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8EA1 | 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)
#9094A2
Deuteranopia (green-blind)
#9799A0
Tritanopia (blue-blind)
#B48E94
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #af8ea1; /* rgb */ color: rgb(175, 142, 161); /* oklch */ color: oklch(68.3% 0.048 342.9);
Tailwind
colors: {
custom: {
50: '#c7afbc',
500: '#af8ea1',
950: '#000000',
},
}SCSS
$custom: #af8ea1; $custom-light: #c7afbc; $custom-dark: #000000;
JSON
{
"hex": "#af8ea1",
"rgb": {
"r": 175,
"g": 142,
"b": 161
},
"hsl": {
"h": 325.455,
"s": 17.098,
"l": 62.157
},
"oklch": {
"l": 0.68305,
"c": 0.04751,
"h": 342.9
},
"luminance": 0.31033
}Semantic roles & 50–950 ramp
primary
#AF8EA1
secondary
#C6D2CB
accent
#9B6D4A
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#131012
muted
#827F81