#D17FBF#D17FBF

#D17FBF is a light, vivid pink. Relative luminance 0.325; OKLCH L 70.4% C 0.130 H 335.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#D17FBF
RGBrgb(209, 127, 191)
HSLhsl(313, 47%, 66%)
HSVhsv(313, 39%, 82%)
CMYKcmyk(0%, 39.2%, 8.6%, 18%)
CIE-LABlab(63.75, 40.93, -20.09)
CIE-LCHlch(63.75, 45.60, 333.85°)
OKLaboklab(70.39% 0.1179 -0.054)
OKLCHoklch(70.39% 0.13 335.4)
XYZxyz(43.2877, 32.4980, 53.2728)
Luminance0.3250 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FBF #7FD191
analogous
#BA7FD1 #D17FBF #D17F96
triadic
#D17FBF #BFD17F #7FBFD1
tetradic
#D17FBF #D1BA7F #7FD191 #7F96D1
square
#D17FBF #D1BA7F #7FD191 #7F96D1
split-complementary
#D17FBF #96D17F #7FD1BA
monochromatic
#9D3887 #C152A8 #D17FBF #E1ACD6 #F1D9EC

Accessibility & contrast

On white

2.80
#D17FBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#D17FBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FBF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FBF#FFFFFF#000000##000000
##D17FBF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F93C1
Deuteranopia (green-blind)
#949FBD
Tritanopia (blue-blind)
#D98297
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d17fbf;
/* rgb */ color: rgb(209, 127, 191);
/* oklch */ color: oklch(70.4% 0.130 335.4);
Tailwind
colors: {
  custom: {
    50: '#e0a6d2',
    500: '#d17fbf',
    950: '#000000',
  },
}
SCSS
$custom: #d17fbf;
$custom-light: #e0a6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d17fbf",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 313.171,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70387,
    "c": 0.12963,
    "h": 335.4
  },
  "luminance": 0.32496
}

Semantic roles & 50–950 ramp

primary
#D17FBF
secondary
#C8E3CE
accent
#BA4B2B
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #D17FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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