#D04781#D04781

#D04781 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.3% C 0.180 H 357.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#D04781
RGBrgb(208, 71, 129)
HSLhsl(335, 59%, 55%)
HSVhsv(335, 66%, 82%)
CMYKcmyk(0%, 65.9%, 38%, 18.4%)
CIE-LABlab(51.27, 58.70, -2.83)
CIE-LCHlch(51.27, 58.77, 357.24°)
OKLaboklab(60.35% 0.1796 -0.0067)
OKLCHoklch(60.35% 0.18 357.9)
XYZxyz(32.2301, 19.5051, 22.8322)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04781 #47D096
analogous
#D047C5 #D04781 #D05247
triadic
#D04781 #81D047 #4781D0
tetradic
#D04781 #C5D047 #47D096 #5247D0
square
#D04781 #C5D047 #47D096 #5247D0
split-complementary
#D04781 #47D052 #47C5D0
monochromatic
#7D2047 #AD2C63 #D04781 #DC78A2 #E9A8C4

Accessibility & contrast

On white

4.29
#D04781 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#D04781 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04781
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04781#FFFFFF#000000##000000
##D047811.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#606A83
Deuteranopia (green-blind)
#85847E
Tritanopia (blue-blind)
#E0395F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d04781;
/* rgb */ color: rgb(208, 71, 129);
/* oklch */ color: oklch(60.3% 0.180 357.9);
Tailwind
colors: {
  custom: {
    50: '#e383a5',
    500: '#d04781',
    950: '#000000',
  },
}
SCSS
$custom: #d04781;
$custom-light: #e383a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d04781",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 334.599,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60346,
    "c": 0.17974,
    "h": 357.9
  },
  "luminance": 0.19501
}

Semantic roles & 50–950 ramp

primary
#D04781
secondary
#9DD6BE
accent
#E2A045
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #D04781

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

Preview Lab → · Contrast checker → · Palette generator →

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