#D945A8#D945A8

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

Color values

HEX#D945A8
RGBrgb(217, 69, 168)
HSLhsl(320, 66%, 56%)
HSVhsv(320, 68%, 85%)
CMYKcmyk(0%, 68.2%, 22.6%, 14.9%)
CIE-LABlab(53.86, 66.63, -21.91)
CIE-LCHlch(53.86, 70.14, 341.80°)
OKLaboklab(62.98% 0.2006 -0.0585)
OKLCHoklch(62.98% 0.209 343.7)
XYZxyz(37.8126, 21.8389, 39.2621)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945A8 #45D976
analogous
#C045D9 #D945A8 #D9455E
triadic
#D945A8 #A8D945 #45A8D9
tetradic
#D945A8 #D9C045 #45D976 #455ED9
square
#D945A8 #D9C045 #45D976 #455ED9
split-complementary
#D945A8 #5ED945 #45D9C0
monochromatic
#881C64 #BB2689 #D945A8 #E378C0 #EEABD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D945A8#FFFFFF#000000##000000
##D945A81.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)
#5471AB
Deuteranopia (green-blind)
#808AA4
Tritanopia (blue-blind)
#E74570
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d945a8;
/* rgb */ color: rgb(217, 69, 168);
/* oklch */ color: oklch(63.0% 0.209 343.7);
Tailwind
colors: {
  custom: {
    50: '#e984c2',
    500: '#d945a8',
    950: '#000000',
  },
}
SCSS
$custom: #d945a8;
$custom-light: #e984c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d945a8",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 319.865,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62977,
    "c": 0.20891,
    "h": 343.7
  },
  "luminance": 0.21835
}

Semantic roles & 50–950 ramp

primary
#D945A8
secondary
#9EDBB3
accent
#E9773F
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D945A8

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

Preview Lab → · Contrast checker → · Palette generator →

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