#D17DA2#D17DA2

#D17DA2 is a light, moderate pink. Relative luminance 0.308; OKLCH L 69.0% C 0.113 H 352.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#D17DA2
RGBrgb(209, 125, 162)
HSLhsl(334, 48%, 65%)
HSVhsv(334, 40%, 82%)
CMYKcmyk(0%, 40.2%, 22.5%, 18%)
CIE-LABlab(62.37, 37.37, -5.71)
CIE-LCHlch(62.37, 37.81, 351.31°)
OKLaboklab(69.02% 0.1121 -0.0146)
OKLCHoklch(69.02% 0.113 352.6)
XYZxyz(40.1505, 30.8339, 38.0122)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17DA2 #7DD1AC
analogous
#D17DCC #D17DA2 #D1827D
triadic
#D17DA2 #A2D17D #7DA2D1
tetradic
#D17DA2 #CCD17D #7DD1AC #827DD1
square
#D17DA2 #CCD17D #7DD1AC #827DD1
split-complementary
#D17DA2 #7DD182 #7DCCD1
monochromatic
#9C3764 #C15082 #D17DA2 #E1AAC2 #F1D7E3

Accessibility & contrast

On white

2.93
#D17DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D17DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17DA2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17DA2#FFFFFF#000000##000000
##D17DA21.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA3
Deuteranopia (green-blind)
#9B9CA0
Tritanopia (blue-blind)
#DD7A8A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d17da2;
/* rgb */ color: rgb(209, 125, 162);
/* oklch */ color: oklch(69.0% 0.113 352.6);
Tailwind
colors: {
  custom: {
    50: '#e1a4bd',
    500: '#d17da2',
    950: '#000000',
  },
}
SCSS
$custom: #d17da2;
$custom-light: #e1a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d17da2",
  "rgb": {
    "r": 209,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 333.571,
    "s": 47.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69023,
    "c": 0.11303,
    "h": 352.6
  },
  "luminance": 0.30831
}

Semantic roles & 50–950 ramp

primary
#D17DA2
secondary
#C7E3D7
accent
#BB7B2B
background
#FEFAFB
surface
#FCF4F6
border
#D5CED0
text
#150F12
muted
#847F81

Preview Lab

Preview with #D17DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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