#DC42B4#DC42B4

#DC42B4 is a light, highly saturated pink. Relative luminance 0.224; OKLCH L 63.7% C 0.222 H 340.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#DC42B4
RGBrgb(220, 66, 180)
HSLhsl(316, 69%, 56%)
HSVhsv(316, 70%, 86%)
CMYKcmyk(0%, 70%, 18.2%, 13.7%)
CIE-LABlab(54.46, 70.05, -27.94)
CIE-LCHlch(54.46, 75.42, 338.26°)
OKLaboklab(63.67% 0.2087 -0.0753)
OKLCHoklch(63.67% 0.222 340.2)
XYZxyz(39.7027, 22.4112, 45.4060)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42B4 #42DC6A
analogous
#B742DC #DC42B4 #DC4267
triadic
#DC42B4 #B4DC42 #42B4DC
tetradic
#DC42B4 #DCB742 #42DC6A #4267DC
square
#DC42B4 #DCB742 #42DC6A #4267DC
split-complementary
#DC42B4 #67DC42 #42DCB7
monochromatic
#8A1A6D #BE2396 #DC42B4 #E676C8 #EFA9DD

Accessibility & contrast

On white

3.83
#DC42B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#DC42B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42B4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42B4#FFFFFF#000000##000000
##DC42B41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B7
Deuteranopia (green-blind)
#7D8BB0
Tritanopia (blue-blind)
#E94676
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc42b4;
/* rgb */ color: rgb(220, 66, 180);
/* oklch */ color: oklch(63.7% 0.222 340.2);
Tailwind
colors: {
  custom: {
    50: '#eb83ca',
    500: '#dc42b4',
    950: '#000000',
  },
}
SCSS
$custom: #dc42b4;
$custom-light: #eb83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42b4",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 315.584,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63673,
    "c": 0.22191,
    "h": 340.2
  },
  "luminance": 0.22407
}

Semantic roles & 50–950 ramp

primary
#DC42B4
secondary
#9DDDAE
accent
#EC6A3C
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC42B4

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

Preview Lab → · Contrast checker → · Palette generator →

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