#D04EB7#D04EB7

#D04EB7 is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.2% C 0.201 H 336.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D04EB7
RGBrgb(208, 78, 183)
HSLhsl(312, 58%, 56%)
HSVhsv(312, 63%, 82%)
CMYKcmyk(0%, 62.5%, 12%, 18.4%)
CIE-LABlab(54.32, 62.90, -30.04)
CIE-LCHlch(54.32, 69.70, 334.47°)
OKLaboklab(63.25% 0.1837 -0.0816)
OKLCHoklch(63.25% 0.201 336.1)
XYZxyz(37.2845, 22.2806, 47.1275)
Luminance0.2228 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04EB7 #4ED067
analogous
#A84ED0 #D04EB7 #D04E76
triadic
#D04EB7 #B7D04E #4EB7D0
tetradic
#D04EB7 #D0A84E #4ED067 #4E76D0
square
#D04EB7 #D0A84E #4ED067 #4E76D0
split-complementary
#D04EB7 #76D04E #4ED0A8
monochromatic
#81226F #B22F99 #D04EB7 #DD7ECB #EAAFDE

Accessibility & contrast

On white

3.85
#D04EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D04EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04EB7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04EB7#FFFFFF#000000##000000
##D04EB71.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5075BA
Deuteranopia (green-blind)
#7889B4
Tritanopia (blue-blind)
#DA557B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d04eb7;
/* rgb */ color: rgb(208, 78, 183);
/* oklch */ color: oklch(63.2% 0.201 336.1);
Tailwind
colors: {
  custom: {
    50: '#e288cd',
    500: '#d04eb7',
    950: '#000000',
  },
}
SCSS
$custom: #d04eb7;
$custom-light: #e288cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d04eb7",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 311.538,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63249,
    "c": 0.20104,
    "h": 336.1
  },
  "luminance": 0.22278
}

Semantic roles & 50–950 ramp

primary
#D04EB7
secondary
#A2D8AC
accent
#E16447
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D04EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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