#D04A7D#D04A7D

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

Color values

HEX#D04A7D
RGBrgb(208, 74, 125)
HSLhsl(337, 59%, 55%)
HSVhsv(337, 64%, 82%)
CMYKcmyk(0%, 64.4%, 39.9%, 18.4%)
CIE-LABlab(51.60, 57.05, 0.05)
CIE-LCHlch(51.60, 57.05, 0.05°)
OKLaboklab(60.55% 0.1744 0.0008)
OKLCHoklch(60.55% 0.174 0.3)
XYZxyz(32.1650, 19.7919, 21.5244)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04A7D #4AD09D
analogous
#D04AC0 #D04A7D #D05A4A
triadic
#D04A7D #7DD04A #4A7DD0
tetradic
#D04A7D #C0D04A #4AD09D #5A4AD0
square
#D04A7D #C0D04A #4AD09D #5A4AD0
split-complementary
#D04A7D #4AD05A #4AC0D0
monochromatic
#7F2145 #AF2E5F #D04A7D #DD7BA0 #E9ABC3

Accessibility & contrast

On white

4.24
#D04A7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04A7D#FFFFFF#000000##000000
##D04A7D1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#646B7E
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#E13C5E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d04a7d;
/* rgb */ color: rgb(208, 74, 125);
/* oklch */ color: oklch(60.6% 0.174 0.3);
Tailwind
colors: {
  custom: {
    50: '#e384a2',
    500: '#d04a7d',
    950: '#000000',
  },
}
SCSS
$custom: #d04a7d;
$custom-light: #e384a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d04a7d",
  "rgb": {
    "r": 208,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 337.164,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6055,
    "c": 0.17444,
    "h": 0.3
  },
  "luminance": 0.19788
}

Semantic roles & 50–950 ramp

primary
#D04A7D
secondary
#9FD7C2
accent
#E2A746
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #D04A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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