#D161A2#D161A2

#D161A2 is a light, vivid pink. Relative luminance 0.247; OKLCH L 64.8% C 0.159 H 346.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D161A2
RGBrgb(209, 97, 162)
HSLhsl(325, 55%, 60%)
HSVhsv(325, 54%, 82%)
CMYKcmyk(0%, 53.6%, 22.5%, 18%)
CIE-LABlab(56.80, 51.60, -14.04)
CIE-LCHlch(56.80, 53.48, 344.78°)
OKLaboklab(64.83% 0.1548 -0.037)
OKLCHoklch(64.83% 0.159 346.6)
XYZxyz(37.0918, 24.7165, 36.9927)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D161A2 #61D190
analogous
#C861D1 #D161A2 #D1616A
triadic
#D161A2 #A2D161 #61A2D1
tetradic
#D161A2 #D1C861 #61D190 #616AD1
square
#D161A2 #D1C861 #61D190 #616AD1
split-complementary
#D161A2 #6AD161 #61D1C8
monochromatic
#8E2964 #BE3785 #D161A2 #DF90BE #EDC0DA

Accessibility & contrast

On white

3.53
#D161A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#D161A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D161A2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D161A2#FFFFFF#000000##000000
##D161A21.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA4
Deuteranopia (green-blind)
#8A8F9F
Tritanopia (blue-blind)
#DD5F7A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d161a2;
/* rgb */ color: rgb(209, 97, 162);
/* oklch */ color: oklch(64.8% 0.159 346.6);
Tailwind
colors: {
  custom: {
    50: '#e292bd',
    500: '#d161a2',
    950: '#000000',
  },
}
SCSS
$custom: #d161a2;
$custom-light: #e292bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d161a2",
  "rgb": {
    "r": 209,
    "g": 97,
    "b": 162
  },
  "hsl": {
    "h": 325.179,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.64835,
    "c": 0.15917,
    "h": 346.6
  },
  "luminance": 0.24713
}

Semantic roles & 50–950 ramp

primary
#D161A2
secondary
#B1DCC3
accent
#DE884A
background
#FEF9FB
surface
#FCF2F6
border
#D5CCD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #D161A2

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

Preview Lab → · Contrast checker → · Palette generator →

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