#D04EA5#D04EA5

#D04EA5 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.5% C 0.189 H 343.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D04EA5
RGBrgb(208, 78, 165)
HSLhsl(320, 58%, 56%)
HSVhsv(320, 63%, 82%)
CMYKcmyk(0%, 62.5%, 20.7%, 18.4%)
CIE-LABlab(53.58, 60.28, -20.71)
CIE-LCHlch(53.58, 63.74, 341.04°)
OKLaboklab(62.46% 0.1804 -0.0553)
OKLCHoklch(62.46% 0.189 343)
XYZxyz(35.5294, 21.5786, 37.8839)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04EA5 #4ED079
analogous
#BA4ED0 #D04EA5 #D04E64
triadic
#D04EA5 #A5D04E #4EA5D0
tetradic
#D04EA5 #D0BA4E #4ED079 #4E64D0
square
#D04EA5 #D0BA4E #4ED079 #4E64D0
split-complementary
#D04EA5 #64D04E #4ED0BA
monochromatic
#812262 #B22F86 #D04EA5 #DD7EBE #EAAFD6

Accessibility & contrast

On white

3.95
#D04EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D04EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04EA5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04EA5#FFFFFF#000000##000000
##D04EA51.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5972A8
Deuteranopia (green-blind)
#7F88A2
Tritanopia (blue-blind)
#DC4E73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d04ea5;
/* rgb */ color: rgb(208, 78, 165);
/* oklch */ color: oklch(62.5% 0.189 343.0);
Tailwind
colors: {
  custom: {
    50: '#e287bf',
    500: '#d04ea5',
    950: '#000000',
  },
}
SCSS
$custom: #d04ea5;
$custom-light: #e287bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ea5",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 319.846,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62457,
    "c": 0.18872,
    "h": 343
  },
  "luminance": 0.21575
}

Semantic roles & 50–950 ramp

primary
#D04EA5
secondary
#A2D8B4
accent
#E17A47
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D04EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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