#C170BB#C170BB

#C170BB is a light, vivid purple. Relative luminance 0.265; OKLCH L 66.0% C 0.140 H 329.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#C170BB
RGBrgb(193, 112, 187)
HSLhsl(304, 40%, 60%)
HSVhsv(304, 42%, 76%)
CMYKcmyk(0%, 42%, 3.1%, 24.3%)
CIE-LABlab(58.52, 43.06, -26.00)
CIE-LCHlch(58.52, 50.30, 328.87°)
OKLaboklab(65.99% 0.1212 -0.0707)
OKLCHoklch(65.99% 0.14 329.7)
XYZxyz(36.7556, 26.5155, 50.1860)
Luminance0.2651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170BB #70C176
analogous
#9E70C1 #C170BB #C17093
triadic
#C170BB #BBC170 #70BBC1
tetradic
#C170BB #C19E70 #70C176 #7093C1
square
#C170BB #C19E70 #70C176 #7093C1
split-complementary
#C170BB #93C170 #70C19E
monochromatic
#7F377A #AA4AA3 #C170BB #D49BCF #E6C5E4

Accessibility & contrast

On white

3.33
#C170BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#C170BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170BB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170BB#FFFFFF#000000##000000
##C170BB1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BE
Deuteranopia (green-blind)
#8291B8
Tritanopia (blue-blind)
#C7768D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c170bb;
/* rgb */ color: rgb(193, 112, 187);
/* oklch */ color: oklch(66.0% 0.140 329.7);
Tailwind
colors: {
  custom: {
    50: '#d59bcf',
    500: '#c170bb',
    950: '#000000',
  },
}
SCSS
$custom: #c170bb;
$custom-light: #d59bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#c170bb",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 304.444,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65988,
    "c": 0.14027,
    "h": 329.7
  },
  "luminance": 0.26514
}

Semantic roles & 50–950 ramp

primary
#C170BB
secondary
#B7D6B9
accent
#CF6158
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #C170BB

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

Preview Lab → · Contrast checker → · Palette generator →

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