#D17DB2#D17DB2

#D17DB2 is a light, vivid pink. Relative luminance 0.314; OKLCH L 69.6% C 0.123 H 342.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D17DB2
RGBrgb(209, 125, 178)
HSLhsl(322, 48%, 65%)
HSVhsv(322, 40%, 82%)
CMYKcmyk(0%, 40.2%, 14.8%, 18%)
CIE-LABlab(62.88, 39.83, -14.06)
CIE-LCHlch(62.88, 42.24, 340.56°)
OKLaboklab(69.58% 0.1172 -0.0373)
OKLCHoklch(69.58% 0.123 342.3)
XYZxyz(41.6643, 31.4394, 45.9847)
Luminance0.3144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17DB2 #7DD19C
analogous
#C67DD1 #D17DB2 #D17D88
triadic
#D17DB2 #B2D17D #7DB2D1
tetradic
#D17DB2 #D1C67D #7DD19C #7D88D1
square
#D17DB2 #D1C67D #7DD19C #7D88D1
split-complementary
#D17DB2 #88D17D #7DD1C6
monochromatic
#9C3777 #C15097 #D17DB2 #E1AACD #F1D7E8

Accessibility & contrast

On white

2.88
#D17DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#D17DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17DB2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17DB2#FFFFFF#000000##000000
##D17DB21.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8290B4
Deuteranopia (green-blind)
#979DB0
Tritanopia (blue-blind)
#DB7D90
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d17db2;
/* rgb */ color: rgb(209, 125, 178);
/* oklch */ color: oklch(69.6% 0.123 342.3);
Tailwind
colors: {
  custom: {
    50: '#e0a4c9',
    500: '#d17db2',
    950: '#000000',
  },
}
SCSS
$custom: #d17db2;
$custom-light: #e0a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d17db2",
  "rgb": {
    "r": 209,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 322.143,
    "s": 47.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69577,
    "c": 0.12298,
    "h": 342.3
  },
  "luminance": 0.31437
}

Semantic roles & 50–950 ramp

primary
#D17DB2
secondary
#C7E3D1
accent
#BB602B
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #D17DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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