#C170AB#C170AB

#C170AB is a light, vivid pink. Relative luminance 0.259; OKLCH L 65.3% C 0.126 H 337.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#C170AB
RGBrgb(193, 112, 171)
HSLhsl(316, 40%, 60%)
HSVhsv(316, 42%, 76%)
CMYKcmyk(0%, 42%, 11.4%, 24.3%)
CIE-LABlab(57.91, 40.27, -17.76)
CIE-LCHlch(57.91, 44.01, 336.20°)
OKLaboklab(65.33% 0.1171 -0.0476)
OKLCHoklch(65.33% 0.126 337.9)
XYZxyz(35.1373, 25.8682, 41.6625)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170AB #70C186
analogous
#AE70C1 #C170AB #C17083
triadic
#C170AB #ABC170 #70ABC1
tetradic
#C170AB #C1AE70 #70C186 #7083C1
square
#C170AB #C1AE70 #70C186 #7083C1
split-complementary
#C170AB #83C170 #70C1AE
monochromatic
#7F376C #AA4A90 #C170AB #D49BC4 #E6C5DD

Accessibility & contrast

On white

3.40
#C170AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#C170AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170AB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170AB#FFFFFF#000000##000000
##C170AB1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7284AD
Deuteranopia (green-blind)
#8790A9
Tritanopia (blue-blind)
#C97286
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c170ab;
/* rgb */ color: rgb(193, 112, 171);
/* oklch */ color: oklch(65.3% 0.126 337.9);
Tailwind
colors: {
  custom: {
    50: '#d59bc4',
    500: '#c170ab',
    950: '#000000',
  },
}
SCSS
$custom: #c170ab;
$custom-light: #d59bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c170ab",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 316.296,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65328,
    "c": 0.1264,
    "h": 337.9
  },
  "luminance": 0.25866
}

Semantic roles & 50–950 ramp

primary
#C170AB
secondary
#B7D6BF
accent
#CF7958
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E12
muted
#837E81

Preview Lab

Preview with #C170AB

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

Preview Lab → · Contrast checker → · Palette generator →

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