#D17FC2#D17FC2

#D17FC2 is a light, vivid pink. Relative luminance 0.326; OKLCH L 70.5% C 0.132 H 333.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D17FC2
RGBrgb(209, 127, 194)
HSLhsl(311, 47%, 66%)
HSVhsv(311, 39%, 82%)
CMYKcmyk(0%, 39.2%, 7.2%, 18%)
CIE-LABlab(63.86, 41.45, -21.62)
CIE-LCHlch(63.86, 46.75, 332.45°)
OKLaboklab(70.51% 0.1187 -0.0583)
OKLCHoklch(70.51% 0.132 333.8)
XYZxyz(43.6212, 32.6314, 55.0293)
Luminance0.3263 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FC2 #7FD18E
analogous
#B77FD1 #D17FC2 #D17F99
triadic
#D17FC2 #C2D17F #7FC2D1
tetradic
#D17FC2 #D1B77F #7FD18E #7F99D1
square
#D17FC2 #D1B77F #7FD18E #7F99D1
split-complementary
#D17FC2 #99D17F #7FD1B7
monochromatic
#9D388B #C152AD #D17FC2 #E1ACD7 #F1D9ED

Accessibility & contrast

On white

2.79
#D17FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#D17FC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FC2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FC2#FFFFFF#000000##000000
##D17FC21.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E93C4
Deuteranopia (green-blind)
#939FC0
Tritanopia (blue-blind)
#D88398
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d17fc2;
/* rgb */ color: rgb(209, 127, 194);
/* oklch */ color: oklch(70.5% 0.132 333.8);
Tailwind
colors: {
  custom: {
    50: '#e0a6d4',
    500: '#d17fc2',
    950: '#000000',
  },
}
SCSS
$custom: #d17fc2;
$custom-light: #e0a6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d17fc2",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 310.976,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70505,
    "c": 0.13218,
    "h": 333.8
  },
  "luminance": 0.32629
}

Semantic roles & 50–950 ramp

primary
#D17FC2
secondary
#C8E3CD
accent
#BA452B
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #D17FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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