#D170BF#D170BF

#D170BF is a light, vivid pink. Relative luminance 0.289; OKLCH L 68.1% C 0.155 H 334.5°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#D170BF
RGBrgb(209, 112, 191)
HSLhsl(311, 51%, 63%)
HSVhsv(311, 46%, 82%)
CMYKcmyk(0%, 46.4%, 8.6%, 18%)
CIE-LABlab(60.70, 48.69, -24.76)
CIE-LCHlch(60.70, 54.63, 333.05°)
OKLaboklab(68.1% 0.1403 -0.0669)
OKLCHoklch(68.1% 0.155 334.5)
XYZxyz(41.4926, 28.9078, 52.6744)
Luminance0.2890 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D170BF #70D182
analogous
#B270D1 #D170BF #D1708E
triadic
#D170BF #BFD170 #70BFD1
tetradic
#D170BF #D1B270 #70D182 #708ED1
square
#D170BF #D1B270 #70D182 #708ED1
split-complementary
#D170BF #8ED170 #70D1B2
monochromatic
#963083 #C242AA #D170BF #E09ED4 #EFCDE8

Accessibility & contrast

On white

3.10
#D170BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#D170BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D170BF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D170BF#FFFFFF#000000##000000
##D170BF1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089C2
Deuteranopia (green-blind)
#8A98BC
Tritanopia (blue-blind)
#D9758F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d170bf;
/* rgb */ color: rgb(209, 112, 191);
/* oklch */ color: oklch(68.1% 0.155 334.5);
Tailwind
colors: {
  custom: {
    50: '#e19cd2',
    500: '#d170bf',
    950: '#000000',
  },
}
SCSS
$custom: #d170bf;
$custom-light: #e19cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#d170bf",
  "rgb": {
    "r": 209,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 311.134,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68097,
    "c": 0.15541,
    "h": 334.5
  },
  "luminance": 0.28905
}

Semantic roles & 50–950 ramp

primary
#D170BF
secondary
#BDE0C3
accent
#BF4327
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D170BF

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

Preview Lab → · Contrast checker → · Palette generator →

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