#D161D2#D161D2

#D161D2 is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.9% C 0.196 H 327.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#D161D2
RGBrgb(209, 97, 210)
HSLhsl(299, 56%, 60%)
HSVhsv(299, 54%, 82%)
CMYKcmyk(0.5%, 53.8%, 0%, 17.6%)
CIE-LABlab(58.75, 59.24, -38.57)
CIE-LCHlch(58.75, 70.69, 326.93°)
OKLaboklab(66.92% 0.1644 -0.1061)
OKLCHoklch(66.92% 0.196 327.2)
XYZxyz(42.2013, 26.7603, 63.9027)
Luminance0.2676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161D2 #62D261
analogous
#9861D2 #D161D2 #D2619A
triadic
#D161D2 #D2D161 #61D2D1
tetradic
#D161D2 #D29861 #62D261 #619AD2
square
#D161D2 #D29861 #62D261 #619AD2
split-complementary
#D161D2 #9AD261 #61D298
monochromatic
#8F2990 #BE36BF #D161D2 #DF91E0 #EDC0ED

Accessibility & contrast

On white

3.31
#D161D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#D161D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161D2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161D2#FFFFFF#000000##000000
##D161D21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5584D6
Deuteranopia (green-blind)
#7992CF
Tritanopia (blue-blind)
#D76E91
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d161d2;
/* rgb */ color: rgb(209, 97, 210);
/* oklch */ color: oklch(66.9% 0.196 327.2);
Tailwind
colors: {
  custom: {
    50: '#e293e0',
    500: '#d161d2',
    950: '#000000',
  },
}
SCSS
$custom: #d161d2;
$custom-light: #e293e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d161d2",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 210
  },
  "hsl": {
    "h": 299.469,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66919,
    "c": 0.19569,
    "h": 327.2
  },
  "luminance": 0.26758
}

Semantic roles & 50–950 ramp

primary
#D161D2
secondary
#B2DDB2
accent
#C32224
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D161D2

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

Preview Lab → · Contrast checker → · Palette generator →

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