#D171BC#D171BC

#D171BC is a light, vivid pink. Relative luminance 0.290; OKLCH L 68.1% C 0.151 H 335.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#D171BC
RGBrgb(209, 113, 188)
HSLhsl(313, 51%, 63%)
HSVhsv(313, 46%, 82%)
CMYKcmyk(0%, 45.9%, 10%, 18%)
CIE-LABlab(60.78, 47.69, -22.93)
CIE-LCHlch(60.78, 52.92, 334.32°)
OKLaboklab(68.12% 0.1381 -0.0618)
OKLCHoklch(68.12% 0.151 335.9)
XYZxyz(41.2768, 28.9990, 50.9905)
Luminance0.2900 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D171BC #71D186
analogous
#B671D1 #D171BC #D1718C
triadic
#D171BC #BCD171 #71BCD1
tetradic
#D171BC #D1B671 #71D186 #718CD1
square
#D171BC #D1B671 #71D186 #718CD1
split-complementary
#D171BC #8CD171 #71D1B6
monochromatic
#973180 #C243A6 #D171BC #E09FD2 #EFCDE8

Accessibility & contrast

On white

3.09
#D171BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#D171BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D171BC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D171BC#FFFFFF#000000##000000
##D171BC1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABF
Deuteranopia (green-blind)
#8C98B9
Tritanopia (blue-blind)
#DA758E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d171bc;
/* rgb */ color: rgb(209, 113, 188);
/* oklch */ color: oklch(68.1% 0.151 335.9);
Tailwind
colors: {
  custom: {
    50: '#e19cd0',
    500: '#d171bc',
    950: '#000000',
  },
}
SCSS
$custom: #d171bc;
$custom-light: #e19cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d171bc",
  "rgb": {
    "r": 209,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 313.125,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68119,
    "c": 0.15127,
    "h": 335.9
  },
  "luminance": 0.28996
}

Semantic roles & 50–950 ramp

primary
#D171BC
secondary
#BEE0C5
accent
#BE4827
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D171BC

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

Preview Lab → · Contrast checker → · Palette generator →

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