#B17FA2#B17FA2
#B17FA2 is a light, moderate pink. Relative luminance 0.271; OKLCH L 65.7% C 0.078 H 338.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B17FA2 |
|---|---|
| RGB | rgb(177, 127, 162) |
| HSL | hsl(318, 24%, 60%) |
| HSV | hsv(318, 28%, 69%) |
| CMYK | cmyk(0%, 28.2%, 8.5%, 30.6%) |
| CIE-LAB | lab(59.10, 25.00, -10.98) |
| CIE-LCH | lch(59.10, 27.31, 336.30°) |
| OKLab | oklab(65.72% 0.0721 -0.0292) |
| OKLCH | oklch(65.72% 0.078 338) |
| XYZ | xyz(32.2421, 27.1358, 37.7148) |
| Luminance | 0.2713 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dusty Lavender
#AC86A8
ΔE00 3.09
Heather
#A484AC
ΔE00 5.15
Purpley Grey
#947E94
ΔE00 8.30
Light Mauve
#C292A1
ΔE00 8.40
Mauve (survey)
#AE7181
ΔE00 8.67
Dark Lilac
#9C6DA5
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17FA2 #7FB18E
analogous
#A77FB1 #B17FA2 #B17F89
triadic
#B17FA2 #A2B17F #7FA2B1
tetradic
#B17FA2 #B1A77F #7FB18E #7F89B1
square
#B17FA2 #B1A77F #7FB18E #7F89B1
split-complementary
#B17FA2 #89B17F #7FB1A7
monochromatic
#714564 #975C85 #B17FA2 #C8A5BE #DFCBD9
Accessibility & contrast
On white
3.27
#B17FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.43
#B17FA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B17FA2
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17FA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17FA2 | 1.00 | 3.27 | 6.43 | 6.43 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#808AA3
Deuteranopia (green-blind)
#8C91A1
Tritanopia (blue-blind)
#B7808B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #b17fa2; /* rgb */ color: rgb(177, 127, 162); /* oklch */ color: oklch(65.7% 0.078 338.0);
Tailwind
colors: {
custom: {
50: '#c9a4bd',
500: '#b17fa2',
950: '#000000',
},
}SCSS
$custom: #b17fa2; $custom-light: #c9a4bd; $custom-dark: #000000;
JSON
{
"hex": "#b17fa2",
"rgb": {
"r": 177,
"g": 127,
"b": 162
},
"hsl": {
"h": 318,
"s": 24.272,
"l": 59.608
},
"oklch": {
"l": 0.65717,
"c": 0.07775,
"h": 338
},
"luminance": 0.27134
}Semantic roles & 50–950 ramp
primary
#B17FA2
secondary
#BCD0C2
accent
#C18267
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#130F12
muted
#827F81