#D04E8A#D04E8A

#D04E8A is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.174 H 354.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D04E8A
RGBrgb(208, 78, 138)
HSLhsl(332, 58%, 56%)
HSVhsv(332, 63%, 82%)
CMYKcmyk(0%, 62.5%, 33.7%, 18.4%)
CIE-LABlab(52.62, 56.81, -6.22)
CIE-LCHlch(52.62, 57.15, 353.75°)
OKLaboklab(61.43% 0.1734 -0.0157)
OKLCHoklch(61.43% 0.174 354.8)
XYZxyz(33.3260, 20.6973, 26.2797)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04E8A #4ED094
analogous
#D04ECB #D04E8A #D0534E
triadic
#D04E8A #8AD04E #4E8AD0
tetradic
#D04E8A #CBD04E #4ED094 #534ED0
square
#D04E8A #CBD04E #4ED094 #534ED0
split-complementary
#D04E8A #4ED053 #4ECBD0
monochromatic
#81224E #B22F6B #D04E8A #DD7EAA #EAAFCA

Accessibility & contrast

On white

4.09
#D04E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D04E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04E8A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04E8A#FFFFFF#000000##000000
##D04E8A1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#636E8C
Deuteranopia (green-blind)
#868687
Tritanopia (blue-blind)
#DF4566
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04e8a;
/* rgb */ color: rgb(208, 78, 138);
/* oklch */ color: oklch(61.4% 0.174 354.8);
Tailwind
colors: {
  custom: {
    50: '#e287ac',
    500: '#d04e8a',
    950: '#000000',
  },
}
SCSS
$custom: #d04e8a;
$custom-light: #e287ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d04e8a",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 332.308,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61433,
    "c": 0.17406,
    "h": 354.8
  },
  "luminance": 0.20694
}

Semantic roles & 50–950 ramp

primary
#D04E8A
secondary
#A2D8BF
accent
#E19A47
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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