#D04E7A#D04E7A

#D04E7A is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.168 H 2.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D04E7A
RGBrgb(208, 78, 122)
HSLhsl(340, 58%, 56%)
HSVhsv(340, 63%, 82%)
CMYKcmyk(0%, 62.5%, 41.3%, 18.4%)
CIE-LABlab(52.14, 55.05, 2.62)
CIE-LCHlch(52.14, 55.11, 2.73°)
OKLaboklab(60.92% 0.1681 0.0074)
OKLCHoklch(60.92% 0.168 2.5)
XYZxyz(32.2518, 20.2676, 20.6222)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04E7A #4ED0A4
analogous
#D04EBB #D04E7A #D0634E
triadic
#D04E7A #7AD04E #4E7AD0
tetradic
#D04E7A #BBD04E #4ED0A4 #634ED0
square
#D04E7A #BBD04E #4ED0A4 #634ED0
split-complementary
#D04E7A #4ED063 #4EBBD0
monochromatic
#812242 #B22F5B #D04E7A #DD7E9E #EAAFC3

Accessibility & contrast

On white

4.16
#D04E7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D04E7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04E7A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04E7A#FFFFFF#000000##000000
##D04E7A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C7B
Deuteranopia (green-blind)
#8A8677
Tritanopia (blue-blind)
#E13F5F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d04e7a;
/* rgb */ color: rgb(208, 78, 122);
/* oklch */ color: oklch(60.9% 0.168 2.5);
Tailwind
colors: {
  custom: {
    50: '#e386a0',
    500: '#d04e7a',
    950: '#000000',
  },
}
SCSS
$custom: #d04e7a;
$custom-light: #e386a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d04e7a",
  "rgb": {
    "r": 208,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 339.692,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60921,
    "c": 0.16824,
    "h": 2.5
  },
  "luminance": 0.20264
}

Semantic roles & 50–950 ramp

primary
#D04E7A
secondary
#A2D8C6
accent
#E1AD47
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #D04E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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