#D172BB#D172BB

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

Color values

HEX#D172BB
RGBrgb(209, 114, 187)
HSLhsl(314, 51%, 63%)
HSVhsv(314, 45%, 82%)
CMYKcmyk(0%, 45.5%, 10.5%, 18%)
CIE-LABlab(60.94, 47.01, -22.12)
CIE-LCHlch(60.94, 51.96, 334.80°)
OKLaboklab(68.23% 0.1364 -0.0595)
OKLCHoklch(68.23% 0.149 336.4)
XYZxyz(41.2815, 29.1804, 50.4621)
Luminance0.2918 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D172BB #72D188
analogous
#B772D1 #D172BB #D1728B
triadic
#D172BB #BBD172 #72BBD1
tetradic
#D172BB #D1B772 #72D188 #728BD1
square
#D172BB #D1B772 #72D188 #728BD1
split-complementary
#D172BB #8BD172 #72D1B7
monochromatic
#973180 #C244A5 #D172BB #E0A0D1 #EFCEE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D172BB#FFFFFF#000000##000000
##D172BB1.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)
#738ABE
Deuteranopia (green-blind)
#8D98B8
Tritanopia (blue-blind)
#DA768E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d172bb;
/* rgb */ color: rgb(209, 114, 187);
/* oklch */ color: oklch(68.2% 0.149 336.4);
Tailwind
colors: {
  custom: {
    50: '#e19dcf',
    500: '#d172bb',
    950: '#000000',
  },
}
SCSS
$custom: #d172bb;
$custom-light: #e19dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#d172bb",
  "rgb": {
    "r": 209,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 313.895,
    "s": 50.802,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68226,
    "c": 0.14878,
    "h": 336.4
  },
  "luminance": 0.29178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D172BB

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

Preview Lab → · Contrast checker → · Palette generator →

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