#D945A1#D945A1

#D945A1 is a light, highly saturated pink. Relative luminance 0.216; OKLCH L 62.7% C 0.205 H 346.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D945A1
RGBrgb(217, 69, 161)
HSLhsl(323, 66%, 56%)
HSVhsv(323, 68%, 85%)
CMYKcmyk(0%, 68.2%, 25.8%, 14.9%)
CIE-LABlab(53.58, 65.74, -18.22)
CIE-LCHlch(53.58, 68.22, 344.51°)
OKLaboklab(62.69% 0.1991 -0.0482)
OKLCHoklch(62.69% 0.205 346.4)
XYZxyz(37.1780, 21.5850, 35.9197)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945A1 #45D97D
analogous
#C745D9 #D945A1 #D94557
triadic
#D945A1 #A1D945 #45A1D9
tetradic
#D945A1 #D9C745 #45D97D #4557D9
square
#D945A1 #D9C745 #45D97D #4557D9
split-complementary
#D945A1 #57D945 #45D9C7
monochromatic
#881C5F #BB2682 #D945A1 #E378BB #EEABD4

Accessibility & contrast

On white

3.95
#D945A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D945A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945A1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945A1#FFFFFF#000000##000000
##D945A11.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#82899E
Tritanopia (blue-blind)
#E7416D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d945a1;
/* rgb */ color: rgb(217, 69, 161);
/* oklch */ color: oklch(62.7% 0.205 346.4);
Tailwind
colors: {
  custom: {
    50: '#e983bd',
    500: '#d945a1',
    950: '#000000',
  },
}
SCSS
$custom: #d945a1;
$custom-light: #e983bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d945a1",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 322.703,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6269,
    "c": 0.20484,
    "h": 346.4
  },
  "luminance": 0.21581
}

Semantic roles & 50–950 ramp

primary
#D945A1
secondary
#9EDBB5
accent
#E97F3F
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D945A1

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

Preview Lab → · Contrast checker → · Palette generator →

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