#D162BB#D162BB

#D162BB is a light, vivid pink. Relative luminance 0.259; OKLCH L 66.0% C 0.175 H 335.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#D162BB
RGBrgb(209, 98, 187)
HSLhsl(312, 55%, 60%)
HSVhsv(312, 53%, 82%)
CMYKcmyk(0%, 53.1%, 10.5%, 18%)
CIE-LABlab(57.92, 54.90, -26.75)
CIE-LCHlch(57.92, 61.07, 334.02°)
OKLaboklab(65.98% 0.1594 -0.0724)
OKLCHoklch(65.98% 0.175 335.6)
XYZxyz(39.6320, 25.8814, 49.9123)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162BB #62D178
analogous
#B062D1 #D162BB #D16283
triadic
#D162BB #BBD162 #62BBD1
tetradic
#D162BB #D1B062 #62D178 #6283D1
square
#D162BB #D1B062 #62D178 #6283D1
split-complementary
#D162BB #83D162 #62D1B0
monochromatic
#8F2A7B #BE38A3 #D162BB #DF91D0 #EDC1E4

Accessibility & contrast

On white

3.40
#D162BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#D162BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162BB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162BB#FFFFFF#000000##000000
##D162BB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#8391B8
Tritanopia (blue-blind)
#DA6886
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d162bb;
/* rgb */ color: rgb(209, 98, 187);
/* oklch */ color: oklch(66.0% 0.175 335.6);
Tailwind
colors: {
  custom: {
    50: '#e293cf',
    500: '#d162bb',
    950: '#000000',
  },
}
SCSS
$custom: #d162bb;
$custom-light: #e293cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d162bb",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 311.892,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65981,
    "c": 0.17504,
    "h": 335.6
  },
  "luminance": 0.25879
}

Semantic roles & 50–950 ramp

primary
#D162BB
secondary
#B2DDBB
accent
#C24323
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #D162BB

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

Preview Lab → · Contrast checker → · Palette generator →

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