#D847AC#D847AC

#D847AC is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.2% C 0.208 H 342.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D847AC
RGBrgb(216, 71, 172)
HSLhsl(318, 65%, 56%)
HSVhsv(318, 67%, 85%)
CMYKcmyk(0%, 67.1%, 20.4%, 15.3%)
CIE-LABlab(54.12, 66.17, -23.86)
CIE-LCHlch(54.12, 70.34, 340.17°)
OKLaboklab(63.19% 0.1981 -0.064)
OKLCHoklch(63.19% 0.208 342.1)
XYZxyz(38.0197, 22.0876, 41.2828)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D847AC #47D873
analogous
#BC47D8 #D847AC #D84764
triadic
#D847AC #ACD847 #47ACD8
tetradic
#D847AC #D8BC47 #47D873 #4764D8
square
#D847AC #D8BC47 #47D873 #4764D8
split-complementary
#D847AC #64D847 #47D8BC
monochromatic
#881D67 #BA278E #D847AC #E379C3 #EDACDA

Accessibility & contrast

On white

3.88
#D847AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D847AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D847AC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D847AC#FFFFFF#000000##000000
##D847AC1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5372AF
Deuteranopia (green-blind)
#7F8AA9
Tritanopia (blue-blind)
#E54873
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d847ac;
/* rgb */ color: rgb(216, 71, 172);
/* oklch */ color: oklch(63.2% 0.208 342.1);
Tailwind
colors: {
  custom: {
    50: '#e885c5',
    500: '#d847ac',
    950: '#000000',
  },
}
SCSS
$custom: #d847ac;
$custom-light: #e885c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d847ac",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 318.207,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63192,
    "c": 0.20819,
    "h": 342.1
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

primary
#D847AC
secondary
#A0DBB2
accent
#E87340
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #D847AC

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

Preview Lab → · Contrast checker → · Palette generator →

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