#D17FB2#D17FB2

#D17FB2 is a light, moderate pink. Relative luminance 0.319; OKLCH L 69.9% C 0.119 H 342.7°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D17FB2
RGBrgb(209, 127, 178)
HSLhsl(323, 47%, 66%)
HSVhsv(323, 39%, 82%)
CMYKcmyk(0%, 39.2%, 14.8%, 18%)
CIE-LABlab(63.30, 38.78, -13.42)
CIE-LCHlch(63.30, 41.03, 340.91°)
OKLaboklab(69.9% 0.1141 -0.0355)
OKLCHoklch(69.9% 0.12 342.7)
XYZxyz(41.9201, 31.9509, 46.0700)
Luminance0.3195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FB2 #7FD19E
analogous
#C77FD1 #D17FB2 #D17F89
triadic
#D17FB2 #B2D17F #7FB2D1
tetradic
#D17FB2 #D1C77F #7FD19E #7F89D1
square
#D17FB2 #D1C77F #7FD19E #7F89D1
split-complementary
#D17FB2 #89D17F #7FD1C7
monochromatic
#9D3877 #C15297 #D17FB2 #E1ACCD #F1D9E8

Accessibility & contrast

On white

2.84
#D17FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D17FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FB2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FB2#FFFFFF#000000##000000
##D17FB21.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8491B4
Deuteranopia (green-blind)
#989EB0
Tritanopia (blue-blind)
#DA7F91
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d17fb2;
/* rgb */ color: rgb(209, 127, 178);
/* oklch */ color: oklch(69.9% 0.119 342.7);
Tailwind
colors: {
  custom: {
    50: '#e0a5c9',
    500: '#d17fb2',
    950: '#000000',
  },
}
SCSS
$custom: #d17fb2;
$custom-light: #e0a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d17fb2",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 322.683,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69899,
    "c": 0.1195,
    "h": 342.7
  },
  "luminance": 0.31948
}

Semantic roles & 50–950 ramp

primary
#D17FB2
secondary
#C8E3D3
accent
#BA612B
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #D17FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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