#D839B7#D839B7

#D839B7 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.5% C 0.231 H 337.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D839B7
RGBrgb(216, 57, 183)
HSLhsl(312, 67%, 54%)
HSVhsv(312, 74%, 85%)
CMYKcmyk(0%, 73.6%, 15.3%, 15.3%)
CIE-LABlab(52.89, 72.46, -32.17)
CIE-LCHlch(52.89, 79.28, 336.06°)
OKLaboklab(62.46% 0.2142 -0.0874)
OKLCHoklch(62.46% 0.231 337.8)
XYZxyz(38.3301, 20.9477, 46.8152)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D839B7 #39D85A
analogous
#A939D8 #D839B7 #D83967
triadic
#D839B7 #B7D839 #39B7D8
tetradic
#D839B7 #D8A939 #39D85A #3967D8
square
#D839B7 #D8A939 #39D85A #3967D8
split-complementary
#D839B7 #67D839 #39D8A9
monochromatic
#7E1969 #B12393 #D839B7 #E26CCA #EC9FDC

Accessibility & contrast

On white

4.05
#D839B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D839B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D839B7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D839B7#FFFFFF#000000##000000
##D839B71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#406FBA
Deuteranopia (green-blind)
#7587B3
Tritanopia (blue-blind)
#E44274
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d839b7;
/* rgb */ color: rgb(216, 57, 183);
/* oklch */ color: oklch(62.5% 0.231 337.8);
Tailwind
colors: {
  custom: {
    50: '#e87fcd',
    500: '#d839b7',
    950: '#000000',
  },
}
SCSS
$custom: #d839b7;
$custom-light: #e87fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#d839b7",
  "rgb": {
    "r": 216,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 312.453,
    "s": 67.089,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62455,
    "c": 0.23136,
    "h": 337.8
  },
  "luminance": 0.20944
}

Semantic roles & 50–950 ramp

primary
#D839B7
secondary
#94D8A2
accent
#EA623E
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#170B13
muted
#857C82

Preview Lab

Preview with #D839B7

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

Preview Lab → · Contrast checker → · Palette generator →

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