#D847BA#D847BA

#D847BA is a light, highly saturated pink. Relative luminance 0.227; OKLCH L 63.8% C 0.217 H 337.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#D847BA
RGBrgb(216, 71, 186)
HSLhsl(312, 65%, 56%)
HSVhsv(312, 67%, 85%)
CMYKcmyk(0%, 67.1%, 13.9%, 15.3%)
CIE-LABlab(54.71, 68.12, -31.07)
CIE-LCHlch(54.71, 74.87, 335.48°)
OKLaboklab(63.82% 0.2004 -0.0843)
OKLCHoklch(63.82% 0.217 337.2)
XYZxyz(39.4357, 22.6541, 48.7406)
Luminance0.2265 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D847BA #47D865
analogous
#AE47D8 #D847BA #D84772
triadic
#D847BA #BAD847 #47BAD8
tetradic
#D847BA #D8AE47 #47D865 #4772D8
square
#D847BA #D8AE47 #47D865 #4772D8
split-complementary
#D847BA #72D847 #47D8AE
monochromatic
#881D72 #BA279C #D847BA #E379CD #EDACE0

Accessibility & contrast

On white

3.80
#D847BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#D847BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D847BA
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D847BA#FFFFFF#000000##000000
##D847BA1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#7A8BB6
Tritanopia (blue-blind)
#E34F7A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d847ba;
/* rgb */ color: rgb(216, 71, 186);
/* oklch */ color: oklch(63.8% 0.217 337.2);
Tailwind
colors: {
  custom: {
    50: '#e885cf',
    500: '#d847ba',
    950: '#000000',
  },
}
SCSS
$custom: #d847ba;
$custom-light: #e885cf;
$custom-dark: #000000;
JSON
{
  "hex": "#d847ba",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 312.414,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63819,
    "c": 0.2174,
    "h": 337.2
  },
  "luminance": 0.22651
}

Semantic roles & 50–950 ramp

primary
#D847BA
secondary
#A0DBAC
accent
#E86340
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D847BA

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

Preview Lab → · Contrast checker → · Palette generator →

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