#D04588#D04588

#D04588 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.4% C 0.185 H 354.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#D04588
RGBrgb(208, 69, 136)
HSLhsl(331, 60%, 54%)
HSVhsv(331, 67%, 82%)
CMYKcmyk(0%, 66.8%, 34.6%, 18.4%)
CIE-LABlab(51.21, 60.26, -7.12)
CIE-LCHlch(51.21, 60.68, 353.26°)
OKLaboklab(60.37% 0.1843 -0.018)
OKLCHoklch(60.37% 0.185 354.4)
XYZxyz(32.5864, 19.4474, 25.3254)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04588 #45D08D
analogous
#D045CE #D04588 #D04845
triadic
#D04588 #88D045 #4588D0
tetradic
#D04588 #CED045 #45D08D #4845D0
square
#D04588 #CED045 #45D08D #4845D0
split-complementary
#D04588 #45D048 #45CED0
monochromatic
#7B1F4C #AC2C6A #D04588 #DC76A7 #E9A7C7

Accessibility & contrast

On white

4.30
#D04588 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#D04588 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04588
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04588#FFFFFF#000000##000000
##D045881.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A8A
Deuteranopia (green-blind)
#838385
Tritanopia (blue-blind)
#E03A61
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d04588;
/* rgb */ color: rgb(208, 69, 136);
/* oklch */ color: oklch(60.4% 0.185 354.4);
Tailwind
colors: {
  custom: {
    50: '#e382aa',
    500: '#d04588',
    950: '#000000',
  },
}
SCSS
$custom: #d04588;
$custom-light: #e382aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d04588",
  "rgb": {
    "r": 208,
    "g": 69,
    "b": 136
  },
  "hsl": {
    "h": 331.079,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6037,
    "c": 0.18515,
    "h": 354.4
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#D04588
secondary
#9BD6B9
accent
#E39745
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #D04588

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

Preview Lab → · Contrast checker → · Palette generator →

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