#D04797#D04797

#D04797 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.1% C 0.190 H 348.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D04797
RGBrgb(208, 71, 151)
HSLhsl(325, 59%, 55%)
HSVhsv(325, 66%, 82%)
CMYKcmyk(0%, 65.9%, 27.4%, 18.4%)
CIE-LABlab(52.01, 61.27, -14.85)
CIE-LCHlch(52.01, 63.04, 346.38°)
OKLaboklab(61.13% 0.1859 -0.039)
OKLCHoklch(61.13% 0.19 348.2)
XYZxyz(33.8530, 20.1543, 31.3795)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04797 #47D080
analogous
#C547D0 #D04797 #D04752
triadic
#D04797 #97D047 #4797D0
tetradic
#D04797 #D0C547 #47D080 #4752D0
square
#D04797 #D0C547 #47D080 #4752D0
split-complementary
#D04797 #52D047 #47D0C5
monochromatic
#7D2056 #AD2C78 #D04797 #DC78B3 #E9A8CE

Accessibility & contrast

On white

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

On black

5.03
#D04797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04797
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04797#FFFFFF#000000##000000
##D047971.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#596D99
Deuteranopia (green-blind)
#808594
Tritanopia (blue-blind)
#DE4269
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04797;
/* rgb */ color: rgb(208, 71, 151);
/* oklch */ color: oklch(61.1% 0.190 348.2);
Tailwind
colors: {
  custom: {
    50: '#e283b5',
    500: '#d04797',
    950: '#000000',
  },
}
SCSS
$custom: #d04797;
$custom-light: #e283b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d04797",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 324.964,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61133,
    "c": 0.18996,
    "h": 348.2
  },
  "luminance": 0.20151
}

Semantic roles & 50–950 ramp

primary
#D04797
secondary
#9DD6B5
accent
#E28745
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #D04797

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

Preview Lab → · Contrast checker → · Palette generator →

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