#D04873#D04873

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

Color values

HEX#D04873
RGBrgb(208, 72, 115)
HSLhsl(341, 59%, 55%)
HSVhsv(341, 65%, 82%)
CMYKcmyk(0%, 65.4%, 44.7%, 18.4%)
CIE-LABlab(51.02, 56.86, 5.21)
CIE-LCHlch(51.02, 57.10, 5.24°)
OKLaboklab(60.03% 0.1736 0.014)
OKLCHoklch(60.03% 0.174 4.6)
XYZxyz(31.4266, 19.2863, 18.2840)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04873 #48D0A5
analogous
#D048B7 #D04873 #D06148
triadic
#D04873 #73D048 #4873D0
tetradic
#D04873 #B7D048 #48D0A5 #6148D0
square
#D04873 #B7D048 #48D0A5 #6148D0
split-complementary
#D04873 #48D061 #48B7D0
monochromatic
#7D203E #AE2D56 #D04873 #DD7998 #E9A9BE

Accessibility & contrast

On white

4.32
#D04873 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D04873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04873
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04873#FFFFFF#000000##000000
##D048731.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#656974
Deuteranopia (green-blind)
#898370
Tritanopia (blue-blind)
#E13559
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d04873;
/* rgb */ color: rgb(208, 72, 115);
/* oklch */ color: oklch(60.0% 0.174 4.6);
Tailwind
colors: {
  custom: {
    50: '#e3839b',
    500: '#d04873',
    950: '#000000',
  },
}
SCSS
$custom: #d04873;
$custom-light: #e3839b;
$custom-dark: #000000;
JSON
{
  "hex": "#d04873",
  "rgb": {
    "r": 208,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 341.029,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.17413,
    "h": 4.6
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#D04873
secondary
#9DD7C4
accent
#E2B145
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #D04873

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

Preview Lab → · Contrast checker → · Palette generator →

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