#DC42C2#DC42C2

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

Color values

HEX#DC42C2
RGBrgb(220, 66, 194)
HSLhsl(310, 69%, 56%)
HSVhsv(310, 70%, 86%)
CMYKcmyk(0%, 70%, 11.8%, 13.7%)
CIE-LABlab(55.08, 72.02, -35.07)
CIE-LCHlch(55.08, 80.10, 334.04°)
OKLaboklab(64.33% 0.2105 -0.0956)
OKLCHoklch(64.33% 0.231 335.6)
XYZxyz(41.2016, 23.0107, 53.3000)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42C2 #42DC5C
analogous
#A942DC #DC42C2 #DC4275
triadic
#DC42C2 #C2DC42 #42C2DC
tetradic
#DC42C2 #DCA942 #42DC5C #4275DC
square
#DC42C2 #DCA942 #42DC5C #4275DC
split-complementary
#DC42C2 #75DC42 #42DCA9
monochromatic
#8A1A77 #BE23A4 #DC42C2 #E676D3 #EFA9E3

Accessibility & contrast

On white

3.75
#DC42C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#DC42C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42C2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42C2#FFFFFF#000000##000000
##DC42C21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C6
Deuteranopia (green-blind)
#788CBE
Tritanopia (blue-blind)
#E74D7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dc42c2;
/* rgb */ color: rgb(220, 66, 194);
/* oklch */ color: oklch(64.3% 0.231 335.6);
Tailwind
colors: {
  custom: {
    50: '#eb83d5',
    500: '#dc42c2',
    950: '#000000',
  },
}
SCSS
$custom: #dc42c2;
$custom-light: #eb83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42c2",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 310.13,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64328,
    "c": 0.2312,
    "h": 335.6
  },
  "luminance": 0.23007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC42C2

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

Preview Lab → · Contrast checker → · Palette generator →

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