#D162CB#D162CB

#D162CB is a light, vivid purple. Relative luminance 0.266; OKLCH L 66.7% C 0.188 H 329.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#D162CB
RGBrgb(209, 98, 203)
HSLhsl(303, 55%, 60%)
HSVhsv(303, 53%, 82%)
CMYKcmyk(0%, 53.1%, 2.9%, 18%)
CIE-LABlab(58.61, 57.56, -34.83)
CIE-LCHlch(58.61, 67.28, 328.83°)
OKLaboklab(66.71% 0.1621 -0.0954)
OKLCHoklch(66.71% 0.188 329.5)
XYZxyz(41.4412, 26.6050, 59.4409)
Luminance0.2660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162CB #62D168
analogous
#9F62D1 #D162CB #D16294
triadic
#D162CB #CBD162 #62CBD1
tetradic
#D162CB #D19F62 #62D168 #6294D1
square
#D162CB #D19F62 #62D168 #6294D1
split-complementary
#D162CB #94D162 #62D19F
monochromatic
#8F2A89 #BE38B7 #D162CB #DF91DB #EDC1EA

Accessibility & contrast

On white

3.32
#D162CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#D162CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162CB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162CB#FFFFFF#000000##000000
##D162CB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CE
Deuteranopia (green-blind)
#7C92C8
Tritanopia (blue-blind)
#D86D8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d162cb;
/* rgb */ color: rgb(209, 98, 203);
/* oklch */ color: oklch(66.7% 0.188 329.5);
Tailwind
colors: {
  custom: {
    50: '#e293db',
    500: '#d162cb',
    950: '#000000',
  },
}
SCSS
$custom: #d162cb;
$custom-light: #e293db;
$custom-dark: #000000;
JSON
{
  "hex": "#d162cb",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 303.243,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66709,
    "c": 0.18813,
    "h": 329.5
  },
  "luminance": 0.26602
}

Semantic roles & 50–950 ramp

primary
#D162CB
secondary
#B2DDB4
accent
#C22C23
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D162CB

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

Preview Lab → · Contrast checker → · Palette generator →

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