#D04E8B#D04E8B

#D04E8B is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.174 H 354.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D04E8B
RGBrgb(208, 78, 139)
HSLhsl(332, 58%, 56%)
HSVhsv(332, 63%, 82%)
CMYKcmyk(0%, 62.5%, 33.2%, 18.4%)
CIE-LABlab(52.65, 56.93, -6.77)
CIE-LCHlch(52.65, 57.33, 353.22°)
OKLaboklab(61.47% 0.1737 -0.0171)
OKLCHoklch(61.47% 0.174 354.4)
XYZxyz(33.3988, 20.7263, 26.6628)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04E8B #4ED093
analogous
#D04ECC #D04E8B #D0524E
triadic
#D04E8B #8BD04E #4E8BD0
tetradic
#D04E8B #CCD04E #4ED093 #524ED0
square
#D04E8B #CCD04E #4ED093 #524ED0
split-complementary
#D04E8B #4ED052 #4ECCD0
monochromatic
#81224F #B22F6C #D04E8B #DD7EAB #EAAFCA

Accessibility & contrast

On white

4.08
#D04E8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D04E8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04E8B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04E8B#FFFFFF#000000##000000
##D04E8B1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F8D
Deuteranopia (green-blind)
#868688
Tritanopia (blue-blind)
#DF4566
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04e8b;
/* rgb */ color: rgb(208, 78, 139);
/* oklch */ color: oklch(61.5% 0.174 354.4);
Tailwind
colors: {
  custom: {
    50: '#e287ac',
    500: '#d04e8b',
    950: '#000000',
  },
}
SCSS
$custom: #d04e8b;
$custom-light: #e287ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d04e8b",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 331.846,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.17449,
    "h": 354.4
  },
  "luminance": 0.20723
}

Semantic roles & 50–950 ramp

primary
#D04E8B
secondary
#A2D8BF
accent
#E19947
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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