#C170AC#C170AC

#C170AC is a light, vivid pink. Relative luminance 0.259; OKLCH L 65.4% C 0.127 H 337.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#C170AC
RGBrgb(193, 112, 172)
HSLhsl(316, 40%, 60%)
HSVhsv(316, 42%, 76%)
CMYKcmyk(0%, 42%, 10.9%, 24.3%)
CIE-LABlab(57.95, 40.43, -18.28)
CIE-LCHlch(57.95, 44.38, 335.67°)
OKLaboklab(65.37% 0.1174 -0.049)
OKLCHoklch(65.37% 0.127 337.3)
XYZxyz(35.2329, 25.9064, 42.1664)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170AC #70C185
analogous
#AE70C1 #C170AC #C17083
triadic
#C170AC #ACC170 #70ACC1
tetradic
#C170AC #C1AE70 #70C185 #7083C1
square
#C170AC #C1AE70 #70C185 #7083C1
split-complementary
#C170AC #83C170 #70C1AE
monochromatic
#7F376D #AA4A91 #C170AC #D49BC5 #E6C5DE

Accessibility & contrast

On white

3.40
#C170AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#C170AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170AC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170AC#FFFFFF#000000##000000
##C170AC1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7284AE
Deuteranopia (green-blind)
#8790AA
Tritanopia (blue-blind)
#C97386
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c170ac;
/* rgb */ color: rgb(193, 112, 172);
/* oklch */ color: oklch(65.4% 0.127 337.3);
Tailwind
colors: {
  custom: {
    50: '#d59bc4',
    500: '#c170ac',
    950: '#000000',
  },
}
SCSS
$custom: #c170ac;
$custom-light: #d59bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c170ac",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 172
  },
  "hsl": {
    "h": 315.556,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65367,
    "c": 0.12721,
    "h": 337.3
  },
  "luminance": 0.25904
}

Semantic roles & 50–950 ramp

primary
#C170AC
secondary
#B7D6BF
accent
#CF7758
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E12
muted
#837E81

Preview Lab

Preview with #C170AC

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

Preview Lab → · Contrast checker → · Palette generator →

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