#C170AE#C170AE

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

Color values

HEX#C170AE
RGBrgb(193, 112, 174)
HSLhsl(314, 40%, 60%)
HSVhsv(314, 42%, 76%)
CMYKcmyk(0%, 42%, 9.8%, 24.3%)
CIE-LABlab(58.02, 40.77, -19.32)
CIE-LCHlch(58.02, 45.12, 334.64°)
OKLaboklab(65.45% 0.1179 -0.0519)
OKLCHoklch(65.45% 0.129 336.2)
XYZxyz(35.4264, 25.9838, 43.1856)
Luminance0.2598 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170AE #70C183
analogous
#AB70C1 #C170AE #C17086
triadic
#C170AE #AEC170 #70AEC1
tetradic
#C170AE #C1AB70 #70C183 #7086C1
square
#C170AE #C1AB70 #70C183 #7086C1
split-complementary
#C170AE #86C170 #70C1AB
monochromatic
#7F376E #AA4A93 #C170AE #D49BC6 #E6C5DE

Accessibility & contrast

On white

3.39
#C170AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C170AE#FFFFFF#000000##000000
##C170AE1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7184B0
Deuteranopia (green-blind)
#8690AC
Tritanopia (blue-blind)
#C97387
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c170ae;
/* rgb */ color: rgb(193, 112, 174);
/* oklch */ color: oklch(65.4% 0.129 336.2);
Tailwind
colors: {
  custom: {
    50: '#d59bc6',
    500: '#c170ae',
    950: '#000000',
  },
}
SCSS
$custom: #c170ae;
$custom-light: #d59bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c170ae",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 174
  },
  "hsl": {
    "h": 314.074,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65447,
    "c": 0.12884,
    "h": 336.2
  },
  "luminance": 0.25982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C170AE

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

Preview Lab → · Contrast checker → · Palette generator →

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