#D847B7#D847B7

#D847B7 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.7% C 0.215 H 338.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#D847B7
RGBrgb(216, 71, 183)
HSLhsl(314, 65%, 56%)
HSVhsv(314, 67%, 85%)
CMYKcmyk(0%, 67.1%, 15.3%, 15.3%)
CIE-LABlab(54.58, 67.69, -29.54)
CIE-LCHlch(54.58, 73.86, 336.42°)
OKLaboklab(63.68% 0.1999 -0.08)
OKLCHoklch(63.68% 0.215 338.2)
XYZxyz(39.1201, 22.5278, 47.0786)
Luminance0.2252 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D847B7 #47D868
analogous
#B147D8 #D847B7 #D8476F
triadic
#D847B7 #B7D847 #47B7D8
tetradic
#D847B7 #D8B147 #47D868 #476FD8
square
#D847B7 #D8B147 #47D868 #476FD8
split-complementary
#D847B7 #6FD847 #47D8B1
monochromatic
#881D6F #BA2799 #D847B7 #E379CB #EDACDF

Accessibility & contrast

On white

3.81
#D847B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D847B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D847B7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D847B7#FFFFFF#000000##000000
##D847B71.003.815.505.50
#FFFFFF3.811.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#7B8BB3
Tritanopia (blue-blind)
#E44D79
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d847b7;
/* rgb */ color: rgb(216, 71, 183);
/* oklch */ color: oklch(63.7% 0.215 338.2);
Tailwind
colors: {
  custom: {
    50: '#e885cd',
    500: '#d847b7',
    950: '#000000',
  },
}
SCSS
$custom: #d847b7;
$custom-light: #e885cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d847b7",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 313.655,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6368,
    "c": 0.21535,
    "h": 338.2
  },
  "luminance": 0.22524
}

Semantic roles & 50–950 ramp

primary
#D847B7
secondary
#A0DBAD
accent
#E86640
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #D847B7

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

Preview Lab → · Contrast checker → · Palette generator →

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