#D04E8D#D04E8D

#D04E8D is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.175 H 353.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D04E8D
RGBrgb(208, 78, 141)
HSLhsl(331, 58%, 56%)
HSVhsv(331, 63%, 82%)
CMYKcmyk(0%, 62.5%, 32.2%, 18.4%)
CIE-LABlab(52.71, 57.17, -7.86)
CIE-LCHlch(52.71, 57.71, 352.17°)
OKLaboklab(61.54% 0.1742 -0.0201)
OKLCHoklch(61.54% 0.175 353.4)
XYZxyz(33.5462, 20.7853, 27.4395)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04E8D #4ED091
analogous
#D04ECE #D04E8D #D0504E
triadic
#D04E8D #8DD04E #4E8DD0
tetradic
#D04E8D #CED04E #4ED091 #504ED0
square
#D04E8D #CED04E #4ED091 #504ED0
split-complementary
#D04E8D #4ED050 #4ECED0
monochromatic
#812250 #B22F6E #D04E8D #DD7EAC #EAAFCB

Accessibility & contrast

On white

4.07
#D04E8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D04E8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04E8D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04E8D#FFFFFF#000000##000000
##D04E8D1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F8F
Deuteranopia (green-blind)
#86878A
Tritanopia (blue-blind)
#DF4667
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04e8d;
/* rgb */ color: rgb(208, 78, 141);
/* oklch */ color: oklch(61.5% 0.175 353.4);
Tailwind
colors: {
  custom: {
    50: '#e287ae',
    500: '#d04e8d',
    950: '#000000',
  },
}
SCSS
$custom: #d04e8d;
$custom-light: #e287ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d04e8d",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 330.923,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61537,
    "c": 0.1754,
    "h": 353.4
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#D04E8D
secondary
#A2D8BE
accent
#E19647
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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