#D04072#D04072

#D04072 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.2% C 0.184 H 3.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#D04072
RGBrgb(208, 64, 114)
HSLhsl(339, 61%, 53%)
HSVhsv(339, 69%, 82%)
CMYKcmyk(0%, 69.2%, 45.2%, 18.4%)
CIE-LABlab(49.85, 59.90, 4.14)
CIE-LCHlch(49.85, 60.04, 3.95°)
OKLaboklab(59.15% 0.1832 0.0113)
OKLCHoklch(59.15% 0.184 3.5)
XYZxyz(30.8855, 18.2955, 17.8213)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04072 #40D09E
analogous
#D040BA #D04072 #D05640
triadic
#D04072 #72D040 #4072D0
tetradic
#D04072 #BAD040 #40D09E #5640D0
square
#D04072 #BAD040 #40D09E #5640D0
split-complementary
#D04072 #40D056 #40BAD0
monochromatic
#781E3D #A92A56 #D04072 #DC7196 #E8A2BB

Accessibility & contrast

On white

4.51
#D04072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#D04072 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04072
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04072#FFFFFF#000000##000000
##D040721.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6573
Deuteranopia (green-blind)
#86816F
Tritanopia (blue-blind)
#E22A54
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d04072;
/* rgb */ color: rgb(208, 64, 114);
/* oklch */ color: oklch(59.2% 0.184 3.5);
Tailwind
colors: {
  custom: {
    50: '#e47f9a',
    500: '#d04072',
    950: '#000000',
  },
}
SCSS
$custom: #d04072;
$custom-light: #e47f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d04072",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 339.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.18354,
    "h": 3.5
  },
  "luminance": 0.18292
}

Semantic roles & 50–950 ramp

primary
#D04072
secondary
#97D5BF
accent
#E4AC44
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D04072

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

Preview Lab → · Contrast checker → · Palette generator →

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