#D161B8#D161B8

#D161B8 is a light, vivid pink. Relative luminance 0.256; OKLCH L 65.7% C 0.174 H 336.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#D161B8
RGBrgb(209, 97, 184)
HSLhsl(313, 55%, 60%)
HSVhsv(313, 54%, 82%)
CMYKcmyk(0%, 53.6%, 12%, 18%)
CIE-LABlab(57.63, 54.90, -25.49)
CIE-LCHlch(57.63, 60.53, 335.09°)
OKLaboklab(65.72% 0.1601 -0.0689)
OKLCHoklch(65.72% 0.174 336.7)
XYZxyz(39.2212, 25.5683, 48.2075)
Luminance0.2556 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161B8 #61D17A
analogous
#B261D1 #D161B8 #D16180
triadic
#D161B8 #B8D161 #61B8D1
tetradic
#D161B8 #D1B261 #61D17A #6180D1
square
#D161B8 #D1B261 #61D17A #6180D1
split-complementary
#D161B8 #80D161 #61D1B2
monochromatic
#8E2978 #BE37A0 #D161B8 #DF90CD #EDC0E3

Accessibility & contrast

On white

3.44
#D161B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#D161B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161B8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161B8#FFFFFF#000000##000000
##D161B81.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BB
Deuteranopia (green-blind)
#8391B5
Tritanopia (blue-blind)
#DB6684
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d161b8;
/* rgb */ color: rgb(209, 97, 184);
/* oklch */ color: oklch(65.7% 0.174 336.7);
Tailwind
colors: {
  custom: {
    50: '#e293cd',
    500: '#d161b8',
    950: '#000000',
  },
}
SCSS
$custom: #d161b8;
$custom-light: #e293cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d161b8",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 184
  },
  "hsl": {
    "h": 313.393,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.6572,
    "c": 0.17432,
    "h": 336.7
  },
  "luminance": 0.25565
}

Semantic roles & 50–950 ramp

primary
#D161B8
secondary
#B1DCBB
accent
#DE6B4A
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160D13
muted
#847E82

Preview Lab

Preview with #D161B8

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

Preview Lab → · Contrast checker → · Palette generator →

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