#C170A3#C170A3

#C170A3 is a light, vivid pink. Relative luminance 0.256; OKLCH L 65.0% C 0.120 H 342.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#C170A3
RGBrgb(193, 112, 163)
HSLhsl(322, 40%, 60%)
HSVhsv(322, 42%, 76%)
CMYKcmyk(0%, 42%, 15.5%, 24.3%)
CIE-LABlab(57.63, 38.95, -13.58)
CIE-LCHlch(57.63, 41.25, 340.78°)
OKLaboklab(65.02% 0.1148 -0.036)
OKLCHoklch(65.02% 0.12 342.6)
XYZxyz(34.3977, 25.5723, 37.7674)
Luminance0.2557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170A3 #70C18E
analogous
#B670C1 #C170A3 #C1707B
triadic
#C170A3 #A3C170 #70A3C1
tetradic
#C170A3 #C1B670 #70C18E #707BC1
square
#C170A3 #C1B670 #70C18E #707BC1
split-complementary
#C170A3 #7BC170 #70C1B6
monochromatic
#7F3765 #AA4A86 #C170A3 #D49BBE #E6C5DA

Accessibility & contrast

On white

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

On black

6.11
#C170A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170A3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170A3#FFFFFF#000000##000000
##C170A31.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7582A5
Deuteranopia (green-blind)
#898FA1
Tritanopia (blue-blind)
#CA7083
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c170a3;
/* rgb */ color: rgb(193, 112, 163);
/* oklch */ color: oklch(65.0% 0.120 342.6);
Tailwind
colors: {
  custom: {
    50: '#d59bbe',
    500: '#c170a3',
    950: '#000000',
  },
}
SCSS
$custom: #c170a3;
$custom-light: #d59bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c170a3",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 163
  },
  "hsl": {
    "h": 322.222,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65021,
    "c": 0.12031,
    "h": 342.6
  },
  "luminance": 0.2557
}

Semantic roles & 50–950 ramp

primary
#C170A3
secondary
#B7D6C2
accent
#CF8458
background
#FDF9FB
surface
#FAF2F6
border
#D3CCD0
text
#140E12
muted
#837E81

Preview Lab

Preview with #C170A3

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

Preview Lab → · Contrast checker → · Palette generator →

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