#D161C3#D161C3

#D161C3 is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.2% C 0.183 H 332.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#D161C3
RGBrgb(209, 97, 195)
HSLhsl(308, 55%, 60%)
HSVhsv(308, 54%, 82%)
CMYKcmyk(0%, 53.6%, 6.7%, 18%)
CIE-LABlab(58.08, 56.68, -31.09)
CIE-LCHlch(58.08, 64.65, 331.26°)
OKLaboklab(66.21% 0.1622 -0.0847)
OKLCHoklch(66.21% 0.183 332.4)
XYZxyz(40.4194, 26.0475, 54.5179)
Luminance0.2605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161C3 #61D16F
analogous
#A761D1 #D161C3 #D1618B
triadic
#D161C3 #C3D161 #61C3D1
tetradic
#D161C3 #D1A761 #61D16F #618BD1
square
#D161C3 #D1A761 #61D16F #618BD1
split-complementary
#D161C3 #8BD161 #61D1A7
monochromatic
#8E2982 #BE37AD #D161C3 #DF90D5 #EDC0E7

Accessibility & contrast

On white

3.38
#D161C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#D161C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161C3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161C3#FFFFFF#000000##000000
##D161C31.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E81C6
Deuteranopia (green-blind)
#7F91C0
Tritanopia (blue-blind)
#D96989
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d161c3;
/* rgb */ color: rgb(209, 97, 195);
/* oklch */ color: oklch(66.2% 0.183 332.4);
Tailwind
colors: {
  custom: {
    50: '#e293d5',
    500: '#d161c3',
    950: '#000000',
  },
}
SCSS
$custom: #d161c3;
$custom-light: #e293d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d161c3",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 195
  },
  "hsl": {
    "h": 307.5,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.66208,
    "c": 0.18301,
    "h": 332.4
  },
  "luminance": 0.26045
}

Semantic roles & 50–950 ramp

primary
#D161C3
secondary
#B1DCB7
accent
#DE5C4A
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D161C3

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

Preview Lab → · Contrast checker → · Palette generator →

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