#D945A5#D945A5

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

Color values

HEX#D945A5
RGBrgb(217, 69, 165)
HSLhsl(321, 66%, 56%)
HSVhsv(321, 68%, 85%)
CMYKcmyk(0%, 68.2%, 24%, 14.9%)
CIE-LABlab(53.74, 66.24, -20.34)
CIE-LCHlch(53.74, 69.30, 342.93°)
OKLaboklab(62.85% 0.2 -0.0541)
OKLCHoklch(62.85% 0.207 344.9)
XYZxyz(37.5363, 21.7284, 37.8072)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945A5 #45D979
analogous
#C345D9 #D945A5 #D9455B
triadic
#D945A5 #A5D945 #45A5D9
tetradic
#D945A5 #D9C345 #45D979 #455BD9
square
#D945A5 #D9C345 #45D979 #455BD9
split-complementary
#D945A5 #5BD945 #45D9C3
monochromatic
#881C62 #BB2686 #D945A5 #E378BE #EEABD6

Accessibility & contrast

On white

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

On black

5.35
#D945A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945A5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945A5#FFFFFF#000000##000000
##D945A51.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5570A8
Deuteranopia (green-blind)
#818AA2
Tritanopia (blue-blind)
#E7436F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d945a5;
/* rgb */ color: rgb(217, 69, 165);
/* oklch */ color: oklch(62.9% 0.207 344.9);
Tailwind
colors: {
  custom: {
    50: '#e984bf',
    500: '#d945a5',
    950: '#000000',
  },
}
SCSS
$custom: #d945a5;
$custom-light: #e984bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d945a5",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 321.081,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62852,
    "c": 0.20713,
    "h": 344.9
  },
  "luminance": 0.21725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D945A5

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

Preview Lab → · Contrast checker → · Palette generator →

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