#D945B4#D945B4

#D945B4 is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.5% C 0.216 H 339.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D945B4
RGBrgb(217, 69, 180)
HSLhsl(315, 66%, 56%)
HSVhsv(315, 68%, 85%)
CMYKcmyk(0%, 68.2%, 17.1%, 14.9%)
CIE-LABlab(54.35, 68.25, -28.15)
CIE-LCHlch(54.35, 73.83, 337.59°)
OKLaboklab(63.5% 0.2027 -0.076)
OKLCHoklch(63.5% 0.216 339.4)
XYZxyz(38.9825, 22.3069, 45.4238)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945B4 #45D96A
analogous
#B445D9 #D945B4 #D9456A
triadic
#D945B4 #B4D945 #45B4D9
tetradic
#D945B4 #D9B445 #45D96A #456AD9
square
#D945B4 #D9B445 #45D96A #456AD9
split-complementary
#D945B4 #6AD945 #45D9B4
monochromatic
#881C6D #BB2696 #D945B4 #E378C8 #EEABDD

Accessibility & contrast

On white

3.85
#D945B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D945B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945B4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945B4#FFFFFF#000000##000000
##D945B41.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B7
Deuteranopia (green-blind)
#7C8AB0
Tritanopia (blue-blind)
#E54A77
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d945b4;
/* rgb */ color: rgb(217, 69, 180);
/* oklch */ color: oklch(63.5% 0.216 339.4);
Tailwind
colors: {
  custom: {
    50: '#e984ca',
    500: '#d945b4',
    950: '#000000',
  },
}
SCSS
$custom: #d945b4;
$custom-light: #e984ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d945b4",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 315,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.635,
    "c": 0.21645,
    "h": 339.4
  },
  "luminance": 0.22303
}

Semantic roles & 50–950 ramp

primary
#D945B4
secondary
#9EDBAE
accent
#E9693F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D945B4

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

Preview Lab → · Contrast checker → · Palette generator →

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