#D170BC#D170BC

#D170BC is a light, vivid pink. Relative luminance 0.288; OKLCH L 68.0% C 0.153 H 335.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#D170BC
RGBrgb(209, 112, 188)
HSLhsl(313, 51%, 63%)
HSVhsv(313, 46%, 82%)
CMYKcmyk(0%, 46.4%, 10%, 18%)
CIE-LABlab(60.58, 48.19, -23.23)
CIE-LCHlch(60.58, 53.50, 334.26°)
OKLaboklab(67.97% 0.1396 -0.0626)
OKLCHoklch(67.97% 0.153 335.8)
XYZxyz(41.1658, 28.7771, 50.9535)
Luminance0.2877 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D170BC #70D185
analogous
#B670D1 #D170BC #D1708B
triadic
#D170BC #BCD170 #70BCD1
tetradic
#D170BC #D1B670 #70D185 #708BD1
square
#D170BC #D1B670 #70D185 #708BD1
split-complementary
#D170BC #8BD170 #70D1B6
monochromatic
#963080 #C242A6 #D170BC #E09ED2 #EFCDE7

Accessibility & contrast

On white

3.11
#D170BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#D170BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D170BC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D170BC#FFFFFF#000000##000000
##D170BC1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BF
Deuteranopia (green-blind)
#8B97B9
Tritanopia (blue-blind)
#DA748D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d170bc;
/* rgb */ color: rgb(209, 112, 188);
/* oklch */ color: oklch(68.0% 0.153 335.8);
Tailwind
colors: {
  custom: {
    50: '#e19cd0',
    500: '#d170bc',
    950: '#000000',
  },
}
SCSS
$custom: #d170bc;
$custom-light: #e19cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d170bc",
  "rgb": {
    "r": 209,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 312.99,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67972,
    "c": 0.15297,
    "h": 335.8
  },
  "luminance": 0.28774
}

Semantic roles & 50–950 ramp

primary
#D170BC
secondary
#BDE0C4
accent
#BF4827
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D170BC

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

Preview Lab → · Contrast checker → · Palette generator →

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