#D945AC#D945AC

#D945AC is a light, highly saturated pink. Relative luminance 0.220; OKLCH L 63.1% C 0.211 H 342.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#D945AC
RGBrgb(217, 69, 172)
HSLhsl(318, 66%, 56%)
HSVhsv(318, 68%, 85%)
CMYKcmyk(0%, 68.2%, 20.7%, 14.9%)
CIE-LABlab(54.02, 67.16, -24.00)
CIE-LCHlch(54.02, 71.32, 340.33°)
OKLaboklab(63.15% 0.2013 -0.0643)
OKLCHoklch(63.15% 0.211 342.3)
XYZxyz(38.1910, 21.9903, 41.2549)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945AC #45D972
analogous
#BC45D9 #D945AC #D94562
triadic
#D945AC #ACD945 #45ACD9
tetradic
#D945AC #D9BC45 #45D972 #4562D9
square
#D945AC #D9BC45 #45D972 #4562D9
split-complementary
#D945AC #62D945 #45D9BC
monochromatic
#881C67 #BB268E #D945AC #E378C3 #EEABD9

Accessibility & contrast

On white

3.89
#D945AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D945AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945AC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945AC#FFFFFF#000000##000000
##D945AC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5272AF
Deuteranopia (green-blind)
#7F8AA8
Tritanopia (blue-blind)
#E64672
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d945ac;
/* rgb */ color: rgb(217, 69, 172);
/* oklch */ color: oklch(63.1% 0.211 342.3);
Tailwind
colors: {
  custom: {
    50: '#e984c5',
    500: '#d945ac',
    950: '#000000',
  },
}
SCSS
$custom: #d945ac;
$custom-light: #e984c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d945ac",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 318.243,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63147,
    "c": 0.21135,
    "h": 342.3
  },
  "luminance": 0.21987
}

Semantic roles & 50–950 ramp

primary
#D945AC
secondary
#9EDBB1
accent
#E9733F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #D945AC

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

Preview Lab → · Contrast checker → · Palette generator →

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