#C170A4#C170A4

#C170A4 is a light, vivid pink. Relative luminance 0.256; OKLCH L 65.1% C 0.121 H 342.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#C170A4
RGBrgb(193, 112, 164)
HSLhsl(321, 40%, 60%)
HSVhsv(321, 42%, 76%)
CMYKcmyk(0%, 42%, 15%, 24.3%)
CIE-LABlab(57.66, 39.11, -14.10)
CIE-LCHlch(57.66, 41.58, 340.17°)
OKLaboklab(65.06% 0.1151 -0.0375)
OKLCHoklch(65.06% 0.121 342)
XYZxyz(34.4876, 25.6083, 38.2412)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170A4 #70C18D
analogous
#B570C1 #C170A4 #C1707C
triadic
#C170A4 #A4C170 #70A4C1
tetradic
#C170A4 #C1B570 #70C18D #707CC1
square
#C170A4 #C1B570 #70C18D #707CC1
split-complementary
#C170A4 #7CC170 #70C1B5
monochromatic
#7F3766 #AA4A88 #C170A4 #D49BBF #E6C5DA

Accessibility & contrast

On white

3.43
#C170A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#C170A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170A4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170A4#FFFFFF#000000##000000
##C170A41.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7483A6
Deuteranopia (green-blind)
#898FA2
Tritanopia (blue-blind)
#CA7183
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c170a4;
/* rgb */ color: rgb(193, 112, 164);
/* oklch */ color: oklch(65.1% 0.121 342.0);
Tailwind
colors: {
  custom: {
    50: '#d59bbf',
    500: '#c170a4',
    950: '#000000',
  },
}
SCSS
$custom: #c170a4;
$custom-light: #d59bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#c170a4",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 164
  },
  "hsl": {
    "h": 321.481,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65059,
    "c": 0.12103,
    "h": 342
  },
  "luminance": 0.25606
}

Semantic roles & 50–950 ramp

primary
#C170A4
secondary
#B7D6C2
accent
#CF8358
background
#FDF9FB
surface
#FAF2F7
border
#D3CCD0
text
#140E12
muted
#837E81

Preview Lab

Preview with #C170A4

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

Preview Lab → · Contrast checker → · Palette generator →

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