#D173A2#D173A2

#D173A2 is a light, vivid pink. Relative luminance 0.284; OKLCH L 67.4% C 0.130 H 349.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#D173A2
RGBrgb(209, 115, 162)
HSLhsl(330, 51%, 64%)
HSVhsv(330, 45%, 82%)
CMYKcmyk(0%, 45%, 22.5%, 18%)
CIE-LABlab(60.27, 42.61, -8.82)
CIE-LCHlch(60.27, 43.52, 348.30°)
OKLaboklab(67.44% 0.1278 -0.0229)
OKLCHoklch(67.44% 0.13 349.8)
XYZxyz(38.9477, 28.4283, 37.6113)
Luminance0.2843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173A2 #73D1A2
analogous
#D173D1 #D173A2 #D17373
triadic
#D173A2 #A2D173 #73A2D1
tetradic
#D173A2 #D1D173 #73D1A2 #7373D1
square
#D173A2 #D1D173 #73D1A2 #7373D1
split-complementary
#D173A2 #73D173 #73D1D1
monochromatic
#983265 #C24583 #D173A2 #E0A1C1 #EFCFDF

Accessibility & contrast

On white

3.14
#D173A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#D173A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D173A2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173A2#FFFFFF#000000##000000
##D173A21.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D87A4
Deuteranopia (green-blind)
#9597A0
Tritanopia (blue-blind)
#DD7084
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d173a2;
/* rgb */ color: rgb(209, 115, 162);
/* oklch */ color: oklch(67.4% 0.130 349.8);
Tailwind
colors: {
  custom: {
    50: '#e19dbd',
    500: '#d173a2',
    950: '#000000',
  },
}
SCSS
$custom: #d173a2;
$custom-light: #e19dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#d173a2",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 162
  },
  "hsl": {
    "h": 330,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6744,
    "c": 0.12979,
    "h": 349.8
  },
  "luminance": 0.28425
}

Semantic roles & 50–950 ramp

primary
#D173A2
secondary
#BFE1D0
accent
#BE7328
background
#FEF9FB
surface
#FCF2F6
border
#D5CCD0
text
#160E12
muted
#847E81

Preview Lab

Preview with #D173A2

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

Preview Lab → · Contrast checker → · Palette generator →

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