#D173BC#D173BC

#D173BC is a light, vivid pink. Relative luminance 0.294; OKLCH L 68.4% C 0.148 H 336.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#D173BC
RGBrgb(209, 115, 188)
HSLhsl(313, 51%, 64%)
HSVhsv(313, 45%, 82%)
CMYKcmyk(0%, 45%, 10%, 18%)
CIE-LABlab(61.18, 46.67, -22.33)
CIE-LCHlch(61.18, 51.73, 334.43°)
OKLaboklab(68.42% 0.1351 -0.0601)
OKLCHoklch(68.42% 0.148 336)
XYZxyz(41.5024, 29.4502, 51.0657)
Luminance0.2945 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173BC #73D188
analogous
#B773D1 #D173BC #D1738D
triadic
#D173BC #BCD173 #73BCD1
tetradic
#D173BC #D1B773 #73D188 #738DD1
square
#D173BC #D1B773 #73D188 #738DD1
split-complementary
#D173BC #8DD173 #73D1B7
monochromatic
#983281 #C245A6 #D173BC #E0A1D2 #EFCFE8

Accessibility & contrast

On white

3.05
#D173BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#D173BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D173BC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173BC#FFFFFF#000000##000000
##D173BC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BBF
Deuteranopia (green-blind)
#8D99B9
Tritanopia (blue-blind)
#D9778F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d173bc;
/* rgb */ color: rgb(209, 115, 188);
/* oklch */ color: oklch(68.4% 0.148 336.0);
Tailwind
colors: {
  custom: {
    50: '#e19ed0',
    500: '#d173bc',
    950: '#000000',
  },
}
SCSS
$custom: #d173bc;
$custom-light: #e19ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#d173bc",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 313.404,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68416,
    "c": 0.14789,
    "h": 336
  },
  "luminance": 0.29448
}

Semantic roles & 50–950 ramp

primary
#D173BC
secondary
#BFE1C7
accent
#BE4928
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#150F14
muted
#847E82

Preview Lab

Preview with #D173BC

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

Preview Lab → · Contrast checker → · Palette generator →

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