#D945A9#D945A9

#D945A9 is a light, highly saturated pink. Relative luminance 0.219; OKLCH L 63.0% C 0.210 H 343.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#D945A9
RGBrgb(217, 69, 169)
HSLhsl(319, 66%, 56%)
HSVhsv(319, 68%, 85%)
CMYKcmyk(0%, 68.2%, 22.1%, 14.9%)
CIE-LABlab(53.90, 66.77, -22.44)
CIE-LCHlch(53.90, 70.43, 341.42°)
OKLaboklab(63.02% 0.2008 -0.0599)
OKLCHoklch(63.02% 0.21 343.4)
XYZxyz(37.9061, 21.8763, 39.7547)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945A9 #45D975
analogous
#BF45D9 #D945A9 #D9455F
triadic
#D945A9 #A9D945 #45A9D9
tetradic
#D945A9 #D9BF45 #45D975 #455FD9
square
#D945A9 #D9BF45 #45D975 #455FD9
split-complementary
#D945A9 #5FD945 #45D9BF
monochromatic
#881C65 #BB268A #D945A9 #E378C0 #EEABD8

Accessibility & contrast

On white

3.91
#D945A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#D945A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945A9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945A9#FFFFFF#000000##000000
##D945A91.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5371AC
Deuteranopia (green-blind)
#808AA5
Tritanopia (blue-blind)
#E74571
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d945a9;
/* rgb */ color: rgb(217, 69, 169);
/* oklch */ color: oklch(63.0% 0.210 343.4);
Tailwind
colors: {
  custom: {
    50: '#e984c2',
    500: '#d945a9',
    950: '#000000',
  },
}
SCSS
$custom: #d945a9;
$custom-light: #e984c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d945a9",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 319.459,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63019,
    "c": 0.20951,
    "h": 343.4
  },
  "luminance": 0.21873
}

Semantic roles & 50–950 ramp

primary
#D945A9
secondary
#9EDBB2
accent
#E9763F
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D945A9

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

Preview Lab → · Contrast checker → · Palette generator →

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