#D173AF#D173AF

#D173AF is a light, vivid pink. Relative luminance 0.289; OKLCH L 67.9% C 0.138 H 342.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#D173AF
RGBrgb(209, 115, 175)
HSLhsl(322, 51%, 64%)
HSVhsv(322, 45%, 82%)
CMYKcmyk(0%, 45%, 16.3%, 18%)
CIE-LABlab(60.71, 44.57, -15.63)
CIE-LCHlch(60.71, 47.23, 340.68°)
OKLaboklab(67.91% 0.1317 -0.0415)
OKLCHoklch(67.91% 0.138 342.5)
XYZxyz(40.1636, 28.9147, 44.0148)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173AF #73D195
analogous
#C473D1 #D173AF #D17380
triadic
#D173AF #AFD173 #73AFD1
tetradic
#D173AF #D1C473 #73D195 #7380D1
square
#D173AF #D1C473 #73D195 #7380D1
split-complementary
#D173AF #80D173 #73D1C4
monochromatic
#983273 #C24595 #D173AF #E0A1C9 #EFCFE4

Accessibility & contrast

On white

3.10
#D173AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#D173AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D173AF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173AF#FFFFFF#000000##000000
##D173AF1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7989B1
Deuteranopia (green-blind)
#9198AC
Tritanopia (blue-blind)
#DB7389
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d173af;
/* rgb */ color: rgb(209, 115, 175);
/* oklch */ color: oklch(67.9% 0.138 342.5);
Tailwind
colors: {
  custom: {
    50: '#e19ec7',
    500: '#d173af',
    950: '#000000',
  },
}
SCSS
$custom: #d173af;
$custom-light: #e19ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#d173af",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 175
  },
  "hsl": {
    "h": 321.702,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67908,
    "c": 0.13805,
    "h": 342.5
  },
  "luminance": 0.28912
}

Semantic roles & 50–950 ramp

primary
#D173AF
secondary
#BFE1CB
accent
#BE5E28
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82

Preview Lab

Preview with #D173AF

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

Preview Lab → · Contrast checker → · Palette generator →

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