#D945B8#D945B8

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

Color values

HEX#D945B8
RGBrgb(217, 69, 184)
HSLhsl(313, 66%, 56%)
HSVhsv(313, 68%, 85%)
CMYKcmyk(0%, 68.2%, 15.2%, 14.9%)
CIE-LABlab(54.52, 68.81, -30.20)
CIE-LCHlch(54.52, 75.15, 336.31°)
OKLaboklab(63.68% 0.2033 -0.0818)
OKLCHoklch(63.68% 0.219 338.1)
XYZxyz(39.3959, 22.4722, 47.6008)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945B8 #45D966
analogous
#B045D9 #D945B8 #D9456E
triadic
#D945B8 #B8D945 #45B8D9
tetradic
#D945B8 #D9B045 #45D966 #456ED9
square
#D945B8 #D9B045 #45D966 #456ED9
split-complementary
#D945B8 #6ED945 #45D9B0
monochromatic
#881C70 #BB269A #D945B8 #E378CB #EEABDF

Accessibility & contrast

On white

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

On black

5.49
#D945B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945B8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945B8#FFFFFF#000000##000000
##D945B81.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BB
Deuteranopia (green-blind)
#7B8BB4
Tritanopia (blue-blind)
#E54C79
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d945b8;
/* rgb */ color: rgb(217, 69, 184);
/* oklch */ color: oklch(63.7% 0.219 338.1);
Tailwind
colors: {
  custom: {
    50: '#e984cd',
    500: '#d945b8',
    950: '#000000',
  },
}
SCSS
$custom: #d945b8;
$custom-light: #e984cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d945b8",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 313.378,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63683,
    "c": 0.21911,
    "h": 338.1
  },
  "luminance": 0.22469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D945B8

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

Preview Lab → · Contrast checker → · Palette generator →

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