#D161CB#D161CB

#D161CB is a light, vivid purple. Relative luminance 0.264; OKLCH L 66.6% C 0.190 H 329.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#D161CB
RGBrgb(209, 97, 203)
HSLhsl(303, 55%, 60%)
HSVhsv(303, 54%, 82%)
CMYKcmyk(0%, 53.6%, 2.9%, 18%)
CIE-LABlab(58.43, 58.03, -35.10)
CIE-LCHlch(58.43, 67.82, 328.83°)
OKLaboklab(66.58% 0.1635 -0.0962)
OKLCHoklch(66.58% 0.19 329.5)
XYZxyz(41.3483, 26.4191, 59.4099)
Luminance0.2642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161CB #61D167
analogous
#9F61D1 #D161CB #D16193
triadic
#D161CB #CBD161 #61CBD1
tetradic
#D161CB #D19F61 #61D167 #6193D1
square
#D161CB #D19F61 #61D167 #6193D1
split-complementary
#D161CB #93D161 #61D19F
monochromatic
#8E2989 #BE37B6 #D161CB #DF90DB #EDC0EA

Accessibility & contrast

On white

3.34
#D161CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#D161CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161CB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161CB#FFFFFF#000000##000000
##D161CB1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CE
Deuteranopia (green-blind)
#7C92C8
Tritanopia (blue-blind)
#D86C8D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d161cb;
/* rgb */ color: rgb(209, 97, 203);
/* oklch */ color: oklch(66.6% 0.190 329.5);
Tailwind
colors: {
  custom: {
    50: '#e293db',
    500: '#d161cb',
    950: '#000000',
  },
}
SCSS
$custom: #d161cb;
$custom-light: #e293db;
$custom-dark: #000000;
JSON
{
  "hex": "#d161cb",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 303.214,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.66581,
    "c": 0.18967,
    "h": 329.5
  },
  "luminance": 0.26416
}

Semantic roles & 50–950 ramp

primary
#D161CB
secondary
#B1DCB4
accent
#DE524A
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D161CB

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

Preview Lab → · Contrast checker → · Palette generator →

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