#D847B2#D847B2

#D847B2 is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.5% C 0.212 H 339.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D847B2
RGBrgb(216, 71, 178)
HSLhsl(316, 65%, 56%)
HSVhsv(316, 67%, 85%)
CMYKcmyk(0%, 67.1%, 17.6%, 15.3%)
CIE-LABlab(54.37, 66.99, -26.97)
CIE-LCHlch(54.37, 72.21, 338.07°)
OKLaboklab(63.45% 0.1992 -0.0727)
OKLCHoklch(63.45% 0.212 339.9)
XYZxyz(38.6090, 22.3234, 44.3863)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D847B2 #47D86D
analogous
#B647D8 #D847B2 #D8476A
triadic
#D847B2 #B2D847 #47B2D8
tetradic
#D847B2 #D8B647 #47D86D #476AD8
square
#D847B2 #D8B647 #47D86D #476AD8
split-complementary
#D847B2 #6AD847 #47D8B6
monochromatic
#881D6C #BA2794 #D847B2 #E379C7 #EDACDC

Accessibility & contrast

On white

3.84
#D847B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D847B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D847B2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D847B2#FFFFFF#000000##000000
##D847B21.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#7D8AAE
Tritanopia (blue-blind)
#E44B76
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d847b2;
/* rgb */ color: rgb(216, 71, 178);
/* oklch */ color: oklch(63.5% 0.212 339.9);
Tailwind
colors: {
  custom: {
    50: '#e885c9',
    500: '#d847b2',
    950: '#000000',
  },
}
SCSS
$custom: #d847b2;
$custom-light: #e885c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d847b2",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 315.724,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63454,
    "c": 0.21203,
    "h": 339.9
  },
  "luminance": 0.2232
}

Semantic roles & 50–950 ramp

primary
#D847B2
secondary
#A0DBAF
accent
#E86C40
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D847B2

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

Preview Lab → · Contrast checker → · Palette generator →

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