#D173CB#D173CB

#D173CB is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.0% C 0.161 H 329.5°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#D173CB
RGBrgb(209, 115, 203)
HSLhsl(304, 51%, 64%)
HSVhsv(304, 45%, 82%)
CMYKcmyk(0%, 45%, 2.9%, 18%)
CIE-LABlab(61.77, 49.24, -29.91)
CIE-LCHlch(61.77, 57.61, 328.72°)
OKLaboklab(69.05% 0.1385 -0.0815)
OKLCHoklch(69.05% 0.161 329.5)
XYZxyz(43.2042, 30.1309, 60.0285)
Luminance0.3013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173CB #73D179
analogous
#A873D1 #D173CB #D1739C
triadic
#D173CB #CBD173 #73CBD1
tetradic
#D173CB #D1A873 #73D179 #739CD1
square
#D173CB #D1A873 #73D179 #739CD1
split-complementary
#D173CB #9CD173 #73D1A8
monochromatic
#983291 #C245BA #D173CB #E0A1DC #EFCFED

Accessibility & contrast

On white

2.99
#D173CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#D173CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D173CB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173CB#FFFFFF#000000##000000
##D173CB1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCE
Deuteranopia (green-blind)
#889AC8
Tritanopia (blue-blind)
#D77B96
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d173cb;
/* rgb */ color: rgb(209, 115, 203);
/* oklch */ color: oklch(69.0% 0.161 329.5);
Tailwind
colors: {
  custom: {
    50: '#e19edb',
    500: '#d173cb',
    950: '#000000',
  },
}
SCSS
$custom: #d173cb;
$custom-light: #e19edb;
$custom-dark: #000000;
JSON
{
  "hex": "#d173cb",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 303.83,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6905,
    "c": 0.16071,
    "h": 329.5
  },
  "luminance": 0.30129
}

Semantic roles & 50–950 ramp

primary
#D173CB
secondary
#BFE1C1
accent
#BE3128
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#150F15
muted
#847E83

Preview Lab

Preview with #D173CB

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

Preview Lab → · Contrast checker → · Palette generator →

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