#DC5178#DC5178

#DC5178 is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.0% C 0.176 H 6.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#DC5178
RGBrgb(220, 81, 120)
HSLhsl(343, 67%, 59%)
HSVhsv(343, 63%, 86%)
CMYKcmyk(0%, 63.2%, 45.5%, 13.7%)
CIE-LABlab(54.51, 57.33, 7.48)
CIE-LCHlch(54.51, 57.81, 7.44°)
OKLaboklab(63.05% 0.1746 0.0197)
OKLCHoklch(63.05% 0.176 6.4)
XYZxyz(35.8505, 22.4609, 20.2131)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5178 #51DCB5
analogous
#DC51BE #DC5178 #DC7051
triadic
#DC5178 #78DC51 #5178DC
tetradic
#DC5178 #BEDC51 #51DCB5 #7051DC
square
#DC5178 #BEDC51 #51DCB5 #7051DC
split-complementary
#DC5178 #51DC70 #51BEDC
monochromatic
#951E3F #C82855 #DC5178 #E684A0 #F0B7C7

Accessibility & contrast

On white

3.82
#DC5178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#DC5178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5178
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5178#FFFFFF#000000##000000
##DC51781.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7179
Deuteranopia (green-blind)
#938D75
Tritanopia (blue-blind)
#EE3E60
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc5178;
/* rgb */ color: rgb(220, 81, 120);
/* oklch */ color: oklch(63.0% 0.176 6.4);
Tailwind
colors: {
  custom: {
    50: '#ec899e',
    500: '#dc5178',
    950: '#000000',
  },
}
SCSS
$custom: #dc5178;
$custom-light: #ec899e;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5178",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 343.165,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63046,
    "c": 0.17574,
    "h": 6.4
  },
  "luminance": 0.22457
}

Semantic roles & 50–950 ramp

primary
#DC5178
secondary
#A9E0D0
accent
#E9B93E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DC5178

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

Preview Lab → · Contrast checker → · Palette generator →

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