#D947BC#D947BC

#D947BC is a light, highly saturated pink. Relative luminance 0.229; OKLCH L 64.1% C 0.219 H 336.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#D947BC
RGBrgb(217, 71, 188)
HSLhsl(312, 66%, 56%)
HSVhsv(312, 67%, 85%)
CMYKcmyk(0%, 67.3%, 13.4%, 14.9%)
CIE-LABlab(54.96, 68.66, -31.83)
CIE-LCHlch(54.96, 75.68, 335.13°)
OKLaboklab(64.06% 0.2016 -0.0865)
OKLCHoklch(64.06% 0.219 336.8)
XYZxyz(39.9462, 22.8925, 49.8821)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D947BC #47D964
analogous
#AD47D9 #D947BC #D94773
triadic
#D947BC #BCD947 #47BCD9
tetradic
#D947BC #D9AD47 #47D964 #4773D9
square
#D947BC #D9AD47 #47D964 #4773D9
split-complementary
#D947BC #73D947 #47D9AD
monochromatic
#891C74 #BC279E #D947BC #E37ACE #EEACE1

Accessibility & contrast

On white

3.76
#D947BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#D947BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D947BC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D947BC#FFFFFF#000000##000000
##D947BC1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BF
Deuteranopia (green-blind)
#7A8CB8
Tritanopia (blue-blind)
#E44F7B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d947bc;
/* rgb */ color: rgb(217, 71, 188);
/* oklch */ color: oklch(64.1% 0.219 336.8);
Tailwind
colors: {
  custom: {
    50: '#e885d0',
    500: '#d947bc',
    950: '#000000',
  },
}
SCSS
$custom: #d947bc;
$custom-light: #e885d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d947bc",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 311.918,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64058,
    "c": 0.21939,
    "h": 336.8
  },
  "luminance": 0.22889
}

Semantic roles & 50–950 ramp

primary
#D947BC
secondary
#A0DCAC
accent
#E9613F
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #D947BC

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

Preview Lab → · Contrast checker → · Palette generator →

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