#C170AF#C170AF

#C170AF is a light, vivid pink. Relative luminance 0.260; OKLCH L 65.5% C 0.130 H 335.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#C170AF
RGBrgb(193, 112, 175)
HSLhsl(313, 40%, 60%)
HSVhsv(313, 42%, 76%)
CMYKcmyk(0%, 42%, 9.3%, 24.3%)
CIE-LABlab(58.06, 40.94, -19.84)
CIE-LCHlch(58.06, 45.50, 334.15°)
OKLaboklab(65.49% 0.1182 -0.0534)
OKLCHoklch(65.49% 0.13 335.7)
XYZxyz(35.5243, 26.0230, 43.7009)
Luminance0.2602 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170AF #70C182
analogous
#AA70C1 #C170AF #C17087
triadic
#C170AF #AFC170 #70AFC1
tetradic
#C170AF #C1AA70 #70C182 #7087C1
square
#C170AF #C1AA70 #70C182 #7087C1
split-complementary
#C170AF #87C170 #70C1AA
monochromatic
#7F376F #AA4A95 #C170AF #D49BC7 #E6C5DF

Accessibility & contrast

On white

3.38
#C170AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#C170AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170AF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170AF#FFFFFF#000000##000000
##C170AF1.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7184B1
Deuteranopia (green-blind)
#8690AD
Tritanopia (blue-blind)
#C87388
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c170af;
/* rgb */ color: rgb(193, 112, 175);
/* oklch */ color: oklch(65.5% 0.130 335.7);
Tailwind
colors: {
  custom: {
    50: '#d59bc7',
    500: '#c170af',
    950: '#000000',
  },
}
SCSS
$custom: #c170af;
$custom-light: #d59bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c170af",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 313.333,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65487,
    "c": 0.12968,
    "h": 335.7
  },
  "luminance": 0.26021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C170AF

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

Preview Lab → · Contrast checker → · Palette generator →

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