#D17FC0#D17FC0

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

Color values

HEX#D17FC0
RGBrgb(209, 127, 192)
HSLhsl(312, 47%, 66%)
HSVhsv(312, 39%, 82%)
CMYKcmyk(0%, 39.2%, 8.1%, 18%)
CIE-LABlab(63.79, 41.10, -20.60)
CIE-LCHlch(63.79, 45.98, 333.38°)
OKLaboklab(70.43% 0.1181 -0.0554)
OKLCHoklch(70.43% 0.13 334.9)
XYZxyz(43.3981, 32.5421, 53.8543)
Luminance0.3254 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FC0 #7FD190
analogous
#B97FD1 #D17FC0 #D17F97
triadic
#D17FC0 #C0D17F #7FC0D1
tetradic
#D17FC0 #D1B97F #7FD190 #7F97D1
square
#D17FC0 #D1B97F #7FD190 #7F97D1
split-complementary
#D17FC0 #97D17F #7FD1B9
monochromatic
#9D3888 #C152AA #D17FC0 #E1ACD6 #F1D9EC

Accessibility & contrast

On white

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

On black

7.51
#D17FC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FC0
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FC0#FFFFFF#000000##000000
##D17FC01.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F93C2
Deuteranopia (green-blind)
#949FBE
Tritanopia (blue-blind)
#D88397
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d17fc0;
/* rgb */ color: rgb(209, 127, 192);
/* oklch */ color: oklch(70.4% 0.130 334.9);
Tailwind
colors: {
  custom: {
    50: '#e0a6d3',
    500: '#d17fc0',
    950: '#000000',
  },
}
SCSS
$custom: #d17fc0;
$custom-light: #e0a6d3;
$custom-dark: #000000;
JSON
{
  "hex": "#d17fc0",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 192
  },
  "hsl": {
    "h": 312.439,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70426,
    "c": 0.13047,
    "h": 334.9
  },
  "luminance": 0.3254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D17FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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