#D047A8#D047A8

#D047A8 is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 61.8% C 0.200 H 341.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D047A8
RGBrgb(208, 71, 168)
HSLhsl(318, 59%, 55%)
HSVhsv(318, 66%, 82%)
CMYKcmyk(0%, 65.9%, 19.2%, 18.4%)
CIE-LABlab(52.67, 63.52, -23.86)
CIE-LCHlch(52.67, 67.86, 339.42°)
OKLaboklab(61.83% 0.1896 -0.064)
OKLCHoklch(61.83% 0.2 341.3)
XYZxyz(35.3345, 20.7468, 39.1818)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D047A8 #47D06F
analogous
#B347D0 #D047A8 #D04764
triadic
#D047A8 #A8D047 #47A8D0
tetradic
#D047A8 #D0B347 #47D06F #4764D0
square
#D047A8 #D0B347 #47D06F #4764D0
split-complementary
#D047A8 #64D047 #47D0B3
monochromatic
#7D2062 #AD2C88 #D047A8 #DC78BF #E9A8D6

Accessibility & contrast

On white

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

On black

5.15
#D047A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D047A8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D047A8#FFFFFF#000000##000000
##D047A81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5170AB
Deuteranopia (green-blind)
#7B86A5
Tritanopia (blue-blind)
#DC4971
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d047a8;
/* rgb */ color: rgb(208, 71, 168);
/* oklch */ color: oklch(61.8% 0.200 341.3);
Tailwind
colors: {
  custom: {
    50: '#e284c2',
    500: '#d047a8',
    950: '#000000',
  },
}
SCSS
$custom: #d047a8;
$custom-light: #e284c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d047a8",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 317.518,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61833,
    "c": 0.20014,
    "h": 341.3
  },
  "luminance": 0.20744
}

Semantic roles & 50–950 ramp

primary
#D047A8
secondary
#9DD6AD
accent
#E27345
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D047A8

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

Preview Lab → · Contrast checker → · Palette generator →

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