#D161C5#D161C5

#D161C5 is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.3% C 0.185 H 331.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#D161C5
RGBrgb(209, 97, 197)
HSLhsl(306, 55%, 60%)
HSVhsv(306, 54%, 82%)
CMYKcmyk(0%, 53.6%, 5.7%, 18%)
CIE-LABlab(58.17, 57.01, -32.09)
CIE-LCHlch(58.17, 65.43, 330.62°)
OKLaboklab(66.3% 0.1625 -0.0876)
OKLCHoklch(66.3% 0.185 331.7)
XYZxyz(40.6471, 26.1386, 55.7168)
Luminance0.2614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161C5 #61D16D
analogous
#A561D1 #D161C5 #D1618D
triadic
#D161C5 #C5D161 #61C5D1
tetradic
#D161C5 #D1A561 #61D16D #618DD1
square
#D161C5 #D1A561 #61D16D #618DD1
split-complementary
#D161C5 #8DD161 #61D1A5
monochromatic
#8E2983 #BE37AF #D161C5 #DF90D6 #EDC0E8

Accessibility & contrast

On white

3.37
#D161C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#D161C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161C5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161C5#FFFFFF#000000##000000
##D161C51.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C8
Deuteranopia (green-blind)
#7E92C2
Tritanopia (blue-blind)
#D96A8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d161c5;
/* rgb */ color: rgb(209, 97, 197);
/* oklch */ color: oklch(66.3% 0.185 331.7);
Tailwind
colors: {
  custom: {
    50: '#e293d7',
    500: '#d161c5',
    950: '#000000',
  },
}
SCSS
$custom: #d161c5;
$custom-light: #e293d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d161c5",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 197
  },
  "hsl": {
    "h": 306.429,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.663,
    "c": 0.18464,
    "h": 331.7
  },
  "luminance": 0.26136
}

Semantic roles & 50–950 ramp

primary
#D161C5
secondary
#B1DCB6
accent
#DE594A
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D161C5

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

Preview Lab → · Contrast checker → · Palette generator →

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