#D17CC2#D17CC2

#D17CC2 is a light, vivid pink. Relative luminance 0.319; OKLCH L 70.0% C 0.137 H 333.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D17CC2
RGBrgb(209, 124, 194)
HSLhsl(311, 48%, 65%)
HSVhsv(311, 41%, 82%)
CMYKcmyk(0%, 40.7%, 7.2%, 18%)
CIE-LABlab(63.23, 43.02, -22.58)
CIE-LCHlch(63.23, 48.59, 332.31°)
OKLaboklab(70.03% 0.1232 -0.0609)
OKLCHoklch(70.03% 0.137 333.7)
XYZxyz(43.2395, 31.8680, 54.9021)
Luminance0.3187 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CC2 #7CD18B
analogous
#B57CD1 #D17CC2 #D17C97
triadic
#D17CC2 #C2D17C #7CC2D1
tetradic
#D17CC2 #D1B57C #7CD18B #7C97D1
square
#D17CC2 #D1B57C #7CD18B #7C97D1
split-complementary
#D17CC2 #97D17C #7CD1B5
monochromatic
#9C378A #C14FAD #D17CC2 #E1A9D7 #F1D7EC

Accessibility & contrast

On white

2.85
#D17CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D17CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CC2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CC2#FFFFFF#000000##000000
##D17CC21.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B91C5
Deuteranopia (green-blind)
#919EBF
Tritanopia (blue-blind)
#D88096
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d17cc2;
/* rgb */ color: rgb(209, 124, 194);
/* oklch */ color: oklch(70.0% 0.137 333.7);
Tailwind
colors: {
  custom: {
    50: '#e0a4d4',
    500: '#d17cc2',
    950: '#000000',
  },
}
SCSS
$custom: #d17cc2;
$custom-light: #e0a4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cc2",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 310.588,
    "s": 48.023,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70033,
    "c": 0.13741,
    "h": 333.7
  },
  "luminance": 0.31866
}

Semantic roles & 50–950 ramp

primary
#D17CC2
secondary
#C6E3CB
accent
#BB442A
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #D17CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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