#D173BE#D173BE

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

Color values

HEX#D173BE
RGBrgb(209, 115, 190)
HSLhsl(312, 51%, 64%)
HSVhsv(312, 45%, 82%)
CMYKcmyk(0%, 45%, 9.1%, 18%)
CIE-LABlab(61.25, 47.00, -23.35)
CIE-LCHlch(61.25, 52.48, 333.59°)
OKLaboklab(68.5% 0.1356 -0.063)
OKLCHoklch(68.5% 0.15 335.1)
XYZxyz(41.7195, 29.5370, 52.2090)
Luminance0.2953 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D173BE #73D186
analogous
#B573D1 #D173BE #D1738F
triadic
#D173BE #BED173 #73BED1
tetradic
#D173BE #D1B573 #73D186 #738FD1
square
#D173BE #D1B573 #73D186 #738FD1
split-complementary
#D173BE #8FD173 #73D1B5
monochromatic
#983283 #C245A9 #D173BE #E0A1D3 #EFCFE9

Accessibility & contrast

On white

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

On black

6.91
#D173BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D173BE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D173BE#FFFFFF#000000##000000
##D173BE1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BC1
Deuteranopia (green-blind)
#8D99BB
Tritanopia (blue-blind)
#D97790
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d173be;
/* rgb */ color: rgb(209, 115, 190);
/* oklch */ color: oklch(68.5% 0.150 335.1);
Tailwind
colors: {
  custom: {
    50: '#e19ed1',
    500: '#d173be',
    950: '#000000',
  },
}
SCSS
$custom: #d173be;
$custom-light: #e19ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#d173be",
  "rgb": {
    "r": 209,
    "g": 115,
    "b": 190
  },
  "hsl": {
    "h": 312.128,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68497,
    "c": 0.14952,
    "h": 335.1
  },
  "luminance": 0.29534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D173BE

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

Preview Lab → · Contrast checker → · Palette generator →

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