#D173BF#D173BF

#D173BF is a light, vivid pink. Relative luminance 0.296; OKLCH L 68.5% C 0.150 H 334.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#D173BF
RGBrgb(209, 115, 191)
HSLhsl(311, 51%, 64%)
HSVhsv(311, 45%, 82%)
CMYKcmyk(0%, 45%, 8.6%, 18%)
CIE-LABlab(61.29, 47.17, -23.85)
CIE-LCHlch(61.29, 52.86, 333.17°)
OKLaboklab(68.54% 0.1358 -0.0644)
OKLCHoklch(68.54% 0.15 334.6)
XYZxyz(41.8291, 29.5809, 52.7866)
Luminance0.2958 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173BF #73D185
analogous
#B473D1 #D173BF #D17390
triadic
#D173BF #BFD173 #73BFD1
tetradic
#D173BF #D1B473 #73D185 #7390D1
square
#D173BF #D1B473 #73D185 #7390D1
split-complementary
#D173BF #90D173 #73D1B4
monochromatic
#983284 #C245AA #D173BF #E0A1D4 #EFCFE9

Accessibility & contrast

On white

3.04
#D173BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#D173BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D173BF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173BF#FFFFFF#000000##000000
##D173BF1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BC2
Deuteranopia (green-blind)
#8C99BC
Tritanopia (blue-blind)
#D97890
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d173bf;
/* rgb */ color: rgb(209, 115, 191);
/* oklch */ color: oklch(68.5% 0.150 334.6);
Tailwind
colors: {
  custom: {
    50: '#e19ed2',
    500: '#d173bf',
    950: '#000000',
  },
}
SCSS
$custom: #d173bf;
$custom-light: #e19ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#d173bf",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 311.489,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68538,
    "c": 0.15034,
    "h": 334.6
  },
  "luminance": 0.29578
}

Semantic roles & 50–950 ramp

primary
#D173BF
secondary
#BFE1C6
accent
#BE4428
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#150F14
muted
#847E82

Preview Lab

Preview with #D173BF

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

Preview Lab → · Contrast checker → · Palette generator →

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