#D047B7#D047B7

#D047B7 is a light, highly saturated pink. Relative luminance 0.213; OKLCH L 62.5% C 0.210 H 335.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#D047B7
RGBrgb(208, 71, 183)
HSLhsl(311, 59%, 55%)
HSVhsv(311, 66%, 82%)
CMYKcmyk(0%, 65.9%, 12%, 18.4%)
CIE-LABlab(53.32, 65.68, -31.61)
CIE-LCHlch(53.32, 72.89, 334.30°)
OKLaboklab(62.52% 0.192 -0.086)
OKLCHoklch(62.52% 0.21 335.9)
XYZxyz(36.8134, 21.3384, 46.9704)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D047B7 #47D060
analogous
#A547D0 #D047B7 #D04773
triadic
#D047B7 #B7D047 #47B7D0
tetradic
#D047B7 #D0A547 #47D060 #4773D0
square
#D047B7 #D0A547 #47D060 #4773D0
split-complementary
#D047B7 #73D047 #47D0A5
monochromatic
#7D206C #AD2C96 #D047B7 #DC78CA #E9A8DD

Accessibility & contrast

On white

3.99
#D047B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#D047B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D047B7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D047B7#FFFFFF#000000##000000
##D047B71.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#7587B4
Tritanopia (blue-blind)
#DA4F79
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d047b7;
/* rgb */ color: rgb(208, 71, 183);
/* oklch */ color: oklch(62.5% 0.210 335.9);
Tailwind
colors: {
  custom: {
    50: '#e284cd',
    500: '#d047b7',
    950: '#000000',
  },
}
SCSS
$custom: #d047b7;
$custom-light: #e284cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d047b7",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 310.949,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62515,
    "c": 0.21035,
    "h": 335.9
  },
  "luminance": 0.21335
}

Semantic roles & 50–950 ramp

primary
#D047B7
secondary
#9DD6A7
accent
#E26245
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D047B7

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

Preview Lab → · Contrast checker → · Palette generator →

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