#C170B0#C170B0

#C170B0 is a light, vivid pink. Relative luminance 0.261; OKLCH L 65.5% C 0.131 H 335.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#C170B0
RGBrgb(193, 112, 176)
HSLhsl(313, 40%, 60%)
HSVhsv(313, 42%, 76%)
CMYKcmyk(0%, 42%, 8.8%, 24.3%)
CIE-LABlab(58.10, 41.12, -20.36)
CIE-LCHlch(58.10, 45.88, 333.66°)
OKLaboklab(65.53% 0.1185 -0.0548)
OKLCHoklch(65.53% 0.131 335.2)
XYZxyz(35.6229, 26.0624, 44.2201)
Luminance0.2606 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170B0 #70C181
analogous
#AA70C1 #C170B0 #C17087
triadic
#C170B0 #B0C170 #70B0C1
tetradic
#C170B0 #C1AA70 #70C181 #7087C1
square
#C170B0 #C1AA70 #70C181 #7087C1
split-complementary
#C170B0 #87C170 #70C1AA
monochromatic
#7F3770 #AA4A96 #C170B0 #D49BC8 #E6C5DF

Accessibility & contrast

On white

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

On black

6.21
#C170B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170B0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170B0#FFFFFF#000000##000000
##C170B01.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7084B2
Deuteranopia (green-blind)
#8590AE
Tritanopia (blue-blind)
#C87488
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c170b0;
/* rgb */ color: rgb(193, 112, 176);
/* oklch */ color: oklch(65.5% 0.131 335.2);
Tailwind
colors: {
  custom: {
    50: '#d59bc7',
    500: '#c170b0',
    950: '#000000',
  },
}
SCSS
$custom: #c170b0;
$custom-light: #d59bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c170b0",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 176
  },
  "hsl": {
    "h": 312.593,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65527,
    "c": 0.13052,
    "h": 335.2
  },
  "luminance": 0.2606
}

Semantic roles & 50–950 ramp

primary
#C170B0
secondary
#B7D6BD
accent
#CF7158
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82

Preview Lab

Preview with #C170B0

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

Preview Lab → · Contrast checker → · Palette generator →

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