#D17FBD#D17FBD

#D17FBD is a light, vivid pink. Relative luminance 0.324; OKLCH L 70.3% C 0.128 H 336.4°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D17FBD
RGBrgb(209, 127, 189)
HSLhsl(315, 47%, 66%)
HSVhsv(315, 39%, 82%)
CMYKcmyk(0%, 39.2%, 9.6%, 18%)
CIE-LABlab(63.68, 40.59, -19.07)
CIE-LCHlch(63.68, 44.85, 334.83°)
OKLaboklab(70.31% 0.1173 -0.0512)
OKLCHoklch(70.31% 0.128 336.4)
XYZxyz(43.0691, 32.4105, 52.1215)
Luminance0.3241 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FBD #7FD193
analogous
#BC7FD1 #D17FBD #D17F94
triadic
#D17FBD #BDD17F #7FBDD1
tetradic
#D17FBD #D1BC7F #7FD193 #7F94D1
square
#D17FBD #D1BC7F #7FD193 #7F94D1
split-complementary
#D17FBD #94D17F #7FD1BC
monochromatic
#9D3885 #C152A6 #D17FBD #E1ACD4 #F1D9EB

Accessibility & contrast

On white

2.81
#D17FBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#D17FBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FBD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FBD#FFFFFF#000000##000000
##D17FBD1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8093BF
Deuteranopia (green-blind)
#959FBB
Tritanopia (blue-blind)
#D98296
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d17fbd;
/* rgb */ color: rgb(209, 127, 189);
/* oklch */ color: oklch(70.3% 0.128 336.4);
Tailwind
colors: {
  custom: {
    50: '#e0a6d1',
    500: '#d17fbd',
    950: '#000000',
  },
}
SCSS
$custom: #d17fbd;
$custom-light: #e0a6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d17fbd",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 189
  },
  "hsl": {
    "h": 314.634,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.7031,
    "c": 0.12797,
    "h": 336.4
  },
  "luminance": 0.32408
}

Semantic roles & 50–950 ramp

primary
#D17FBD
secondary
#C8E3CF
accent
#BA4E2B
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #D17FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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