#D945AB#D945AB

#D945AB is a light, highly saturated pink. Relative luminance 0.219; OKLCH L 63.1% C 0.211 H 342.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#D945AB
RGBrgb(217, 69, 171)
HSLhsl(319, 66%, 56%)
HSVhsv(319, 68%, 85%)
CMYKcmyk(0%, 68.2%, 21.2%, 14.9%)
CIE-LABlab(53.98, 67.03, -23.48)
CIE-LCHlch(53.98, 71.02, 340.69°)
OKLaboklab(63.11% 0.2011 -0.0629)
OKLCHoklch(63.11% 0.211 342.6)
XYZxyz(38.0953, 21.9520, 40.7511)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945AB #45D973
analogous
#BD45D9 #D945AB #D94561
triadic
#D945AB #ABD945 #45ABD9
tetradic
#D945AB #D9BD45 #45D973 #4561D9
square
#D945AB #D9BD45 #45D973 #4561D9
split-complementary
#D945AB #61D945 #45D9BD
monochromatic
#881C66 #BB268C #D945AB #E378C2 #EEABD9

Accessibility & contrast

On white

3.90
#D945AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#D945AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945AB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945AB#FFFFFF#000000##000000
##D945AB1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5271AE
Deuteranopia (green-blind)
#7F8AA7
Tritanopia (blue-blind)
#E64672
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d945ab;
/* rgb */ color: rgb(217, 69, 171);
/* oklch */ color: oklch(63.1% 0.211 342.6);
Tailwind
colors: {
  custom: {
    50: '#e984c4',
    500: '#d945ab',
    950: '#000000',
  },
}
SCSS
$custom: #d945ab;
$custom-light: #e984c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d945ab",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 318.649,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63105,
    "c": 0.21073,
    "h": 342.6
  },
  "luminance": 0.21948
}

Semantic roles & 50–950 ramp

primary
#D945AB
secondary
#9EDBB1
accent
#E9743F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #D945AB

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

Preview Lab → · Contrast checker → · Palette generator →

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