#D945A7#D945A7

#D945A7 is a light, highly saturated pink. Relative luminance 0.218; OKLCH L 62.9% C 0.208 H 344.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#D945A7
RGBrgb(217, 69, 167)
HSLhsl(320, 66%, 56%)
HSVhsv(320, 68%, 85%)
CMYKcmyk(0%, 68.2%, 23%, 14.9%)
CIE-LABlab(53.82, 66.50, -21.39)
CIE-LCHlch(53.82, 69.86, 342.17°)
OKLaboklab(62.93% 0.2004 -0.057)
OKLCHoklch(62.93% 0.208 344.1)
XYZxyz(37.7198, 21.8018, 38.7734)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945A7 #45D977
analogous
#C145D9 #D945A7 #D9455D
triadic
#D945A7 #A7D945 #45A7D9
tetradic
#D945A7 #D9C145 #45D977 #455DD9
square
#D945A7 #D9C145 #45D977 #455DD9
split-complementary
#D945A7 #5DD945 #45D9C1
monochromatic
#881C63 #BB2688 #D945A7 #E378BF #EEABD7

Accessibility & contrast

On white

3.92
#D945A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#D945A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945A7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945A7#FFFFFF#000000##000000
##D945A71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AA
Deuteranopia (green-blind)
#818AA4
Tritanopia (blue-blind)
#E74470
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d945a7;
/* rgb */ color: rgb(217, 69, 167);
/* oklch */ color: oklch(62.9% 0.208 344.1);
Tailwind
colors: {
  custom: {
    50: '#e984c1',
    500: '#d945a7',
    950: '#000000',
  },
}
SCSS
$custom: #d945a7;
$custom-light: #e984c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d945a7",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 320.27,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62935,
    "c": 0.20831,
    "h": 344.1
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#D945A7
secondary
#9EDBB3
accent
#E9783F
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D945A7

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

Preview Lab → · Contrast checker → · Palette generator →

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