#D172BC#D172BC

#D172BC is a light, vivid pink. Relative luminance 0.292; OKLCH L 68.3% C 0.150 H 335.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#D172BC
RGBrgb(209, 114, 188)
HSLhsl(313, 51%, 63%)
HSVhsv(313, 45%, 82%)
CMYKcmyk(0%, 45.5%, 10%, 18%)
CIE-LABlab(60.98, 47.18, -22.63)
CIE-LCHlch(60.98, 52.33, 334.38°)
OKLaboklab(68.27% 0.1366 -0.061)
OKLCHoklch(68.27% 0.15 335.9)
XYZxyz(41.3890, 29.2234, 51.0279)
Luminance0.2922 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D172BC #72D187
analogous
#B672D1 #D172BC #D1728C
triadic
#D172BC #BCD172 #72BCD1
tetradic
#D172BC #D1B672 #72D187 #728CD1
square
#D172BC #D1B672 #72D187 #728CD1
split-complementary
#D172BC #8CD172 #72D1B6
monochromatic
#973181 #C244A6 #D172BC #E0A0D2 #EFCEE8

Accessibility & contrast

On white

3.07
#D172BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#D172BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D172BC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D172BC#FFFFFF#000000##000000
##D172BC1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABF
Deuteranopia (green-blind)
#8D98B9
Tritanopia (blue-blind)
#DA768E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d172bc;
/* rgb */ color: rgb(209, 114, 188);
/* oklch */ color: oklch(68.3% 0.150 335.9);
Tailwind
colors: {
  custom: {
    50: '#e19dd0',
    500: '#d172bc',
    950: '#000000',
  },
}
SCSS
$custom: #d172bc;
$custom-light: #e19dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d172bc",
  "rgb": {
    "r": 209,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 313.263,
    "s": 50.802,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68267,
    "c": 0.14959,
    "h": 335.9
  },
  "luminance": 0.29221
}

Semantic roles & 50–950 ramp

primary
#D172BC
secondary
#BEE0C6
accent
#BE4927
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#150E14
muted
#847E82

Preview Lab

Preview with #D172BC

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

Preview Lab → · Contrast checker → · Palette generator →

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