#D04C8A#D04C8A

#D04C8A is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.177 H 354.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D04C8A
RGBrgb(208, 76, 138)
HSLhsl(332, 58%, 56%)
HSVhsv(332, 63%, 82%)
CMYKcmyk(0%, 63.5%, 33.7%, 18.4%)
CIE-LABlab(52.31, 57.66, -6.68)
CIE-LCHlch(52.31, 58.04, 353.39°)
OKLaboklab(61.2% 0.176 -0.0169)
OKLCHoklch(61.2% 0.177 354.5)
XYZxyz(33.1861, 20.4174, 26.2331)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04C8A #4CD092
analogous
#D04CCC #D04C8A #D0504C
triadic
#D04C8A #8AD04C #4C8AD0
tetradic
#D04C8A #CCD04C #4CD092 #504CD0
square
#D04C8A #CCD04C #4CD092 #504CD0
split-complementary
#D04C8A #4CD050 #4CCCD0
monochromatic
#80224E #B02E6B #D04C8A #DD7CAA #E9ADC9

Accessibility & contrast

On white

4.13
#D04C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D04C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04C8A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04C8A#FFFFFF#000000##000000
##D04C8A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#616D8C
Deuteranopia (green-blind)
#858687
Tritanopia (blue-blind)
#DF4365
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d04c8a;
/* rgb */ color: rgb(208, 76, 138);
/* oklch */ color: oklch(61.2% 0.177 354.5);
Tailwind
colors: {
  custom: {
    50: '#e285ac',
    500: '#d04c8a',
    950: '#000000',
  },
}
SCSS
$custom: #d04c8a;
$custom-light: #e285ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d04c8a",
  "rgb": {
    "r": 208,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 331.818,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61203,
    "c": 0.1768,
    "h": 354.5
  },
  "luminance": 0.20414
}

Semantic roles & 50–950 ramp

primary
#D04C8A
secondary
#A0D7BE
accent
#E29946
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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