#D170CB#D170CB

#D170CB is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.6% C 0.166 H 329.5°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#D170CB
RGBrgb(209, 112, 203)
HSLhsl(304, 51%, 63%)
HSVhsv(304, 46%, 82%)
CMYKcmyk(0%, 46.4%, 2.9%, 18%)
CIE-LABlab(61.18, 50.75, -30.82)
CIE-LCHlch(61.18, 59.38, 328.73°)
OKLaboklab(68.62% 0.1428 -0.0841)
OKLCHoklch(68.62% 0.166 329.5)
XYZxyz(42.8676, 29.4578, 59.9163)
Luminance0.2945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D170CB #70D176
analogous
#A670D1 #D170CB #D1709B
triadic
#D170CB #CBD170 #70CBD1
tetradic
#D170CB #D1A670 #70D176 #709BD1
square
#D170CB #D1A670 #70D176 #709BD1
split-complementary
#D170CB #9BD170 #70D1A6
monochromatic
#963090 #C242BA #D170CB #E09EDC #EFCDED

Accessibility & contrast

On white

3.05
#D170CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#D170CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D170CB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D170CB#FFFFFF#000000##000000
##D170CB1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#8698C8
Tritanopia (blue-blind)
#D77894
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d170cb;
/* rgb */ color: rgb(209, 112, 203);
/* oklch */ color: oklch(68.6% 0.166 329.5);
Tailwind
colors: {
  custom: {
    50: '#e19cdb',
    500: '#d170cb',
    950: '#000000',
  },
}
SCSS
$custom: #d170cb;
$custom-light: #e19cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d170cb",
  "rgb": {
    "r": 209,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 303.711,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68616,
    "c": 0.16571,
    "h": 329.5
  },
  "luminance": 0.29455
}

Semantic roles & 50–950 ramp

primary
#D170CB
secondary
#BDE0BF
accent
#BF3027
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D170CB

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

Preview Lab → · Contrast checker → · Palette generator →

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