#DC4871#DC4871

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

Color values

HEX#DC4871
RGBrgb(220, 72, 113)
HSLhsl(343, 68%, 57%)
HSVhsv(343, 67%, 86%)
CMYKcmyk(0%, 67.3%, 48.6%, 13.7%)
CIE-LABlab(53.00, 60.34, 9.51)
CIE-LCHlch(53.00, 61.08, 8.96°)
OKLaboklab(61.87% 0.1837 0.0247)
OKLCHoklch(61.87% 0.185 7.7)
XYZxyz(34.8161, 21.0471, 17.8487)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC4871 #48DCB3
analogous
#DC48BB #DC4871 #DC6948
triadic
#DC4871 #71DC48 #4871DC
tetradic
#DC4871 #BBDC48 #48DCB3 #6948DC
square
#DC4871 #BBDC48 #48DCB3 #6948DC
split-complementary
#DC4871 #48DC69 #48BBDC
monochromatic
#8E1B3B #C22550 #DC4871 #E67B99 #F0AFC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC4871#FFFFFF#000000##000000
##DC48711.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)
#6A6C72
Deuteranopia (green-blind)
#91896D
Tritanopia (blue-blind)
#EF2F58
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #dc4871;
/* rgb */ color: rgb(220, 72, 113);
/* oklch */ color: oklch(61.9% 0.185 7.7);
Tailwind
colors: {
  custom: {
    50: '#ed8499',
    500: '#dc4871',
    950: '#000000',
  },
}
SCSS
$custom: #dc4871;
$custom-light: #ed8499;
$custom-dark: #000000;
JSON
{
  "hex": "#dc4871",
  "rgb": {
    "r": 220,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 343.378,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61865,
    "c": 0.18531,
    "h": 7.7
  },
  "luminance": 0.21043
}

Semantic roles & 50–950 ramp

primary
#DC4871
secondary
#A2DECD
accent
#EBBB3D
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #DC4871

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

Preview Lab → · Contrast checker → · Palette generator →

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