#C170A5#C170A5

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

Color values

HEX#C170A5
RGBrgb(193, 112, 165)
HSLhsl(321, 40%, 60%)
HSVhsv(321, 42%, 76%)
CMYKcmyk(0%, 42%, 14.5%, 24.3%)
CIE-LABlab(57.70, 39.27, -14.63)
CIE-LCHlch(57.70, 41.91, 339.57°)
OKLaboklab(65.1% 0.1154 -0.0389)
OKLCHoklch(65.1% 0.122 341.4)
XYZxyz(34.5783, 25.6446, 38.7186)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170A5 #70C18C
analogous
#B570C1 #C170A5 #C1707D
triadic
#C170A5 #A5C170 #70A5C1
tetradic
#C170A5 #C1B570 #70C18C #707DC1
square
#C170A5 #C1B570 #70C18C #707DC1
split-complementary
#C170A5 #7DC170 #70C1B5
monochromatic
#7F3766 #AA4A89 #C170A5 #D49BC0 #E6C5DB

Accessibility & contrast

On white

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

On black

6.13
#C170A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170A5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170A5#FFFFFF#000000##000000
##C170A51.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7483A7
Deuteranopia (green-blind)
#898FA3
Tritanopia (blue-blind)
#CA7184
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c170a5;
/* rgb */ color: rgb(193, 112, 165);
/* oklch */ color: oklch(65.1% 0.122 341.4);
Tailwind
colors: {
  custom: {
    50: '#d59bbf',
    500: '#c170a5',
    950: '#000000',
  },
}
SCSS
$custom: #c170a5;
$custom-light: #d59bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#c170a5",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 165
  },
  "hsl": {
    "h": 320.741,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65096,
    "c": 0.12176,
    "h": 341.4
  },
  "luminance": 0.25642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C170A5

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

Preview Lab → · Contrast checker → · Palette generator →

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