#DC4178#DC4178

#DC4178 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.4% C 0.195 H 3.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#DC4178
RGBrgb(220, 65, 120)
HSLhsl(339, 69%, 56%)
HSVhsv(339, 70%, 86%)
CMYKcmyk(0%, 70.5%, 45.5%, 13.7%)
CIE-LABlab(52.24, 63.56, 4.22)
CIE-LCHlch(52.24, 63.70, 3.80°)
OKLaboklab(61.36% 0.1945 0.0115)
OKLCHoklch(61.36% 0.195 3.4)
XYZxyz(34.7984, 20.3568, 19.8625)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC4178 #41DCA5
analogous
#DC41C5 #DC4178 #DC5741
triadic
#DC4178 #78DC41 #4178DC
tetradic
#DC4178 #C5DC41 #41DCA5 #5741DC
square
#DC4178 #C5DC41 #41DCA5 #5741DC
split-complementary
#DC4178 #41DC57 #41C5DC
monochromatic
#891941 #BD235A #DC4178 #E6759D #EFA8C1

Accessibility & contrast

On white

4.14
#DC4178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#DC4178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC4178
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC4178#FFFFFF#000000##000000
##DC41781.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#646979
Deuteranopia (green-blind)
#8D8874
Tritanopia (blue-blind)
#EF2858
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #dc4178;
/* rgb */ color: rgb(220, 65, 120);
/* oklch */ color: oklch(61.4% 0.195 3.4);
Tailwind
colors: {
  custom: {
    50: '#ed819e',
    500: '#dc4178',
    950: '#000000',
  },
}
SCSS
$custom: #dc4178;
$custom-light: #ed819e;
$custom-dark: #000000;
JSON
{
  "hex": "#dc4178",
  "rgb": {
    "r": 220,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 338.71,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61359,
    "c": 0.19482,
    "h": 3.4
  },
  "luminance": 0.20352
}

Semantic roles & 50–950 ramp

primary
#DC4178
secondary
#9CDDC6
accent
#ECAD3C
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #DC4178

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

Preview Lab → · Contrast checker → · Palette generator →

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