#DC4872#DC4872

#DC4872 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.185 H 7.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#DC4872
RGBrgb(220, 72, 114)
HSLhsl(343, 68%, 57%)
HSVhsv(343, 67%, 86%)
CMYKcmyk(0%, 67.3%, 48.2%, 13.7%)
CIE-LABlab(53.03, 60.42, 8.95)
CIE-LCHlch(53.03, 61.08, 8.42°)
OKLaboklab(61.89% 0.184 0.0233)
OKLCHoklch(61.89% 0.186 7.2)
XYZxyz(34.8727, 21.0698, 18.1468)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC4872 #48DCB2
analogous
#DC48BC #DC4872 #DC6848
triadic
#DC4872 #72DC48 #4872DC
tetradic
#DC4872 #BCDC48 #48DCB2 #6848DC
square
#DC4872 #BCDC48 #48DCB2 #6848DC
split-complementary
#DC4872 #48DC68 #48BCDC
monochromatic
#8E1B3C #C22552 #DC4872 #E67B9A #F0AFC1

Accessibility & contrast

On white

4.03
#DC4872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#DC4872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC4872
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC4872#FFFFFF#000000##000000
##DC48721.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C73
Deuteranopia (green-blind)
#90896E
Tritanopia (blue-blind)
#EF3059
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #dc4872;
/* rgb */ color: rgb(220, 72, 114);
/* oklch */ color: oklch(61.9% 0.185 7.2);
Tailwind
colors: {
  custom: {
    50: '#ed849a',
    500: '#dc4872',
    950: '#000000',
  },
}
SCSS
$custom: #dc4872;
$custom-light: #ed849a;
$custom-dark: #000000;
JSON
{
  "hex": "#dc4872",
  "rgb": {
    "r": 220,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 342.973,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61891,
    "c": 0.1855,
    "h": 7.2
  },
  "luminance": 0.21065
}

Semantic roles & 50–950 ramp

primary
#DC4872
secondary
#A2DECD
accent
#EBB93D
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DC4872

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

Preview Lab → · Contrast checker → · Palette generator →

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