#C170A0#C170A0

#C170A0 is a light, moderate pink. Relative luminance 0.255; OKLCH L 64.9% C 0.118 H 344.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#C170A0
RGBrgb(193, 112, 160)
HSLhsl(324, 40%, 60%)
HSVhsv(324, 42%, 76%)
CMYKcmyk(0%, 42%, 17.1%, 24.3%)
CIE-LABlab(57.53, 38.47, -12.00)
CIE-LCHlch(57.53, 40.30, 342.68°)
OKLaboklab(64.91% 0.1139 -0.0317)
OKLCHoklch(64.91% 0.118 344.5)
XYZxyz(34.1321, 25.4661, 36.3686)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170A0 #70C191
analogous
#B970C1 #C170A0 #C17078
triadic
#C170A0 #A0C170 #70A0C1
tetradic
#C170A0 #C1B970 #70C191 #7078C1
square
#C170A0 #C1B970 #70C191 #7078C1
split-complementary
#C170A0 #78C170 #70C1B9
monochromatic
#7F3762 #AA4A83 #C170A0 #D49BBC #E6C5D9

Accessibility & contrast

On white

3.45
#C170A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#C170A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170A0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170A0#FFFFFF#000000##000000
##C170A01.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7682A2
Deuteranopia (green-blind)
#8A8F9E
Tritanopia (blue-blind)
#CB7082
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c170a0;
/* rgb */ color: rgb(193, 112, 160);
/* oklch */ color: oklch(64.9% 0.118 344.5);
Tailwind
colors: {
  custom: {
    50: '#d59bbc',
    500: '#c170a0',
    950: '#000000',
  },
}
SCSS
$custom: #c170a0;
$custom-light: #d59bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#c170a0",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 160
  },
  "hsl": {
    "h": 324.444,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64911,
    "c": 0.1182,
    "h": 344.5
  },
  "luminance": 0.25464
}

Semantic roles & 50–950 ramp

primary
#C170A0
secondary
#B7D6C4
accent
#CF8958
background
#FDF9FB
surface
#FAF2F6
border
#D3CCD0
text
#140E12
muted
#837E81

Preview Lab

Preview with #C170A0

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

Preview Lab → · Contrast checker → · Palette generator →

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