#D04798#D04798

#D04798 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.191 H 347.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D04798
RGBrgb(208, 71, 152)
HSLhsl(325, 59%, 55%)
HSVhsv(325, 66%, 82%)
CMYKcmyk(0%, 65.9%, 26.9%, 18.4%)
CIE-LABlab(52.05, 61.40, -15.38)
CIE-LCHlch(52.05, 63.30, 345.93°)
OKLaboklab(61.17% 0.1862 -0.0405)
OKLCHoklch(61.17% 0.191 347.7)
XYZxyz(33.9346, 20.1869, 31.8090)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04798 #47D07F
analogous
#C447D0 #D04798 #D04753
triadic
#D04798 #98D047 #4798D0
tetradic
#D04798 #D0C447 #47D07F #4753D0
square
#D04798 #D0C447 #47D07F #4753D0
split-complementary
#D04798 #53D047 #47D0C4
monochromatic
#7D2057 #AD2C79 #D04798 #DC78B3 #E9A8CF

Accessibility & contrast

On white

4.17
#D04798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D04798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04798
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04798#FFFFFF#000000##000000
##D047981.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#586D9A
Deuteranopia (green-blind)
#808595
Tritanopia (blue-blind)
#DE4369
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04798;
/* rgb */ color: rgb(208, 71, 152);
/* oklch */ color: oklch(61.2% 0.191 347.7);
Tailwind
colors: {
  custom: {
    50: '#e283b6',
    500: '#d04798',
    950: '#000000',
  },
}
SCSS
$custom: #d04798;
$custom-light: #e283b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d04798",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 324.526,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61171,
    "c": 0.1905,
    "h": 347.7
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#D04798
secondary
#9DD6B4
accent
#E28645
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #D04798

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

Preview Lab → · Contrast checker → · Palette generator →

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