#C166AB#C166AB

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

Color values

HEX#C166AB
RGBrgb(193, 102, 171)
HSLhsl(315, 42%, 58%)
HSVhsv(315, 47%, 76%)
CMYKcmyk(0%, 47.2%, 11.4%, 24.3%)
CIE-LABlab(55.87, 45.48, -20.88)
CIE-LCHlch(55.87, 50.05, 335.34°)
OKLaboklab(63.8% 0.1323 -0.0562)
OKLCHoklch(63.8% 0.144 337)
XYZxyz(34.0945, 23.7827, 41.3149)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166AB #66C17C
analogous
#A966C1 #C166AB #C1667E
triadic
#C166AB #ABC166 #66ABC1
tetradic
#C166AB #C1A966 #66C17C #667EC1
square
#C166AB #C1A966 #66C17C #667EC1
split-complementary
#C166AB #7EC166 #66C1A9
monochromatic
#7B3269 #A6438E #C166AB #D392C3 #E4BDDB

Accessibility & contrast

On white

3.65
#C166AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C166AB#FFFFFF#000000##000000
##C166AB1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAD
Deuteranopia (green-blind)
#808BA8
Tritanopia (blue-blind)
#C96981
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c166ab;
/* rgb */ color: rgb(193, 102, 171);
/* oklch */ color: oklch(63.8% 0.144 337.0);
Tailwind
colors: {
  custom: {
    50: '#d694c4',
    500: '#c166ab',
    950: '#000000',
  },
}
SCSS
$custom: #c166ab;
$custom-light: #d694c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c166ab",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 314.505,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63796,
    "c": 0.14374,
    "h": 337
  },
  "luminance": 0.2378
}

Semantic roles & 50–950 ramp

primary
#C166AB
secondary
#AFD4B8
accent
#D27456
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140D12
muted
#837E81

Preview Lab

Preview with #C166AB

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

Preview Lab → · Contrast checker → · Palette generator →

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