#D170BB#D170BB

#D170BB is a light, vivid pink. Relative luminance 0.287; OKLCH L 67.9% C 0.152 H 336.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#D170BB
RGBrgb(209, 112, 187)
HSLhsl(314, 51%, 63%)
HSVhsv(314, 46%, 82%)
CMYKcmyk(0%, 46.4%, 10.5%, 18%)
CIE-LABlab(60.55, 48.03, -22.72)
CIE-LCHlch(60.55, 53.13, 334.68°)
OKLaboklab(67.93% 0.1393 -0.0612)
OKLCHoklch(67.93% 0.152 336.3)
XYZxyz(41.0584, 28.7341, 50.3877)
Luminance0.2873 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D170BB #70D186
analogous
#B670D1 #D170BB #D1708A
triadic
#D170BB #BBD170 #70BBD1
tetradic
#D170BB #D1B670 #70D186 #708AD1
square
#D170BB #D1B670 #70D186 #708AD1
split-complementary
#D170BB #8AD170 #70D1B6
monochromatic
#96307F #C242A5 #D170BB #E09ED1 #EFCDE7

Accessibility & contrast

On white

3.11
#D170BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#D170BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D170BB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D170BB#FFFFFF#000000##000000
##D170BB1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BE
Deuteranopia (green-blind)
#8C97B8
Tritanopia (blue-blind)
#DA748D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d170bb;
/* rgb */ color: rgb(209, 112, 187);
/* oklch */ color: oklch(67.9% 0.152 336.3);
Tailwind
colors: {
  custom: {
    50: '#e19ccf',
    500: '#d170bb',
    950: '#000000',
  },
}
SCSS
$custom: #d170bb;
$custom-light: #e19ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#d170bb",
  "rgb": {
    "r": 209,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 313.608,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.67931,
    "c": 0.15216,
    "h": 336.3
  },
  "luminance": 0.28732
}

Semantic roles & 50–950 ramp

primary
#D170BB
secondary
#BDE0C5
accent
#BF4927
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D170BB

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

Preview Lab → · Contrast checker → · Palette generator →

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