#D04D7A#D04D7A

#D04D7A is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.170 H 2.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#D04D7A
RGBrgb(208, 77, 122)
HSLhsl(339, 58%, 56%)
HSVhsv(339, 63%, 82%)
CMYKcmyk(0%, 63%, 41.3%, 18.4%)
CIE-LABlab(51.98, 55.47, 2.39)
CIE-LCHlch(51.98, 55.53, 2.47°)
OKLaboklab(60.8% 0.1694 0.0069)
OKLCHoklch(60.8% 0.17 2.3)
XYZxyz(32.1813, 20.1265, 20.5987)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04D7A #4DD0A3
analogous
#D04DBB #D04D7A #D0614D
triadic
#D04D7A #7AD04D #4D7AD0
tetradic
#D04D7A #BBD04D #4DD0A3 #614DD0
square
#D04D7A #BBD04D #4DD0A3 #614DD0
split-complementary
#D04D7A #4DD061 #4DBBD0
monochromatic
#812242 #B12F5C #D04D7A #DD7D9E #EAAEC2

Accessibility & contrast

On white

4.18
#D04D7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#D04D7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04D7A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04D7A#FFFFFF#000000##000000
##D04D7A1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C7B
Deuteranopia (green-blind)
#898577
Tritanopia (blue-blind)
#E13E5F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04d7a;
/* rgb */ color: rgb(208, 77, 122);
/* oklch */ color: oklch(60.8% 0.170 2.3);
Tailwind
colors: {
  custom: {
    50: '#e386a0',
    500: '#d04d7a',
    950: '#000000',
  },
}
SCSS
$custom: #d04d7a;
$custom-light: #e386a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d04d7a",
  "rgb": {
    "r": 208,
    "g": 77,
    "b": 122
  },
  "hsl": {
    "h": 339.389,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60803,
    "c": 0.16957,
    "h": 2.3
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

primary
#D04D7A
secondary
#A1D8C5
accent
#E1AC46
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #D04D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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