#D161A7#D161A7

#D161A7 is a light, vivid pink. Relative luminance 0.249; OKLCH L 65.0% C 0.162 H 344.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#D161A7
RGBrgb(209, 97, 167)
HSLhsl(323, 55%, 60%)
HSVhsv(323, 54%, 82%)
CMYKcmyk(0%, 53.6%, 20.1%, 18%)
CIE-LABlab(56.98, 52.32, -16.68)
CIE-LCHlch(56.98, 54.91, 342.32°)
OKLaboklab(65.03% 0.1562 -0.0442)
OKLCHoklch(65.03% 0.162 344.2)
XYZxyz(37.5451, 24.8978, 39.3801)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161A7 #61D18B
analogous
#C361D1 #D161A7 #D1616F
triadic
#D161A7 #A7D161 #61A7D1
tetradic
#D161A7 #D1C361 #61D18B #616FD1
square
#D161A7 #D1C361 #61D18B #616FD1
split-complementary
#D161A7 #6FD161 #61D1C3
monochromatic
#8E2968 #BE378B #D161A7 #DF90C1 #EDC0DC

Accessibility & contrast

On white

3.51
#D161A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#D161A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161A7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161A7#FFFFFF#000000##000000
##D161A71.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DA9
Deuteranopia (green-blind)
#8990A4
Tritanopia (blue-blind)
#DD617C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d161a7;
/* rgb */ color: rgb(209, 97, 167);
/* oklch */ color: oklch(65.0% 0.162 344.2);
Tailwind
colors: {
  custom: {
    50: '#e292c1',
    500: '#d161a7',
    950: '#000000',
  },
}
SCSS
$custom: #d161a7;
$custom-light: #e292c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d161a7",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 167
  },
  "hsl": {
    "h": 322.5,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.65025,
    "c": 0.1623,
    "h": 344.2
  },
  "luminance": 0.24895
}

Semantic roles & 50–950 ramp

primary
#D161A7
secondary
#B1DCC2
accent
#DE814A
background
#FEF9FB
surface
#FCF2F7
border
#D5CCD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #D161A7

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

Preview Lab → · Contrast checker → · Palette generator →

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