#C166A8#C166A8

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

Color values

HEX#C166A8
RGBrgb(193, 102, 168)
HSLhsl(316, 42%, 58%)
HSVhsv(316, 47%, 76%)
CMYKcmyk(0%, 47.2%, 13%, 24.3%)
CIE-LABlab(55.76, 44.99, -19.32)
CIE-LCHlch(55.76, 48.96, 336.76°)
OKLaboklab(63.67% 0.1315 -0.0518)
OKLCHoklch(63.67% 0.141 338.5)
XYZxyz(33.8118, 23.6696, 39.8260)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166A8 #66C17F
analogous
#AD66C1 #C166A8 #C1667A
triadic
#C166A8 #A8C166 #66A8C1
tetradic
#C166A8 #C1AD66 #66C17F #667AC1
square
#C166A8 #C1AD66 #66C17F #667AC1
split-complementary
#C166A8 #7AC166 #66C1AD
monochromatic
#7B3267 #A6438B #C166A8 #D392C1 #E4BDDA

Accessibility & contrast

On white

3.66
#C166A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C166A8#FFFFFF#000000##000000
##C166A81.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#697DAA
Deuteranopia (green-blind)
#818BA6
Tritanopia (blue-blind)
#CA687F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c166a8;
/* rgb */ color: rgb(193, 102, 168);
/* oklch */ color: oklch(63.7% 0.141 338.5);
Tailwind
colors: {
  custom: {
    50: '#d694c2',
    500: '#c166a8',
    950: '#000000',
  },
}
SCSS
$custom: #c166a8;
$custom-light: #d694c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c166a8",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 168
  },
  "hsl": {
    "h": 316.484,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63673,
    "c": 0.14138,
    "h": 338.5
  },
  "luminance": 0.23667
}

Semantic roles & 50–950 ramp

primary
#C166A8
secondary
#AFD4B9
accent
#D27856
background
#FDF9FB
surface
#FAF2F7
border
#D3CCD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #C166A8

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

Preview Lab → · Contrast checker → · Palette generator →

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