#C170B3#C170B3

#C170B3 is a light, vivid pink. Relative luminance 0.262; OKLCH L 65.6% C 0.133 H 333.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#C170B3
RGBrgb(193, 112, 179)
HSLhsl(310, 40%, 60%)
HSVhsv(310, 42%, 76%)
CMYKcmyk(0%, 42%, 7.3%, 24.3%)
CIE-LABlab(58.21, 41.64, -21.91)
CIE-LCHlch(58.21, 47.05, 332.25°)
OKLaboklab(65.65% 0.1192 -0.0591)
OKLCHoklch(65.65% 0.133 333.6)
XYZxyz(35.9230, 26.1825, 45.8006)
Luminance0.2618 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170B3 #70C17E
analogous
#A670C1 #C170B3 #C1708B
triadic
#C170B3 #B3C170 #70B3C1
tetradic
#C170B3 #C1A670 #70C17E #708BC1
square
#C170B3 #C1A670 #70C17E #708BC1
split-complementary
#C170B3 #8BC170 #70C1A6
monochromatic
#7F3773 #AA4A99 #C170B3 #D49BCA #E6C5E0

Accessibility & contrast

On white

3.37
#C170B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#C170B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170B3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170B3#FFFFFF#000000##000000
##C170B31.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F85B5
Deuteranopia (green-blind)
#8490B1
Tritanopia (blue-blind)
#C87489
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c170b3;
/* rgb */ color: rgb(193, 112, 179);
/* oklch */ color: oklch(65.6% 0.133 333.6);
Tailwind
colors: {
  custom: {
    50: '#d59bca',
    500: '#c170b3',
    950: '#000000',
  },
}
SCSS
$custom: #c170b3;
$custom-light: #d59bca;
$custom-dark: #000000;
JSON
{
  "hex": "#c170b3",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 179
  },
  "hsl": {
    "h": 310.37,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6565,
    "c": 0.13309,
    "h": 333.6
  },
  "luminance": 0.2618
}

Semantic roles & 50–950 ramp

primary
#C170B3
secondary
#B7D6BC
accent
#CF6D58
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82

Preview Lab

Preview with #C170B3

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

Preview Lab → · Contrast checker → · Palette generator →

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