#D04872#D04872

#D04872 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.0% C 0.174 H 5.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D04872
RGBrgb(208, 72, 114)
HSLhsl(341, 59%, 55%)
HSVhsv(341, 65%, 82%)
CMYKcmyk(0%, 65.4%, 45.2%, 18.4%)
CIE-LABlab(50.99, 56.77, 5.78)
CIE-LCHlch(50.99, 57.06, 5.81°)
OKLaboklab(60% 0.1732 0.0154)
OKLCHoklch(60% 0.174 5.1)
XYZxyz(31.3694, 19.2634, 17.9826)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04872 #48D0A6
analogous
#D048B6 #D04872 #D06248
triadic
#D04872 #72D048 #4872D0
tetradic
#D04872 #B6D048 #48D0A6 #6248D0
square
#D04872 #B6D048 #48D0A6 #6248D0
split-complementary
#D04872 #48D062 #48B6D0
monochromatic
#7D203D #AE2D55 #D04872 #DD7998 #E9A9BD

Accessibility & contrast

On white

4.33
#D04872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#D04872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04872
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04872#FFFFFF#000000##000000
##D048721.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#656973
Deuteranopia (green-blind)
#89836F
Tritanopia (blue-blind)
#E23559
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d04872;
/* rgb */ color: rgb(208, 72, 114);
/* oklch */ color: oklch(60.0% 0.174 5.1);
Tailwind
colors: {
  custom: {
    50: '#e4839a',
    500: '#d04872',
    950: '#000000',
  },
}
SCSS
$custom: #d04872;
$custom-light: #e4839a;
$custom-dark: #000000;
JSON
{
  "hex": "#d04872",
  "rgb": {
    "r": 208,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 341.471,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59999,
    "c": 0.1739,
    "h": 5.1
  },
  "luminance": 0.1926
}

Semantic roles & 50–950 ramp

primary
#D04872
secondary
#9DD7C5
accent
#E2B245
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #D04872

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

Preview Lab → · Contrast checker → · Palette generator →

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