#C166B6#C166B6

#C166B6 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.3% C 0.153 H 331.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#C166B6
RGBrgb(193, 102, 182)
HSLhsl(307, 42%, 58%)
HSVhsv(307, 47%, 76%)
CMYKcmyk(0%, 47.2%, 5.7%, 24.3%)
CIE-LABlab(56.31, 47.35, -26.56)
CIE-LCHlch(56.31, 54.29, 330.71°)
OKLaboklab(64.27% 0.1348 -0.0722)
OKLCHoklch(64.27% 0.153 331.8)
XYZxyz(35.1870, 24.2197, 47.0684)
Luminance0.2422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166B6 #66C171
analogous
#9F66C1 #C166B6 #C16688
triadic
#C166B6 #B6C166 #66B6C1
tetradic
#C166B6 #C19F66 #66C171 #6688C1
square
#C166B6 #C19F66 #66C171 #6688C1
split-complementary
#C166B6 #88C166 #66C19F
monochromatic
#7B3272 #A6439A #C166B6 #D392CB #E4BDE0

Accessibility & contrast

On white

3.59
#C166B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#C166B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166B6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166B6#FFFFFF#000000##000000
##C166B61.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#637FB9
Deuteranopia (green-blind)
#7D8CB3
Tritanopia (blue-blind)
#C86C86
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c166b6;
/* rgb */ color: rgb(193, 102, 182);
/* oklch */ color: oklch(64.3% 0.153 331.8);
Tailwind
colors: {
  custom: {
    50: '#d695cc',
    500: '#c166b6',
    950: '#000000',
  },
}
SCSS
$custom: #c166b6;
$custom-light: #d695cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c166b6",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 182
  },
  "hsl": {
    "h": 307.253,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64266,
    "c": 0.15293,
    "h": 331.8
  },
  "luminance": 0.24218
}

Semantic roles & 50–950 ramp

primary
#C166B6
secondary
#AFD4B4
accent
#D26556
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140D13
muted
#837E82

Preview Lab

Preview with #C166B6

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

Preview Lab → · Contrast checker → · Palette generator →

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