#D161B2#D161B2

#D161B2 is a light, vivid pink. Relative luminance 0.253; OKLCH L 65.5% C 0.170 H 339.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#D161B2
RGBrgb(209, 97, 178)
HSLhsl(317, 55%, 60%)
HSVhsv(317, 54%, 82%)
CMYKcmyk(0%, 53.6%, 14.8%, 18%)
CIE-LABlab(57.39, 53.96, -22.41)
CIE-LCHlch(57.39, 58.43, 337.45°)
OKLaboklab(65.47% 0.1588 -0.0602)
OKLCHoklch(65.47% 0.17 339.2)
XYZxyz(38.6056, 25.3220, 44.9652)
Luminance0.2532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161B2 #61D180
analogous
#B861D1 #D161B2 #D1617A
triadic
#D161B2 #B2D161 #61B2D1
tetradic
#D161B2 #D1B861 #61D180 #617AD1
square
#D161B2 #D1B861 #61D180 #617AD1
split-complementary
#D161B2 #7AD161 #61D1B8
monochromatic
#8E2972 #BE3798 #D161B2 #DF90C9 #EDC0E0

Accessibility & contrast

On white

3.46
#D161B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#D161B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161B2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161B2#FFFFFF#000000##000000
##D161B21.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB5
Deuteranopia (green-blind)
#8590AF
Tritanopia (blue-blind)
#DB6481
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d161b2;
/* rgb */ color: rgb(209, 97, 178);
/* oklch */ color: oklch(65.5% 0.170 339.2);
Tailwind
colors: {
  custom: {
    50: '#e292c9',
    500: '#d161b2',
    950: '#000000',
  },
}
SCSS
$custom: #d161b2;
$custom-light: #e292c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d161b2",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 178
  },
  "hsl": {
    "h": 316.607,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.65467,
    "c": 0.16985,
    "h": 339.2
  },
  "luminance": 0.25319
}

Semantic roles & 50–950 ramp

primary
#D161B2
secondary
#B1DCBD
accent
#DE734A
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D161B2

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

Preview Lab → · Contrast checker → · Palette generator →

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