#DC42C1#DC42C1

#DC42C1 is a light, highly saturated pink. Relative luminance 0.230; OKLCH L 64.3% C 0.231 H 335.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#DC42C1
RGBrgb(220, 66, 193)
HSLhsl(311, 69%, 56%)
HSVhsv(311, 70%, 86%)
CMYKcmyk(0%, 70%, 12.3%, 13.7%)
CIE-LABlab(55.04, 71.87, -34.56)
CIE-LCHlch(55.04, 79.75, 334.32°)
OKLaboklab(64.28% 0.2104 -0.0942)
OKLCHoklch(64.28% 0.231 335.9)
XYZxyz(41.0896, 22.9660, 52.7106)
Luminance0.2296 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42C1 #42DC5D
analogous
#AA42DC #DC42C1 #DC4274
triadic
#DC42C1 #C1DC42 #42C1DC
tetradic
#DC42C1 #DCAA42 #42DC5D #4274DC
square
#DC42C1 #DCAA42 #42DC5D #4274DC
split-complementary
#DC42C1 #74DC42 #42DCAA
monochromatic
#8A1A76 #BE23A3 #DC42C1 #E676D2 #EFA9E3

Accessibility & contrast

On white

3.76
#DC42C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#DC42C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42C1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42C1#FFFFFF#000000##000000
##DC42C11.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4475C5
Deuteranopia (green-blind)
#788CBD
Tritanopia (blue-blind)
#E74D7C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dc42c1;
/* rgb */ color: rgb(220, 66, 193);
/* oklch */ color: oklch(64.3% 0.231 335.9);
Tailwind
colors: {
  custom: {
    50: '#eb83d4',
    500: '#dc42c1',
    950: '#000000',
  },
}
SCSS
$custom: #dc42c1;
$custom-light: #eb83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42c1",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 310.519,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64279,
    "c": 0.23052,
    "h": 335.9
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#DC42C1
secondary
#9DDDA8
accent
#EC5B3C
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DC42C1

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

Preview Lab → · Contrast checker → · Palette generator →

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