#D047A7#D047A7

#D047A7 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.8% C 0.199 H 341.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D047A7
RGBrgb(208, 71, 167)
HSLhsl(318, 59%, 55%)
HSVhsv(318, 66%, 82%)
CMYKcmyk(0%, 65.9%, 19.7%, 18.4%)
CIE-LABlab(52.63, 63.39, -23.33)
CIE-LCHlch(52.63, 67.54, 339.79°)
OKLaboklab(61.79% 0.1894 -0.0626)
OKLCHoklch(61.79% 0.199 341.7)
XYZxyz(35.2417, 20.7097, 38.6931)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D047A7 #47D070
analogous
#B447D0 #D047A7 #D04763
triadic
#D047A7 #A7D047 #47A7D0
tetradic
#D047A7 #D0B447 #47D070 #4763D0
square
#D047A7 #D0B447 #47D070 #4763D0
split-complementary
#D047A7 #63D047 #47D0B4
monochromatic
#7D2061 #AD2C87 #D047A7 #DC78BE #E9A8D6

Accessibility & contrast

On white

4.08
#D047A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D047A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D047A7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D047A7#FFFFFF#000000##000000
##D047A71.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#516FAA
Deuteranopia (green-blind)
#7B86A4
Tritanopia (blue-blind)
#DC4971
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d047a7;
/* rgb */ color: rgb(208, 71, 167);
/* oklch */ color: oklch(61.8% 0.199 341.7);
Tailwind
colors: {
  custom: {
    50: '#e284c1',
    500: '#d047a7',
    950: '#000000',
  },
}
SCSS
$custom: #d047a7;
$custom-light: #e284c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d047a7",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 317.956,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61789,
    "c": 0.19949,
    "h": 341.7
  },
  "luminance": 0.20706
}

Semantic roles & 50–950 ramp

primary
#D047A7
secondary
#9DD6AE
accent
#E27445
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D047A7

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

Preview Lab → · Contrast checker → · Palette generator →

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