#D04A7F#D04A7F

#D04A7F is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.175 H 359.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#D04A7F
RGBrgb(208, 74, 127)
HSLhsl(336, 59%, 55%)
HSVhsv(336, 64%, 82%)
CMYKcmyk(0%, 64.4%, 38.9%, 18.4%)
CIE-LABlab(51.66, 57.26, -1.07)
CIE-LCHlch(51.66, 57.27, 358.93°)
OKLaboklab(60.61% 0.1751 -0.0021)
OKLCHoklch(60.61% 0.175 359.3)
XYZxyz(32.2940, 19.8435, 22.2041)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04A7F #4AD09B
analogous
#D04AC2 #D04A7F #D0584A
triadic
#D04A7F #7FD04A #4A7FD0
tetradic
#D04A7F #C2D04A #4AD09B #584AD0
square
#D04A7F #C2D04A #4AD09B #584AD0
split-complementary
#D04A7F #4AD058 #4AC2D0
monochromatic
#7F2146 #AF2E61 #D04A7F #DD7BA1 #E9ABC4

Accessibility & contrast

On white

4.23
#D04A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D04A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04A7F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04A7F#FFFFFF#000000##000000
##D04A7F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#636B80
Deuteranopia (green-blind)
#87857C
Tritanopia (blue-blind)
#E03C5F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d04a7f;
/* rgb */ color: rgb(208, 74, 127);
/* oklch */ color: oklch(60.6% 0.175 359.3);
Tailwind
colors: {
  custom: {
    50: '#e384a4',
    500: '#d04a7f',
    950: '#000000',
  },
}
SCSS
$custom: #d04a7f;
$custom-light: #e384a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d04a7f",
  "rgb": {
    "r": 208,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 336.269,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60613,
    "c": 0.17512,
    "h": 359.3
  },
  "luminance": 0.1984
}

Semantic roles & 50–950 ramp

primary
#D04A7F
secondary
#9FD7C1
accent
#E2A446
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #D04A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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