#D171BE#D171BE

#D171BE is a light, vivid pink. Relative luminance 0.291; OKLCH L 68.2% C 0.153 H 335.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#D171BE
RGBrgb(209, 113, 190)
HSLhsl(312, 51%, 63%)
HSVhsv(312, 46%, 82%)
CMYKcmyk(0%, 45.9%, 9.1%, 18%)
CIE-LABlab(60.86, 48.02, -23.95)
CIE-LCHlch(60.86, 53.66, 333.49°)
OKLaboklab(68.2% 0.1386 -0.0647)
OKLCHoklch(68.2% 0.153 335)
XYZxyz(41.4939, 29.0858, 52.1338)
Luminance0.2908 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D171BE #71D184
analogous
#B471D1 #D171BE #D1718E
triadic
#D171BE #BED171 #71BED1
tetradic
#D171BE #D1B471 #71D184 #718ED1
square
#D171BE #D1B471 #71D184 #718ED1
split-complementary
#D171BE #8ED171 #71D1B4
monochromatic
#973183 #C243A9 #D171BE #E09FD3 #EFCDE8

Accessibility & contrast

On white

3.08
#D171BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#D171BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D171BE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D171BE#FFFFFF#000000##000000
##D171BE1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC1
Deuteranopia (green-blind)
#8B98BB
Tritanopia (blue-blind)
#D9768F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d171be;
/* rgb */ color: rgb(209, 113, 190);
/* oklch */ color: oklch(68.2% 0.153 335.0);
Tailwind
colors: {
  custom: {
    50: '#e19cd1',
    500: '#d171be',
    950: '#000000',
  },
}
SCSS
$custom: #d171be;
$custom-light: #e19cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#d171be",
  "rgb": {
    "r": 209,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 311.875,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68202,
    "c": 0.1529,
    "h": 335
  },
  "luminance": 0.29083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D171BE

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

Preview Lab → · Contrast checker → · Palette generator →

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