#D04EA2#D04EA2

#D04EA2 is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.3% C 0.187 H 344.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#D04EA2
RGBrgb(208, 78, 162)
HSLhsl(321, 58%, 56%)
HSVhsv(321, 63%, 82%)
CMYKcmyk(0%, 62.5%, 22.1%, 18.4%)
CIE-LABlab(53.46, 59.87, -19.13)
CIE-LCHlch(53.46, 62.85, 342.28°)
OKLaboklab(62.33% 0.1798 -0.0509)
OKLCHoklch(62.33% 0.187 344.2)
XYZxyz(35.2595, 21.4706, 36.4627)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04EA2 #4ED07C
analogous
#BD4ED0 #D04EA2 #D04E61
triadic
#D04EA2 #A2D04E #4EA2D0
tetradic
#D04EA2 #D0BD4E #4ED07C #4E61D0
square
#D04EA2 #D0BD4E #4ED07C #4E61D0
split-complementary
#D04EA2 #61D04E #4ED0BD
monochromatic
#812260 #B22F83 #D04EA2 #DD7EBB #EAAFD5

Accessibility & contrast

On white

3.97
#D04EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#D04EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04EA2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04EA2#FFFFFF#000000##000000
##D04EA21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#80889F
Tritanopia (blue-blind)
#DD4D71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d04ea2;
/* rgb */ color: rgb(208, 78, 162);
/* oklch */ color: oklch(62.3% 0.187 344.2);
Tailwind
colors: {
  custom: {
    50: '#e287bd',
    500: '#d04ea2',
    950: '#000000',
  },
}
SCSS
$custom: #d04ea2;
$custom-light: #e287bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d04ea2",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 321.231,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62334,
    "c": 0.18683,
    "h": 344.2
  },
  "luminance": 0.21467
}

Semantic roles & 50–950 ramp

primary
#D04EA2
secondary
#A2D8B5
accent
#E17D47
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D04EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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