#D04D9A#D04D9A

#D04D9A is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.183 H 347.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#D04D9A
RGBrgb(208, 77, 154)
HSLhsl(325, 58%, 56%)
HSVhsv(325, 63%, 82%)
CMYKcmyk(0%, 63%, 26%, 18.4%)
CIE-LABlab(53.01, 59.22, -15.11)
CIE-LCHlch(53.01, 61.11, 345.69°)
OKLaboklab(61.9% 0.1791 -0.0398)
OKLCHoklch(61.9% 0.184 347.5)
XYZxyz(34.5004, 21.0542, 32.8125)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D9A #4DD083
analogous
#C44DD0 #D04D9A #D04D58
triadic
#D04D9A #9AD04D #4D9AD0
tetradic
#D04D9A #D0C44D #4DD083 #4D58D0
square
#D04D9A #D0C44D #4DD083 #4D58D0
split-complementary
#D04D9A #58D04D #4DD0C4
monochromatic
#81225A #B12F7B #D04D9A #DD7DB5 #EAAED1

Accessibility & contrast

On white

4.03
#D04D9A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#D04D9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D9A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D9A#FFFFFF#000000##000000
##D04D9A1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C709C
Deuteranopia (green-blind)
#828797
Tritanopia (blue-blind)
#DE496D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d04d9a;
/* rgb */ color: rgb(208, 77, 154);
/* oklch */ color: oklch(61.9% 0.183 347.5);
Tailwind
colors: {
  custom: {
    50: '#e286b7',
    500: '#d04d9a',
    950: '#000000',
  },
}
SCSS
$custom: #d04d9a;
$custom-light: #e286b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d9a",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 154
  },
  "hsl": {
    "h": 324.733,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61903,
    "c": 0.1835,
    "h": 347.5
  },
  "luminance": 0.21051
}

Semantic roles & 50–950 ramp

primary
#D04D9A
secondary
#A1D8B8
accent
#E18646
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D04D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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