#D945B0#D945B0

#D945B0 is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.3% C 0.214 H 340.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D945B0
RGBrgb(217, 69, 176)
HSLhsl(317, 66%, 56%)
HSVhsv(317, 68%, 85%)
CMYKcmyk(0%, 68.2%, 18.9%, 14.9%)
CIE-LABlab(54.18, 67.70, -26.08)
CIE-LCHlch(54.18, 72.55, 338.93°)
OKLaboklab(63.32% 0.202 -0.0702)
OKLCHoklch(63.32% 0.214 340.8)
XYZxyz(38.5809, 22.1462, 43.3086)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945B0 #45D96E
analogous
#B845D9 #D945B0 #D94566
triadic
#D945B0 #B0D945 #45B0D9
tetradic
#D945B0 #D9B845 #45D96E #4566D9
square
#D945B0 #D9B845 #45D96E #4566D9
split-complementary
#D945B0 #66D945 #45D9B8
monochromatic
#881C6A #BB2692 #D945B0 #E378C6 #EEABDB

Accessibility & contrast

On white

3.87
#D945B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D945B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945B0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945B0#FFFFFF#000000##000000
##D945B01.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B3
Deuteranopia (green-blind)
#7E8AAC
Tritanopia (blue-blind)
#E64875
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d945b0;
/* rgb */ color: rgb(217, 69, 176);
/* oklch */ color: oklch(63.3% 0.214 340.8);
Tailwind
colors: {
  custom: {
    50: '#e984c8',
    500: '#d945b0',
    950: '#000000',
  },
}
SCSS
$custom: #d945b0;
$custom-light: #e984c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d945b0",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 316.622,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63322,
    "c": 0.21387,
    "h": 340.8
  },
  "luminance": 0.22143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D945B0

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

Preview Lab → · Contrast checker → · Palette generator →

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