#D170BE#D170BE

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

Color values

HEX#D170BE
RGBrgb(209, 112, 190)
HSLhsl(312, 51%, 63%)
HSVhsv(312, 46%, 82%)
CMYKcmyk(0%, 46.4%, 9.1%, 18%)
CIE-LABlab(60.66, 48.53, -24.25)
CIE-LCHlch(60.66, 54.25, 333.44°)
OKLaboklab(68.05% 0.14 -0.0655)
OKLCHoklch(68.05% 0.155 334.9)
XYZxyz(41.3829, 28.8639, 52.0968)
Luminance0.2886 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D170BE #70D183
analogous
#B470D1 #D170BE #D1708D
triadic
#D170BE #BED170 #70BED1
tetradic
#D170BE #D1B470 #70D183 #708DD1
square
#D170BE #D1B470 #70D183 #708DD1
split-complementary
#D170BE #8DD170 #70D1B4
monochromatic
#963082 #C242A9 #D170BE #E09ED3 #EFCDE8

Accessibility & contrast

On white

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

On black

6.77
#D170BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D170BE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D170BE#FFFFFF#000000##000000
##D170BE1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089C1
Deuteranopia (green-blind)
#8B98BB
Tritanopia (blue-blind)
#D9758E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d170be;
/* rgb */ color: rgb(209, 112, 190);
/* oklch */ color: oklch(68.1% 0.155 334.9);
Tailwind
colors: {
  custom: {
    50: '#e19cd1',
    500: '#d170be',
    950: '#000000',
  },
}
SCSS
$custom: #d170be;
$custom-light: #e19cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#d170be",
  "rgb": {
    "r": 209,
    "g": 112,
    "b": 190
  },
  "hsl": {
    "h": 311.753,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68055,
    "c": 0.15459,
    "h": 334.9
  },
  "luminance": 0.28861
}

Semantic roles & 50–950 ramp

primary
#D170BE
secondary
#BDE0C4
accent
#BF4527
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E14
muted
#847E82

Preview Lab

Preview with #D170BE

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

Preview Lab → · Contrast checker → · Palette generator →

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