#D945B9#D945B9

#D945B9 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.7% C 0.220 H 337.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#D945B9
RGBrgb(217, 69, 185)
HSLhsl(313, 66%, 56%)
HSVhsv(313, 68%, 85%)
CMYKcmyk(0%, 68.2%, 14.7%, 14.9%)
CIE-LABlab(54.57, 68.96, -30.71)
CIE-LCHlch(54.57, 75.48, 335.99°)
OKLaboklab(63.73% 0.2034 -0.0833)
OKLCHoklch(63.73% 0.22 337.7)
XYZxyz(39.5011, 22.5143, 48.1548)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945B9 #45D965
analogous
#AF45D9 #D945B9 #D9456F
triadic
#D945B9 #B9D945 #45B9D9
tetradic
#D945B9 #D9AF45 #45D965 #456FD9
square
#D945B9 #D9AF45 #45D965 #456FD9
split-complementary
#D945B9 #6FD945 #45D9AF
monochromatic
#881C70 #BB269B #D945B9 #E378CC #EEABDF

Accessibility & contrast

On white

3.82
#D945B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D945B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945B9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945B9#FFFFFF#000000##000000
##D945B91.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#7A8BB5
Tritanopia (blue-blind)
#E54C79
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d945b9;
/* rgb */ color: rgb(217, 69, 185);
/* oklch */ color: oklch(63.7% 0.220 337.7);
Tailwind
colors: {
  custom: {
    50: '#e984ce',
    500: '#d945b9',
    950: '#000000',
  },
}
SCSS
$custom: #d945b9;
$custom-light: #e984ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d945b9",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 312.973,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63729,
    "c": 0.21978,
    "h": 337.7
  },
  "luminance": 0.22511
}

Semantic roles & 50–950 ramp

primary
#D945B9
secondary
#9EDBAC
accent
#E9643F
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #D945B9

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

Preview Lab → · Contrast checker → · Palette generator →

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