#D04D7C#D04D7C

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

Color values

HEX#D04D7C
RGBrgb(208, 77, 124)
HSLhsl(338, 58%, 56%)
HSVhsv(338, 63%, 82%)
CMYKcmyk(0%, 63%, 40.4%, 18.4%)
CIE-LABlab(52.04, 55.68, 1.28)
CIE-LCHlch(52.04, 55.70, 1.32°)
OKLaboklab(60.86% 0.1701 0.004)
OKLCHoklch(60.86% 0.17 1.3)
XYZxyz(32.3065, 20.1766, 21.2580)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D7C #4DD0A1
analogous
#D04DBD #D04D7C #D05F4D
triadic
#D04D7C #7CD04D #4D7CD0
tetradic
#D04D7C #BDD04D #4DD0A1 #5F4DD0
square
#D04D7C #BDD04D #4DD0A1 #5F4DD0
split-complementary
#D04D7C #4DD05F #4DBDD0
monochromatic
#812244 #B12F5D #D04D7C #DD7DA0 #EAAEC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04D7C#FFFFFF#000000##000000
##D04D7C1.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)
#666C7D
Deuteranopia (green-blind)
#898579
Tritanopia (blue-blind)
#E13F5F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04d7c;
/* rgb */ color: rgb(208, 77, 124);
/* oklch */ color: oklch(60.9% 0.170 1.3);
Tailwind
colors: {
  custom: {
    50: '#e386a1',
    500: '#d04d7c',
    950: '#000000',
  },
}
SCSS
$custom: #d04d7c;
$custom-light: #e386a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d7c",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 124
  },
  "hsl": {
    "h": 338.473,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60864,
    "c": 0.17017,
    "h": 1.3
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#D04D7C
secondary
#A1D8C4
accent
#E1AA46
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #D04D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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