#D170A2#D170A2

#D170A2 is a light, vivid pink. Relative luminance 0.278; OKLCH L 67.0% C 0.135 H 349.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#D170A2
RGBrgb(209, 112, 162)
HSLhsl(329, 51%, 63%)
HSVhsv(329, 46%, 82%)
CMYKcmyk(0%, 46.4%, 22.5%, 18%)
CIE-LABlab(59.67, 44.16, -9.73)
CIE-LCHlch(59.67, 45.22, 347.57°)
OKLaboklab(66.98% 0.1324 -0.0254)
OKLCHoklch(66.98% 0.135 349.2)
XYZxyz(38.6112, 27.7553, 37.4991)
Luminance0.2775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D170A2 #70D19F
analogous
#CF70D1 #D170A2 #D17071
triadic
#D170A2 #A2D170 #70A2D1
tetradic
#D170A2 #D1CF70 #70D19F #7071D1
square
#D170A2 #D1CF70 #70D19F #7071D1
split-complementary
#D170A2 #71D170 #70D1CF
monochromatic
#963065 #C24284 #D170A2 #E09EC0 #EFCDDE

Accessibility & contrast

On white

3.21
#D170A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#D170A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D170A2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D170A2#FFFFFF#000000##000000
##D170A21.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A85A4
Deuteranopia (green-blind)
#9396A0
Tritanopia (blue-blind)
#DD6D82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d170a2;
/* rgb */ color: rgb(209, 112, 162);
/* oklch */ color: oklch(67.0% 0.135 349.2);
Tailwind
colors: {
  custom: {
    50: '#e19bbd',
    500: '#d170a2',
    950: '#000000',
  },
}
SCSS
$custom: #d170a2;
$custom-light: #e19bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#d170a2",
  "rgb": {
    "r": 209,
    "g": 112,
    "b": 162
  },
  "hsl": {
    "h": 329.072,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66983,
    "c": 0.13478,
    "h": 349.2
  },
  "luminance": 0.27752
}

Semantic roles & 50–950 ramp

primary
#D170A2
secondary
#BDE0CE
accent
#BF7027
background
#FEF9FB
surface
#FCF2F6
border
#D5CCD0
text
#160E12
muted
#847E81

Preview Lab

Preview with #D170A2

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

Preview Lab → · Contrast checker → · Palette generator →

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