#D945B1#D945B1

#D945B1 is a light, highly saturated pink. Relative luminance 0.222; OKLCH L 63.4% C 0.214 H 340.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D945B1
RGBrgb(217, 69, 177)
HSLhsl(316, 66%, 56%)
HSVhsv(316, 68%, 85%)
CMYKcmyk(0%, 68.2%, 18.4%, 14.9%)
CIE-LABlab(54.22, 67.84, -26.60)
CIE-LCHlch(54.22, 72.87, 338.59°)
OKLaboklab(63.37% 0.2022 -0.0716)
OKLCHoklch(63.37% 0.215 340.5)
XYZxyz(38.6802, 22.1860, 43.8317)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945B1 #45D96D
analogous
#B745D9 #D945B1 #D94567
triadic
#D945B1 #B1D945 #45B1D9
tetradic
#D945B1 #D9B745 #45D96D #4567D9
square
#D945B1 #D9B745 #45D96D #4567D9
split-complementary
#D945B1 #67D945 #45D9B7
monochromatic
#881C6B #BB2693 #D945B1 #E378C6 #EEABDC

Accessibility & contrast

On white

3.86
#D945B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D945B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945B1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945B1#FFFFFF#000000##000000
##D945B11.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B4
Deuteranopia (green-blind)
#7D8AAD
Tritanopia (blue-blind)
#E64975
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d945b1;
/* rgb */ color: rgb(217, 69, 177);
/* oklch */ color: oklch(63.4% 0.214 340.5);
Tailwind
colors: {
  custom: {
    50: '#e984c8',
    500: '#d945b1',
    950: '#000000',
  },
}
SCSS
$custom: #d945b1;
$custom-light: #e984c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d945b1",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 316.216,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63366,
    "c": 0.2145,
    "h": 340.5
  },
  "luminance": 0.22182
}

Semantic roles & 50–950 ramp

primary
#D945B1
secondary
#9EDBAF
accent
#E96D3F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D945B1

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

Preview Lab → · Contrast checker → · Palette generator →

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