#D945A4#D945A4

#D945A4 is a light, highly saturated pink. Relative luminance 0.217; OKLCH L 62.8% C 0.207 H 345.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#D945A4
RGBrgb(217, 69, 164)
HSLhsl(321, 66%, 56%)
HSVhsv(321, 68%, 85%)
CMYKcmyk(0%, 68.2%, 24.4%, 14.9%)
CIE-LABlab(53.70, 66.12, -19.81)
CIE-LCHlch(53.70, 69.02, 343.32°)
OKLaboklab(62.81% 0.1997 -0.0526)
OKLCHoklch(62.81% 0.207 345.2)
XYZxyz(37.4457, 21.6921, 37.3297)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945A4 #45D97A
analogous
#C445D9 #D945A4 #D9455A
triadic
#D945A4 #A4D945 #45A4D9
tetradic
#D945A4 #D9C445 #45D97A #455AD9
square
#D945A4 #D9C445 #45D97A #455AD9
split-complementary
#D945A4 #5AD945 #45D9C4
monochromatic
#881C61 #BB2685 #D945A4 #E378BD #EEABD6

Accessibility & contrast

On white

3.93
#D945A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#D945A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945A4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945A4#FFFFFF#000000##000000
##D945A41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A7
Deuteranopia (green-blind)
#8289A1
Tritanopia (blue-blind)
#E7436E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d945a4;
/* rgb */ color: rgb(217, 69, 164);
/* oklch */ color: oklch(62.8% 0.207 345.2);
Tailwind
colors: {
  custom: {
    50: '#e984bf',
    500: '#d945a4',
    950: '#000000',
  },
}
SCSS
$custom: #d945a4;
$custom-light: #e984bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d945a4",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 321.486,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62811,
    "c": 0.20655,
    "h": 345.2
  },
  "luminance": 0.21688
}

Semantic roles & 50–950 ramp

primary
#D945A4
secondary
#9EDBB4
accent
#E97C3F
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D945A4

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

Preview Lab → · Contrast checker → · Palette generator →

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