#C166AC#C166AC

#C166AC is a light, vivid pink. Relative luminance 0.238; OKLCH L 63.8% C 0.145 H 336.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#C166AC
RGBrgb(193, 102, 172)
HSLhsl(314, 42%, 58%)
HSVhsv(314, 47%, 76%)
CMYKcmyk(0%, 47.2%, 10.9%, 24.3%)
CIE-LABlab(55.91, 45.65, -21.40)
CIE-LCHlch(55.91, 50.41, 334.88°)
OKLaboklab(63.84% 0.1325 -0.0576)
OKLCHoklch(63.84% 0.145 336.5)
XYZxyz(34.1902, 23.8210, 41.8188)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166AC #66C17B
analogous
#A866C1 #C166AC #C1667E
triadic
#C166AC #ACC166 #66ACC1
tetradic
#C166AC #C1A866 #66C17B #667EC1
square
#C166AC #C1A866 #66C17B #667EC1
split-complementary
#C166AC #7EC166 #66C1A8
monochromatic
#7B326A #A64390 #C166AC #D392C4 #E4BDDB

Accessibility & contrast

On white

3.64
#C166AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#C166AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166AC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166AC#FFFFFF#000000##000000
##C166AC1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAE
Deuteranopia (green-blind)
#808BA9
Tritanopia (blue-blind)
#C96A81
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c166ac;
/* rgb */ color: rgb(193, 102, 172);
/* oklch */ color: oklch(63.8% 0.145 336.5);
Tailwind
colors: {
  custom: {
    50: '#d694c5',
    500: '#c166ac',
    950: '#000000',
  },
}
SCSS
$custom: #c166ac;
$custom-light: #d694c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c166ac",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 313.846,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63838,
    "c": 0.14453,
    "h": 336.5
  },
  "luminance": 0.23819
}

Semantic roles & 50–950 ramp

primary
#C166AC
secondary
#AFD4B8
accent
#D27256
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#150D12
muted
#837E81

Preview Lab

Preview with #C166AC

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

Preview Lab → · Contrast checker → · Palette generator →

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