#D04A7C#D04A7C

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

Color values

HEX#D04A7C
RGBrgb(208, 74, 124)
HSLhsl(338, 59%, 55%)
HSVhsv(338, 64%, 82%)
CMYKcmyk(0%, 64.4%, 40.4%, 18.4%)
CIE-LABlab(51.57, 56.94, 0.60)
CIE-LCHlch(51.57, 56.95, 0.61°)
OKLaboklab(60.52% 0.1741 0.0022)
OKLCHoklch(60.52% 0.174 0.7)
XYZxyz(32.1014, 19.7665, 21.1897)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04A7C #4AD09E
analogous
#D04ABF #D04A7C #D05B4A
triadic
#D04A7C #7CD04A #4A7CD0
tetradic
#D04A7C #BFD04A #4AD09E #5B4AD0
square
#D04A7C #BFD04A #4AD09E #5B4AD0
split-complementary
#D04A7C #4AD05B #4ABFD0
monochromatic
#7F2144 #AF2E5E #D04A7C #DD7B9F #E9ABC2

Accessibility & contrast

On white

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

On black

4.95
#D04A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04A7C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04A7C#FFFFFF#000000##000000
##D04A7C1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#646B7D
Deuteranopia (green-blind)
#888479
Tritanopia (blue-blind)
#E13B5E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d04a7c;
/* rgb */ color: rgb(208, 74, 124);
/* oklch */ color: oklch(60.5% 0.174 0.7);
Tailwind
colors: {
  custom: {
    50: '#e384a1',
    500: '#d04a7c',
    950: '#000000',
  },
}
SCSS
$custom: #d04a7c;
$custom-light: #e384a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d04a7c",
  "rgb": {
    "r": 208,
    "g": 74,
    "b": 124
  },
  "hsl": {
    "h": 337.612,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60519,
    "c": 0.17411,
    "h": 0.7
  },
  "luminance": 0.19763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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