#C166A7#C166A7

#C166A7 is a light, vivid pink. Relative luminance 0.236; OKLCH L 63.6% C 0.141 H 339.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#C166A7
RGBrgb(193, 102, 167)
HSLhsl(317, 42%, 58%)
HSVhsv(317, 47%, 76%)
CMYKcmyk(0%, 47.2%, 13.5%, 24.3%)
CIE-LABlab(55.72, 44.83, -18.79)
CIE-LCHlch(55.72, 48.61, 337.26°)
OKLaboklab(63.63% 0.1313 -0.0504)
OKLCHoklch(63.63% 0.141 339)
XYZxyz(33.7190, 23.6325, 39.3373)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166A7 #66C180
analogous
#AE66C1 #C166A7 #C16679
triadic
#C166A7 #A7C166 #66A7C1
tetradic
#C166A7 #C1AE66 #66C180 #6679C1
square
#C166A7 #C1AE66 #66C180 #6679C1
split-complementary
#C166A7 #79C166 #66C1AE
monochromatic
#7B3266 #A6438A #C166A7 #D392C0 #E4BDD9

Accessibility & contrast

On white

3.67
#C166A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#C166A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166A7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166A7#FFFFFF#000000##000000
##C166A71.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#697DA9
Deuteranopia (green-blind)
#828BA5
Tritanopia (blue-blind)
#CA687F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c166a7;
/* rgb */ color: rgb(193, 102, 167);
/* oklch */ color: oklch(63.6% 0.141 339.0);
Tailwind
colors: {
  custom: {
    50: '#d694c1',
    500: '#c166a7',
    950: '#000000',
  },
}
SCSS
$custom: #c166a7;
$custom-light: #d694c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c166a7",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 167
  },
  "hsl": {
    "h": 317.143,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63633,
    "c": 0.14061,
    "h": 339
  },
  "luminance": 0.2363
}

Semantic roles & 50–950 ramp

primary
#C166A7
secondary
#AFD4BA
accent
#D27956
background
#FDF9FB
surface
#FAF2F7
border
#D3CCD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #C166A7

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

Preview Lab → · Contrast checker → · Palette generator →

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