#D945C0#D945C0

#D945C0 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.1% C 0.225 H 335.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#D945C0
RGBrgb(217, 69, 192)
HSLhsl(310, 66%, 56%)
HSVhsv(310, 68%, 85%)
CMYKcmyk(0%, 68.2%, 11.5%, 14.9%)
CIE-LABlab(54.88, 69.97, -34.26)
CIE-LCHlch(54.88, 77.90, 333.91°)
OKLaboklab(64.06% 0.2042 -0.0934)
OKLCHoklch(64.06% 0.225 335.4)
XYZxyz(40.2583, 22.8172, 52.1428)
Luminance0.2281 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945C0 #45D95E
analogous
#A845D9 #D945C0 #D94576
triadic
#D945C0 #C0D945 #45C0D9
tetradic
#D945C0 #D9A845 #45D95E #4576D9
square
#D945C0 #D9A845 #45D95E #4576D9
split-complementary
#D945C0 #76D945 #45D9A8
monochromatic
#881C76 #BB26A2 #D945C0 #E378D1 #EEABE2

Accessibility & contrast

On white

3.78
#D945C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#D945C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945C0
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945C0#FFFFFF#000000##000000
##D945C01.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4575C4
Deuteranopia (green-blind)
#778BBC
Tritanopia (blue-blind)
#E44F7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d945c0;
/* rgb */ color: rgb(217, 69, 192);
/* oklch */ color: oklch(64.1% 0.225 335.4);
Tailwind
colors: {
  custom: {
    50: '#e884d3',
    500: '#d945c0',
    950: '#000000',
  },
}
SCSS
$custom: #d945c0;
$custom-light: #e884d3;
$custom-dark: #000000;
JSON
{
  "hex": "#d945c0",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 192
  },
  "hsl": {
    "h": 310.135,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64061,
    "c": 0.22459,
    "h": 335.4
  },
  "luminance": 0.22814
}

Semantic roles & 50–950 ramp

primary
#D945C0
secondary
#9EDBA9
accent
#E95C3F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D945C0

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

Preview Lab → · Contrast checker → · Palette generator →

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