#D17EA5#D17EA5

#D17EA5 is a light, moderate pink. Relative luminance 0.312; OKLCH L 69.3% C 0.113 H 350.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#D17EA5
RGBrgb(209, 126, 165)
HSLhsl(332, 47%, 66%)
HSVhsv(332, 40%, 82%)
CMYKcmyk(0%, 39.7%, 21.1%, 18%)
CIE-LABlab(62.67, 37.29, -6.97)
CIE-LCHlch(62.67, 37.93, 349.42°)
OKLaboklab(69.29% 0.1115 -0.018)
OKLCHoklch(69.29% 0.113 350.8)
XYZxyz(40.5476, 31.1963, 39.4759)
Luminance0.3119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EA5 #7ED1AA
analogous
#D17ECF #D17EA5 #D1807E
triadic
#D17EA5 #A5D17E #7EA5D1
tetradic
#D17EA5 #CFD17E #7ED1AA #807ED1
square
#D17EA5 #CFD17E #7ED1AA #807ED1
split-complementary
#D17EA5 #7ED180 #7ECFD1
monochromatic
#9D3867 #C15186 #D17EA5 #E1ABC4 #F1D8E4

Accessibility & contrast

On white

2.90
#D17EA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#D17EA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17EA5
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17EA5#FFFFFF#000000##000000
##D17EA51.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#868FA6
Deuteranopia (green-blind)
#9B9DA3
Tritanopia (blue-blind)
#DC7B8C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d17ea5;
/* rgb */ color: rgb(209, 126, 165);
/* oklch */ color: oklch(69.3% 0.113 350.8);
Tailwind
colors: {
  custom: {
    50: '#e1a5bf',
    500: '#d17ea5',
    950: '#000000',
  },
}
SCSS
$custom: #d17ea5;
$custom-light: #e1a5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ea5",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 331.807,
    "s": 47.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69285,
    "c": 0.11296,
    "h": 350.8
  },
  "luminance": 0.31194
}

Semantic roles & 50–950 ramp

primary
#D17EA5
secondary
#C8E3D6
accent
#BB772B
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #D17EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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