#C170AD#C170AD

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

Color values

HEX#C170AD
RGBrgb(193, 112, 173)
HSLhsl(315, 40%, 60%)
HSVhsv(315, 42%, 76%)
CMYKcmyk(0%, 42%, 10.4%, 24.3%)
CIE-LABlab(57.98, 40.60, -18.80)
CIE-LCHlch(57.98, 44.75, 335.15°)
OKLaboklab(65.41% 0.1177 -0.0505)
OKLCHoklch(65.41% 0.128 336.8)
XYZxyz(35.3293, 25.9450, 42.6741)
Luminance0.2594 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170AD #70C184
analogous
#AD70C1 #C170AD #C17085
triadic
#C170AD #ADC170 #70ADC1
tetradic
#C170AD #C1AD70 #70C184 #7085C1
square
#C170AD #C1AD70 #70C184 #7085C1
split-complementary
#C170AD #85C170 #70C1AD
monochromatic
#7F376E #AA4A92 #C170AD #D49BC5 #E6C5DE

Accessibility & contrast

On white

3.39
#C170AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#C170AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170AD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170AD#FFFFFF#000000##000000
##C170AD1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7184AF
Deuteranopia (green-blind)
#8690AB
Tritanopia (blue-blind)
#C97387
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c170ad;
/* rgb */ color: rgb(193, 112, 173);
/* oklch */ color: oklch(65.4% 0.128 336.8);
Tailwind
colors: {
  custom: {
    50: '#d59bc5',
    500: '#c170ad',
    950: '#000000',
  },
}
SCSS
$custom: #c170ad;
$custom-light: #d59bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c170ad",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 173
  },
  "hsl": {
    "h": 314.815,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65407,
    "c": 0.12802,
    "h": 336.8
  },
  "luminance": 0.25943
}

Semantic roles & 50–950 ramp

primary
#C170AD
secondary
#B7D6BE
accent
#CF7658
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82

Preview Lab

Preview with #C170AD

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

Preview Lab → · Contrast checker → · Palette generator →

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