#D04E98#D04E98

#D04E98 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.181 H 348.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#D04E98
RGBrgb(208, 78, 152)
HSLhsl(326, 58%, 56%)
HSVhsv(326, 63%, 82%)
CMYKcmyk(0%, 62.5%, 26.9%, 18.4%)
CIE-LABlab(53.09, 58.54, -13.80)
CIE-LCHlch(53.09, 60.14, 346.73°)
OKLaboklab(61.94% 0.1773 -0.0362)
OKLCHoklch(61.94% 0.181 348.5)
XYZxyz(34.4057, 21.1291, 31.9660)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04E98 #4ED086
analogous
#C74ED0 #D04E98 #D04E57
triadic
#D04E98 #98D04E #4E98D0
tetradic
#D04E98 #D0C74E #4ED086 #4E57D0
square
#D04E98 #D0C74E #4ED086 #4E57D0
split-complementary
#D04E98 #57D04E #4ED0C7
monochromatic
#812258 #B22F79 #D04E98 #DD7EB4 #EAAFD0

Accessibility & contrast

On white

4.02
#D04E98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#D04E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04E98
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04E98#FFFFFF#000000##000000
##D04E981.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E709A
Deuteranopia (green-blind)
#838795
Tritanopia (blue-blind)
#DE4A6C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d04e98;
/* rgb */ color: rgb(208, 78, 152);
/* oklch */ color: oklch(61.9% 0.181 348.5);
Tailwind
colors: {
  custom: {
    50: '#e287b6',
    500: '#d04e98',
    950: '#000000',
  },
}
SCSS
$custom: #d04e98;
$custom-light: #e287b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d04e98",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 325.846,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61939,
    "c": 0.18099,
    "h": 348.5
  },
  "luminance": 0.21126
}

Semantic roles & 50–950 ramp

primary
#D04E98
secondary
#A2D8B9
accent
#E18947
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D04E98

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

Preview Lab → · Contrast checker → · Palette generator →

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