#DC42B6#DC42B6

#DC42B6 is a light, highly saturated pink. Relative luminance 0.225; OKLCH L 63.8% C 0.223 H 339.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#DC42B6
RGBrgb(220, 66, 182)
HSLhsl(315, 69%, 56%)
HSVhsv(315, 70%, 86%)
CMYKcmyk(0%, 70%, 17.3%, 13.7%)
CIE-LABlab(54.55, 70.33, -28.97)
CIE-LCHlch(54.55, 76.06, 337.61°)
OKLaboklab(63.76% 0.209 -0.0782)
OKLCHoklch(63.76% 0.223 339.5)
XYZxyz(39.9079, 22.4933, 46.4868)
Luminance0.2249 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42B6 #42DC68
analogous
#B542DC #DC42B6 #DC4269
triadic
#DC42B6 #B6DC42 #42B6DC
tetradic
#DC42B6 #DCB542 #42DC68 #4269DC
square
#DC42B6 #DCB542 #42DC68 #4269DC
split-complementary
#DC42B6 #69DC42 #42DCB5
monochromatic
#8A1A6E #BE2398 #DC42B6 #E676CA #EFA9DE

Accessibility & contrast

On white

3.82
#DC42B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#DC42B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42B6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42B6#FFFFFF#000000##000000
##DC42B61.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B73B9
Deuteranopia (green-blind)
#7C8BB2
Tritanopia (blue-blind)
#E84777
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc42b6;
/* rgb */ color: rgb(220, 66, 182);
/* oklch */ color: oklch(63.8% 0.223 339.5);
Tailwind
colors: {
  custom: {
    50: '#eb83cc',
    500: '#dc42b6',
    950: '#000000',
  },
}
SCSS
$custom: #dc42b6;
$custom-light: #eb83cc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42b6",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 182
  },
  "hsl": {
    "h": 314.805,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63763,
    "c": 0.2232,
    "h": 339.5
  },
  "luminance": 0.22489
}

Semantic roles & 50–950 ramp

primary
#DC42B6
secondary
#9DDDAD
accent
#EC673C
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC42B6

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

Preview Lab → · Contrast checker → · Palette generator →

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