#D17FAC#D17FAC

#D17FAC is a light, moderate pink. Relative luminance 0.317; OKLCH L 69.7% C 0.115 H 346.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D17FAC
RGBrgb(209, 127, 172)
HSLhsl(327, 47%, 66%)
HSVhsv(327, 39%, 82%)
CMYKcmyk(0%, 39.2%, 17.7%, 18%)
CIE-LABlab(63.11, 37.83, -10.31)
CIE-LCHlch(63.11, 39.21, 344.76°)
OKLaboklab(69.69% 0.1122 -0.027)
OKLCHoklch(69.69% 0.115 346.4)
XYZxyz(41.3308, 31.7152, 42.9664)
Luminance0.3171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FAC #7FD1A4
analogous
#CD7FD1 #D17FAC #D17F83
triadic
#D17FAC #ACD17F #7FACD1
tetradic
#D17FAC #D1CD7F #7FD1A4 #7F83D1
square
#D17FAC #D1CD7F #7FD1A4 #7F83D1
split-complementary
#D17FAC #83D17F #7FD1CD
monochromatic
#9D3870 #C1528F #D17FAC #E1ACC9 #F1D9E6

Accessibility & contrast

On white

2.86
#D17FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#D17FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FAC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FAC#FFFFFF#000000##000000
##D17FAC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8590AE
Deuteranopia (green-blind)
#9A9EAA
Tritanopia (blue-blind)
#DB7E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d17fac;
/* rgb */ color: rgb(209, 127, 172);
/* oklch */ color: oklch(69.7% 0.115 346.4);
Tailwind
colors: {
  custom: {
    50: '#e0a5c4',
    500: '#d17fac',
    950: '#000000',
  },
}
SCSS
$custom: #d17fac;
$custom-light: #e0a5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d17fac",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 327.073,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69686,
    "c": 0.11543,
    "h": 346.4
  },
  "luminance": 0.31713
}

Semantic roles & 50–950 ramp

primary
#D17FAC
secondary
#C8E3D5
accent
#BA6C2B
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #D17FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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