#D04A7E#D04A7E

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

Color values

HEX#D04A7E
RGBrgb(208, 74, 126)
HSLhsl(337, 59%, 55%)
HSVhsv(337, 64%, 82%)
CMYKcmyk(0%, 64.4%, 39.4%, 18.4%)
CIE-LABlab(51.63, 57.15, -0.51)
CIE-LCHlch(51.63, 57.16, 359.49°)
OKLaboklab(60.58% 0.1748 -0.0006)
OKLCHoklch(60.58% 0.175 359.8)
XYZxyz(32.2292, 19.8176, 21.8626)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04A7E #4AD09C
analogous
#D04AC1 #D04A7E #D0594A
triadic
#D04A7E #7ED04A #4A7ED0
tetradic
#D04A7E #C1D04A #4AD09C #594AD0
square
#D04A7E #C1D04A #4AD09C #594AD0
split-complementary
#D04A7E #4AD059 #4AC1D0
monochromatic
#7F2145 #AF2E60 #D04A7E #DD7BA1 #E9ABC3

Accessibility & contrast

On white

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

On black

4.96
#D04A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04A7E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04A7E#FFFFFF#000000##000000
##D04A7E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#636B7F
Deuteranopia (green-blind)
#87847B
Tritanopia (blue-blind)
#E13C5F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d04a7e;
/* rgb */ color: rgb(208, 74, 126);
/* oklch */ color: oklch(60.6% 0.175 359.8);
Tailwind
colors: {
  custom: {
    50: '#e384a3',
    500: '#d04a7e',
    950: '#000000',
  },
}
SCSS
$custom: #d04a7e;
$custom-light: #e384a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d04a7e",
  "rgb": {
    "r": 208,
    "g": 74,
    "b": 126
  },
  "hsl": {
    "h": 336.716,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.17478,
    "h": 359.8
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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