#DC42B0#DC42B0

#DC42B0 is a light, highly saturated pink. Relative luminance 0.222; OKLCH L 63.5% C 0.219 H 341.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#DC42B0
RGBrgb(220, 66, 176)
HSLhsl(317, 69%, 56%)
HSVhsv(317, 70%, 86%)
CMYKcmyk(0%, 70%, 20%, 13.7%)
CIE-LABlab(54.29, 69.52, -25.87)
CIE-LCHlch(54.29, 74.18, 339.59°)
OKLaboklab(63.5% 0.2081 -0.0695)
OKLCHoklch(63.5% 0.219 341.5)
XYZxyz(39.3011, 22.2505, 43.2909)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42B0 #42DC6E
analogous
#BB42DC #DC42B0 #DC4263
triadic
#DC42B0 #B0DC42 #42B0DC
tetradic
#DC42B0 #DCBB42 #42DC6E #4263DC
square
#DC42B0 #DCBB42 #42DC6E #4263DC
split-complementary
#DC42B0 #63DC42 #42DCBB
monochromatic
#8A1A6A #BE2392 #DC42B0 #E676C6 #EFA9DB

Accessibility & contrast

On white

3.85
#DC42B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#DC42B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42B0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42B0#FFFFFF#000000##000000
##DC42B01.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B3
Deuteranopia (green-blind)
#7F8BAC
Tritanopia (blue-blind)
#E94573
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc42b0;
/* rgb */ color: rgb(220, 66, 176);
/* oklch */ color: oklch(63.5% 0.219 341.5);
Tailwind
colors: {
  custom: {
    50: '#eb83c8',
    500: '#dc42b0',
    950: '#000000',
  },
}
SCSS
$custom: #dc42b0;
$custom-light: #eb83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42b0",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 317.143,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63495,
    "c": 0.21939,
    "h": 341.5
  },
  "luminance": 0.22247
}

Semantic roles & 50–950 ramp

primary
#DC42B0
secondary
#9DDDAF
accent
#EC6E3C
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC42B0

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

Preview Lab → · Contrast checker → · Palette generator →

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