#B166A3#B166A3

#B166A3 is a mid, vivid pink. Relative luminance 0.215; OKLCH L 61.5% C 0.124 H 334.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B166A3
RGBrgb(177, 102, 163)
HSLhsl(311, 32%, 55%)
HSVhsv(311, 42%, 69%)
CMYKcmyk(0%, 42.4%, 7.9%, 30.6%)
CIE-LABlab(53.49, 38.99, -20.06)
CIE-LCHlch(53.49, 43.85, 332.78°)
OKLaboklab(61.47% 0.1119 -0.0541)
OKLCHoklch(61.47% 0.124 334.2)
XYZxyz(29.4936, 21.4959, 37.2388)
Luminance0.2149 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166A3 #66B174
analogous
#9A66B1 #B166A3 #B1667E
triadic
#B166A3 #A3B166 #66A3B1
tetradic
#B166A3 #B19A66 #66B174 #667EB1
square
#B166A3 #B19A66 #66B174 #667EB1
split-complementary
#B166A3 #7EB166 #66B19A
monochromatic
#68355E #904A83 #B166A3 #C68FBB #DAB7D4

Accessibility & contrast

On white

3.96
#B166A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B166A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166A3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166A3#FFFFFF#000000##000000
##B166A31.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6679A5
Deuteranopia (green-blind)
#7984A1
Tritanopia (blue-blind)
#B76A7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b166a3;
/* rgb */ color: rgb(177, 102, 163);
/* oklch */ color: oklch(61.5% 0.124 334.2);
Tailwind
colors: {
  custom: {
    50: '#ca93be',
    500: '#b166a3',
    950: '#000000',
  },
}
SCSS
$custom: #b166a3;
$custom-light: #ca93be;
$custom-dark: #000000;
JSON
{
  "hex": "#b166a3",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 163
  },
  "hsl": {
    "h": 311.2,
    "s": 32.468,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61472,
    "c": 0.12431,
    "h": 334.2
  },
  "luminance": 0.21494
}

Semantic roles & 50–950 ramp

primary
#B166A3
secondary
#AAC9AF
accent
#C9735F
background
#FCF9FB
surface
#F9F1F6
border
#D2CBD0
text
#130D12
muted
#827E81

Preview Lab

Preview with #B166A3

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

Preview Lab → · Contrast checker → · Palette generator →

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