#D162BC#D162BC

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

Color values

HEX#D162BC
RGBrgb(209, 98, 188)
HSLhsl(311, 55%, 60%)
HSVhsv(311, 53%, 82%)
CMYKcmyk(0%, 53.1%, 10%, 18%)
CIE-LABlab(57.97, 55.06, -27.26)
CIE-LCHlch(57.97, 61.44, 333.66°)
OKLaboklab(66.03% 0.1596 -0.0739)
OKLCHoklch(66.03% 0.176 335.2)
XYZxyz(39.7394, 25.9243, 50.4780)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162BC #62D177
analogous
#AE62D1 #D162BC #D16285
triadic
#D162BC #BCD162 #62BCD1
tetradic
#D162BC #D1AE62 #62D177 #6285D1
square
#D162BC #D1AE62 #62D177 #6285D1
split-complementary
#D162BC #85D162 #62D1AE
monochromatic
#8F2A7C #BE38A5 #D162BC #DF91D0 #EDC1E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D162BC#FFFFFF#000000##000000
##D162BC1.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)
#6281BF
Deuteranopia (green-blind)
#8291B9
Tritanopia (blue-blind)
#DA6886
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d162bc;
/* rgb */ color: rgb(209, 98, 188);
/* oklch */ color: oklch(66.0% 0.176 335.2);
Tailwind
colors: {
  custom: {
    50: '#e293d0',
    500: '#d162bc',
    950: '#000000',
  },
}
SCSS
$custom: #d162bc;
$custom-light: #e293d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d162bc",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 311.351,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66025,
    "c": 0.17583,
    "h": 335.2
  },
  "luminance": 0.25922
}

Semantic roles & 50–950 ramp

primary
#D162BC
secondary
#B2DDBA
accent
#C24123
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #D162BC

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

Preview Lab → · Contrast checker → · Palette generator →

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