#C166AF#C166AF

#C166AF is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.0% C 0.147 H 335.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#C166AF
RGBrgb(193, 102, 175)
HSLhsl(312, 42%, 58%)
HSVhsv(312, 47%, 76%)
CMYKcmyk(0%, 47.2%, 9.3%, 24.3%)
CIE-LABlab(56.03, 46.15, -22.95)
CIE-LCHlch(56.03, 51.54, 333.56°)
OKLaboklab(63.96% 0.1333 -0.062)
OKLCHoklch(63.96% 0.147 335)
XYZxyz(34.4816, 23.9375, 43.3533)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166AF #66C178
analogous
#A566C1 #C166AF #C16681
triadic
#C166AF #AFC166 #66AFC1
tetradic
#C166AF #C1A566 #66C178 #6681C1
square
#C166AF #C1A566 #66C178 #6681C1
split-complementary
#C166AF #81C166 #66C1A5
monochromatic
#7B326C #A64393 #C166AF #D392C6 #E4BDDD

Accessibility & contrast

On white

3.63
#C166AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#C166AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166AF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166AF#FFFFFF#000000##000000
##C166AF1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#667EB2
Deuteranopia (green-blind)
#7F8BAC
Tritanopia (blue-blind)
#C96A82
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c166af;
/* rgb */ color: rgb(193, 102, 175);
/* oklch */ color: oklch(64.0% 0.147 335.0);
Tailwind
colors: {
  custom: {
    50: '#d694c7',
    500: '#c166af',
    950: '#000000',
  },
}
SCSS
$custom: #c166af;
$custom-light: #d694c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c166af",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 311.868,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63964,
    "c": 0.14698,
    "h": 335
  },
  "luminance": 0.23935
}

Semantic roles & 50–950 ramp

primary
#C166AF
secondary
#AFD4B6
accent
#D26E56
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140D13
muted
#837E82

Preview Lab

Preview with #C166AF

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

Preview Lab → · Contrast checker → · Palette generator →

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