#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
RGBrgb(177, 102, 162)
HSLhsl(312, 32%, 55%)
HSVhsv(312, 42%, 69%)
CMYKcmyk(0%, 42.4%, 8.5%, 30.6%)
CIE-LABlab(53.45, 38.81, -19.53)
CIE-LCHlch(53.45, 43.45, 333.29°)
OKLaboklab(61.43% 0.1117 -0.0526)
OKLCHoklch(61.43% 0.123 334.8)
XYZxyz(29.4043, 21.4602, 36.7688)
Luminance0.2146 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

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
##B166A21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.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

Preview Lab

Preview with #B166A2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B166A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva