#D162AB#D162AB

#D162AB is a light, vivid pink. Relative luminance 0.252; OKLCH L 65.3% C 0.163 H 342.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#D162AB
RGBrgb(209, 98, 171)
HSLhsl(321, 55%, 60%)
HSVhsv(321, 53%, 82%)
CMYKcmyk(0%, 53.1%, 18.2%, 18%)
CIE-LABlab(57.30, 52.43, -18.49)
CIE-LCHlch(57.30, 55.59, 340.57°)
OKLaboklab(65.32% 0.1557 -0.0493)
OKLCHoklch(65.32% 0.163 342.4)
XYZxyz(38.0136, 25.2340, 41.3887)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162AB #62D188
analogous
#C062D1 #D162AB #D16273
triadic
#D162AB #ABD162 #62ABD1
tetradic
#D162AB #D1C062 #62D188 #6273D1
square
#D162AB #D1C062 #62D188 #6273D1
split-complementary
#D162AB #73D162 #62D1C0
monochromatic
#8F2A6C #BE3890 #D162AB #DF91C4 #EDC1DE

Accessibility & contrast

On white

3.47
#D162AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#D162AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162AB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162AB#FFFFFF#000000##000000
##D162AB1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAD
Deuteranopia (green-blind)
#8890A8
Tritanopia (blue-blind)
#DC637F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d162ab;
/* rgb */ color: rgb(209, 98, 171);
/* oklch */ color: oklch(65.3% 0.163 342.4);
Tailwind
colors: {
  custom: {
    50: '#e293c4',
    500: '#d162ab',
    950: '#000000',
  },
}
SCSS
$custom: #d162ab;
$custom-light: #e293c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d162ab",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 171
  },
  "hsl": {
    "h": 320.541,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65316,
    "c": 0.16335,
    "h": 342.4
  },
  "luminance": 0.25231
}

Semantic roles & 50–950 ramp

primary
#D162AB
secondary
#B2DDC1
accent
#C25A23
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160D12
muted
#847E81

Preview Lab

Preview with #D162AB

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

Preview Lab → · Contrast checker → · Palette generator →

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