#B166A2#B166A2
#B166A2 is a mid, vivid pink. Relative luminance 0.215; OKLCH L 61.4% C 0.123 H 334.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B166A2 |
|---|---|
| RGB | rgb(177, 102, 162) |
| HSL | hsl(312, 32%, 55%) |
| HSV | hsv(312, 42%, 69%) |
| CMYK | cmyk(0%, 42.4%, 8.5%, 30.6%) |
| CIE-LAB | lab(53.45, 38.81, -19.53) |
| CIE-LCH | lch(53.45, 43.45, 333.29°) |
| OKLab | oklab(61.43% 0.1117 -0.0526) |
| OKLCH | oklch(61.43% 0.123 334.8) |
| XYZ | xyz(29.4043, 21.4602, 36.7688) |
| Luminance | 0.2146 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Dark Lilac
#9C6DA5
ΔE00 5.39
Purplish Pink
#CE5DAE
ΔE00 5.61
Soft Purple
#A66FB5
ΔE00 5.84
Pale Magenta
#D767AD
ΔE00 7.35
Purpleish
#98568D
ΔE00 7.57
Orchid (survey)
#C875C4
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B166A2 #66B175
analogous
#9B66B1 #B166A2 #B1667D
triadic
#B166A2 #A2B166 #66A2B1
tetradic
#B166A2 #B19B66 #66B175 #667DB1
square
#B166A2 #B19B66 #66B175 #667DB1
split-complementary
#B166A2 #7DB166 #66B19B
monochromatic
#68355E #904A82 #B166A2 #C68FBB #DAB7D3
Accessibility & contrast
On white
3.97
#B166A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#B166A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B166A2
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B166A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B166A2 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6679A4
Deuteranopia (green-blind)
#7A84A0
Tritanopia (blue-blind)
#B8697D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #b166a2; /* rgb */ color: rgb(177, 102, 162); /* oklch */ color: oklch(61.4% 0.123 334.8);
Tailwind
colors: {
custom: {
50: '#ca93bd',
500: '#b166a2',
950: '#000000',
},
}SCSS
$custom: #b166a2; $custom-light: #ca93bd; $custom-dark: #000000;
JSON
{
"hex": "#b166a2",
"rgb": {
"r": 177,
"g": 102,
"b": 162
},
"hsl": {
"h": 312,
"s": 32.468,
"l": 54.706
},
"oklch": {
"l": 0.6143,
"c": 0.12344,
"h": 334.8
},
"luminance": 0.21458
}Semantic roles & 50–950 ramp
primary
#B166A2
secondary
#AAC9B0
accent
#C9745F
background
#FCF9FB
surface
#F9F1F6
border
#D2CBD0
text
#130D12
muted
#827E81