#D17EA2#D17EA2

#D17EA2 is a light, moderate pink. Relative luminance 0.311; OKLCH L 69.2% C 0.111 H 352.9°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#D17EA2
RGBrgb(209, 126, 162)
HSLhsl(334, 47%, 66%)
HSVhsv(334, 40%, 82%)
CMYKcmyk(0%, 39.7%, 22.5%, 18%)
CIE-LABlab(62.58, 36.84, -5.39)
CIE-LCHlch(62.58, 37.24, 351.67°)
OKLaboklab(69.19% 0.1105 -0.0138)
OKLCHoklch(69.19% 0.111 352.9)
XYZxyz(40.2778, 31.0884, 38.0546)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EA2 #7ED1AD
analogous
#D17ECB #D17EA2 #D1837E
triadic
#D17EA2 #A2D17E #7EA2D1
tetradic
#D17EA2 #CBD17E #7ED1AD #837ED1
square
#D17EA2 #CBD17E #7ED1AD #837ED1
split-complementary
#D17EA2 #7ED183 #7ECBD1
monochromatic
#9D3864 #C15181 #D17EA2 #E1ABC3 #F1D8E3

Accessibility & contrast

On white

2.91
#D17EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#D17EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17EA2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17EA2#FFFFFF#000000##000000
##D17EA21.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#878FA3
Deuteranopia (green-blind)
#9C9DA0
Tritanopia (blue-blind)
#DD7B8B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d17ea2;
/* rgb */ color: rgb(209, 126, 162);
/* oklch */ color: oklch(69.2% 0.111 352.9);
Tailwind
colors: {
  custom: {
    50: '#e1a5bd',
    500: '#d17ea2',
    950: '#000000',
  },
}
SCSS
$custom: #d17ea2;
$custom-light: #e1a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ea2",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 333.976,
    "s": 47.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69186,
    "c": 0.11136,
    "h": 352.9
  },
  "luminance": 0.31086
}

Semantic roles & 50–950 ramp

primary
#D17EA2
secondary
#C8E3D7
accent
#BB7C2B
background
#FEFAFB
surface
#FCF4F6
border
#D5CED0
text
#150F12
muted
#847F81

Preview Lab

Preview with #D17EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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