#C170A9#C170A9

#C170A9 is a light, vivid pink. Relative luminance 0.258; OKLCH L 65.3% C 0.125 H 339.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#C170A9
RGBrgb(193, 112, 169)
HSLhsl(318, 40%, 60%)
HSVhsv(318, 42%, 76%)
CMYKcmyk(0%, 42%, 12.4%, 24.3%)
CIE-LABlab(57.84, 39.93, -16.72)
CIE-LCHlch(57.84, 43.29, 337.28°)
OKLaboklab(65.25% 0.1165 -0.0447)
OKLCHoklch(65.25% 0.125 339)
XYZxyz(34.9481, 25.7925, 40.6661)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170A9 #70C188
analogous
#B170C1 #C170A9 #C17081
triadic
#C170A9 #A9C170 #70A9C1
tetradic
#C170A9 #C1B170 #70C188 #7081C1
square
#C170A9 #C1B170 #70C188 #7081C1
split-complementary
#C170A9 #81C170 #70C1B1
monochromatic
#7F376A #AA4A8E #C170A9 #D49BC3 #E6C5DC

Accessibility & contrast

On white

3.41
#C170A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#C170A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170A9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170A9#FFFFFF#000000##000000
##C170A91.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7383AB
Deuteranopia (green-blind)
#8890A7
Tritanopia (blue-blind)
#C97285
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c170a9;
/* rgb */ color: rgb(193, 112, 169);
/* oklch */ color: oklch(65.3% 0.125 339.0);
Tailwind
colors: {
  custom: {
    50: '#d59bc2',
    500: '#c170a9',
    950: '#000000',
  },
}
SCSS
$custom: #c170a9;
$custom-light: #d59bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#c170a9",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 169
  },
  "hsl": {
    "h": 317.778,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6525,
    "c": 0.12481,
    "h": 339
  },
  "luminance": 0.2579
}

Semantic roles & 50–950 ramp

primary
#C170A9
secondary
#B7D6C0
accent
#CF7C58
background
#FDF9FB
surface
#FAF2F7
border
#D3CCD0
text
#140E12
muted
#837E81

Preview Lab

Preview with #C170A9

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

Preview Lab → · Contrast checker → · Palette generator →

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