#D172BE#D172BE

#D172BE is a light, vivid pink. Relative luminance 0.293; OKLCH L 68.3% C 0.151 H 335.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#D172BE
RGBrgb(209, 114, 190)
HSLhsl(312, 51%, 63%)
HSVhsv(312, 45%, 82%)
CMYKcmyk(0%, 45.5%, 9.1%, 18%)
CIE-LABlab(61.05, 47.51, -23.65)
CIE-LCHlch(61.05, 53.07, 333.54°)
OKLaboklab(68.35% 0.1371 -0.0638)
OKLCHoklch(68.35% 0.151 335)
XYZxyz(41.6060, 29.3102, 52.1712)
Luminance0.2931 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D172BE #72D185
analogous
#B472D1 #D172BE #D1728E
triadic
#D172BE #BED172 #72BED1
tetradic
#D172BE #D1B472 #72D185 #728ED1
square
#D172BE #D1B472 #72D185 #728ED1
split-complementary
#D172BE #8ED172 #72D1B4
monochromatic
#973183 #C244A9 #D172BE #E0A0D3 #EFCEE9

Accessibility & contrast

On white

3.06
#D172BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#D172BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D172BE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D172BE#FFFFFF#000000##000000
##D172BE1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#728BC1
Deuteranopia (green-blind)
#8C98BB
Tritanopia (blue-blind)
#D9768F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d172be;
/* rgb */ color: rgb(209, 114, 190);
/* oklch */ color: oklch(68.3% 0.151 335.0);
Tailwind
colors: {
  custom: {
    50: '#e19dd1',
    500: '#d172be',
    950: '#000000',
  },
}
SCSS
$custom: #d172be;
$custom-light: #e19dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#d172be",
  "rgb": {
    "r": 209,
    "g": 114,
    "b": 190
  },
  "hsl": {
    "h": 312,
    "s": 50.802,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68349,
    "c": 0.15122,
    "h": 335
  },
  "luminance": 0.29308
}

Semantic roles & 50–950 ramp

primary
#D172BE
secondary
#BEE0C5
accent
#BE4627
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#150E14
muted
#847E82

Preview Lab

Preview with #D172BE

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

Preview Lab → · Contrast checker → · Palette generator →

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