#DC42AD#DC42AD

#DC42AD is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.4% C 0.218 H 342.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#DC42AD
RGBrgb(220, 66, 173)
HSLhsl(318, 69%, 56%)
HSVhsv(318, 70%, 86%)
CMYKcmyk(0%, 70%, 21.4%, 13.7%)
CIE-LABlab(54.17, 69.12, -24.31)
CIE-LCHlch(54.17, 73.27, 340.62°)
OKLaboklab(63.37% 0.2076 -0.0651)
OKLCHoklch(63.37% 0.218 342.6)
XYZxyz(39.0075, 22.1331, 41.7449)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42AD #42DC71
analogous
#BE42DC #DC42AD #DC4260
triadic
#DC42AD #ADDC42 #42ADDC
tetradic
#DC42AD #DCBE42 #42DC71 #4260DC
square
#DC42AD #DCBE42 #42DC71 #4260DC
split-complementary
#DC42AD #60DC42 #42DCBE
monochromatic
#8A1A68 #BE238F #DC42AD #E676C3 #EFA9DA

Accessibility & contrast

On white

3.87
#DC42AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#DC42AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42AD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42AD#FFFFFF#000000##000000
##DC42AD1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5071B0
Deuteranopia (green-blind)
#808BA9
Tritanopia (blue-blind)
#EA4372
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #dc42ad;
/* rgb */ color: rgb(220, 66, 173);
/* oklch */ color: oklch(63.4% 0.218 342.6);
Tailwind
colors: {
  custom: {
    50: '#eb83c5',
    500: '#dc42ad',
    950: '#000000',
  },
}
SCSS
$custom: #dc42ad;
$custom-light: #eb83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42ad",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 318.312,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63365,
    "c": 0.21756,
    "h": 342.6
  },
  "luminance": 0.22129
}

Semantic roles & 50–950 ramp

primary
#DC42AD
secondary
#9DDDB1
accent
#EC723C
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC42AD

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

Preview Lab → · Contrast checker → · Palette generator →

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