#D04EB5#D04EB5

#D04EB5 is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.2% C 0.200 H 336.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D04EB5
RGBrgb(208, 78, 181)
HSLhsl(312, 58%, 56%)
HSVhsv(312, 63%, 82%)
CMYKcmyk(0%, 62.5%, 13%, 18.4%)
CIE-LABlab(54.24, 62.59, -29.02)
CIE-LCHlch(54.24, 68.99, 335.13°)
OKLaboklab(63.16% 0.1834 -0.0787)
OKLCHoklch(63.16% 0.2 336.8)
XYZxyz(37.0778, 22.1980, 46.0389)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04EB5 #4ED069
analogous
#AA4ED0 #D04EB5 #D04E74
triadic
#D04EB5 #B5D04E #4EB5D0
tetradic
#D04EB5 #D0AA4E #4ED069 #4E74D0
square
#D04EB5 #D0AA4E #4ED069 #4E74D0
split-complementary
#D04EB5 #74D04E #4ED0AA
monochromatic
#81226E #B22F97 #D04EB5 #DD7EC9 #EAAFDD

Accessibility & contrast

On white

3.86
#D04EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D04EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04EB5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04EB5#FFFFFF#000000##000000
##D04EB51.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5175B8
Deuteranopia (green-blind)
#7989B2
Tritanopia (blue-blind)
#DA547A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d04eb5;
/* rgb */ color: rgb(208, 78, 181);
/* oklch */ color: oklch(63.2% 0.200 336.8);
Tailwind
colors: {
  custom: {
    50: '#e288cb',
    500: '#d04eb5',
    950: '#000000',
  },
}
SCSS
$custom: #d04eb5;
$custom-light: #e288cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d04eb5",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 312.462,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63157,
    "c": 0.1996,
    "h": 336.8
  },
  "luminance": 0.22195
}

Semantic roles & 50–950 ramp

primary
#D04EB5
secondary
#A2D8AD
accent
#E16747
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D04EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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