#D171BB#D171BB

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

Color values

HEX#D171BB
RGBrgb(209, 113, 187)
HSLhsl(314, 51%, 63%)
HSVhsv(314, 46%, 82%)
CMYKcmyk(0%, 45.9%, 10.5%, 18%)
CIE-LABlab(60.74, 47.52, -22.42)
CIE-LCHlch(60.74, 52.55, 334.74°)
OKLaboklab(68.08% 0.1378 -0.0604)
OKLCHoklch(68.08% 0.15 336.3)
XYZxyz(41.1694, 28.9560, 50.4247)
Luminance0.2895 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D171BB #71D187
analogous
#B771D1 #D171BB #D1718B
triadic
#D171BB #BBD171 #71BBD1
tetradic
#D171BB #D1B771 #71D187 #718BD1
square
#D171BB #D1B771 #71D187 #718BD1
split-complementary
#D171BB #8BD171 #71D1B7
monochromatic
#97317F #C243A5 #D171BB #E09FD1 #EFCDE7

Accessibility & contrast

On white

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

On black

6.79
#D171BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D171BB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D171BB#FFFFFF#000000##000000
##D171BB1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABE
Deuteranopia (green-blind)
#8C98B8
Tritanopia (blue-blind)
#DA758D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d171bb;
/* rgb */ color: rgb(209, 113, 187);
/* oklch */ color: oklch(68.1% 0.150 336.3);
Tailwind
colors: {
  custom: {
    50: '#e19ccf',
    500: '#d171bb',
    950: '#000000',
  },
}
SCSS
$custom: #d171bb;
$custom-light: #e19ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#d171bb",
  "rgb": {
    "r": 209,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 313.75,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68078,
    "c": 0.15048,
    "h": 336.3
  },
  "luminance": 0.28953
}

Semantic roles & 50–950 ramp

primary
#D171BB
secondary
#BEE0C6
accent
#BE4A27
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D171BB

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

Preview Lab → · Contrast checker → · Palette generator →

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