#D162D3#D162D3

#D162D3 is a light, vivid purple. Relative luminance 0.270; OKLCH L 67.1% C 0.195 H 326.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#D162D3
RGBrgb(209, 98, 211)
HSLhsl(299, 56%, 61%)
HSVhsv(299, 54%, 83%)
CMYKcmyk(0.9%, 53.6%, 0%, 17.3%)
CIE-LABlab(58.97, 58.95, -38.79)
CIE-LCHlch(58.97, 70.57, 326.66°)
OKLaboklab(67.1% 0.1632 -0.1068)
OKLCHoklch(67.1% 0.195 326.8)
XYZxyz(42.4193, 26.9963, 64.5919)
Luminance0.2699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D162D3 #64D362
analogous
#9862D3 #D162D3 #D3629C
triadic
#D162D3 #D3D162 #62D3D1
tetradic
#D162D3 #D39862 #64D362 #629CD3
square
#D162D3 #D39862 #64D362 #629CD3
split-complementary
#D162D3 #9CD362 #62D398
monochromatic
#902992 #BF36C2 #D162D3 #DF92E0 #EDC2EE

Accessibility & contrast

On white

3.28
#D162D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#D162D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D162D3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D162D3#FFFFFF#000000##000000
##D162D31.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5685D7
Deuteranopia (green-blind)
#7993D0
Tritanopia (blue-blind)
#D66F92
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d162d3;
/* rgb */ color: rgb(209, 98, 211);
/* oklch */ color: oklch(67.1% 0.195 326.8);
Tailwind
colors: {
  custom: {
    50: '#e294e1',
    500: '#d162d3',
    950: '#000000',
  },
}
SCSS
$custom: #d162d3;
$custom-light: #e294e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d162d3",
  "rgb": {
    "r": 209,
    "g": 98,
    "b": 211
  },
  "hsl": {
    "h": 298.938,
    "s": 56.219,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67095,
    "c": 0.19504,
    "h": 326.8
  },
  "luminance": 0.26994
}

Semantic roles & 50–950 ramp

primary
#D162D3
secondary
#B4DEB3
accent
#C42225
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D162D3

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

Preview Lab → · Contrast checker → · Palette generator →

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