#D04D9C#D04D9C

#D04D9C is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.185 H 346.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#D04D9C
RGBrgb(208, 77, 156)
HSLhsl(324, 58%, 56%)
HSVhsv(324, 63%, 82%)
CMYKcmyk(0%, 63%, 25%, 18.4%)
CIE-LABlab(53.08, 59.48, -16.18)
CIE-LCHlch(53.08, 61.64, 344.79°)
OKLaboklab(61.98% 0.1796 -0.0427)
OKLCHoklch(61.98% 0.185 346.6)
XYZxyz(34.6684, 21.1214, 33.6971)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D9C #4DD081
analogous
#C24DD0 #D04D9C #D04D5A
triadic
#D04D9C #9CD04D #4D9CD0
tetradic
#D04D9C #D0C24D #4DD081 #4D5AD0
square
#D04D9C #D0C24D #4DD081 #4D5AD0
split-complementary
#D04D9C #5AD04D #4DD0C2
monochromatic
#81225B #B12F7D #D04D9C #DD7DB7 #EAAED2

Accessibility & contrast

On white

4.02
#D04D9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#D04D9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D9C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D9C#FFFFFF#000000##000000
##D04D9C1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C709E
Deuteranopia (green-blind)
#818799
Tritanopia (blue-blind)
#DE4A6E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d04d9c;
/* rgb */ color: rgb(208, 77, 156);
/* oklch */ color: oklch(62.0% 0.185 346.6);
Tailwind
colors: {
  custom: {
    50: '#e286b9',
    500: '#d04d9c',
    950: '#000000',
  },
}
SCSS
$custom: #d04d9c;
$custom-light: #e286b9;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d9c",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 323.817,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61981,
    "c": 0.18464,
    "h": 346.6
  },
  "luminance": 0.21118
}

Semantic roles & 50–950 ramp

primary
#D04D9C
secondary
#A1D8B7
accent
#E18446
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D04D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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