#DC42C0#DC42C0

#DC42C0 is a light, highly saturated pink. Relative luminance 0.229; OKLCH L 64.2% C 0.230 H 336.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#DC42C0
RGBrgb(220, 66, 192)
HSLhsl(311, 69%, 56%)
HSVhsv(311, 70%, 86%)
CMYKcmyk(0%, 70%, 12.7%, 13.7%)
CIE-LABlab(54.99, 71.73, -34.06)
CIE-LCHlch(54.99, 79.40, 334.60°)
OKLaboklab(64.23% 0.2103 -0.0927)
OKLCHoklch(64.23% 0.23 336.2)
XYZxyz(40.9785, 22.9215, 52.1250)
Luminance0.2292 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42C0 #42DC5E
analogous
#AB42DC #DC42C0 #DC4273
triadic
#DC42C0 #C0DC42 #42C0DC
tetradic
#DC42C0 #DCAB42 #42DC5E #4273DC
square
#DC42C0 #DCAB42 #42DC5E #4273DC
split-complementary
#DC42C0 #73DC42 #42DCAB
monochromatic
#8A1A76 #BE23A2 #DC42C0 #E676D1 #EFA9E2

Accessibility & contrast

On white

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

On black

5.58
#DC42C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42C0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42C0#FFFFFF#000000##000000
##DC42C01.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4475C4
Deuteranopia (green-blind)
#798CBC
Tritanopia (blue-blind)
#E74C7C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dc42c0;
/* rgb */ color: rgb(220, 66, 192);
/* oklch */ color: oklch(64.2% 0.230 336.2);
Tailwind
colors: {
  custom: {
    50: '#eb83d3',
    500: '#dc42c0',
    950: '#000000',
  },
}
SCSS
$custom: #dc42c0;
$custom-light: #eb83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42c0",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 310.909,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64231,
    "c": 0.22983,
    "h": 336.2
  },
  "luminance": 0.22918
}

Semantic roles & 50–950 ramp

primary
#DC42C0
secondary
#9DDDA9
accent
#EC5C3C
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DC42C0

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

Preview Lab → · Contrast checker → · Palette generator →

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