#DC42B2#DC42B2

#DC42B2 is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.6% C 0.221 H 340.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#DC42B2
RGBrgb(220, 66, 178)
HSLhsl(316, 69%, 56%)
HSVhsv(316, 70%, 86%)
CMYKcmyk(0%, 70%, 19.1%, 13.7%)
CIE-LABlab(54.38, 69.78, -26.91)
CIE-LCHlch(54.38, 74.79, 338.91°)
OKLaboklab(63.58% 0.2084 -0.0724)
OKLCHoklch(63.58% 0.221 340.8)
XYZxyz(39.5004, 22.3303, 44.3407)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42B2 #42DC6C
analogous
#B942DC #DC42B2 #DC4265
triadic
#DC42B2 #B2DC42 #42B2DC
tetradic
#DC42B2 #DCB942 #42DC6C #4265DC
square
#DC42B2 #DCB942 #42DC6C #4265DC
split-complementary
#DC42B2 #65DC42 #42DCB9
monochromatic
#8A1A6B #BE2394 #DC42B2 #E676C7 #EFA9DC

Accessibility & contrast

On white

3.84
#DC42B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#DC42B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42B2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42B2#FFFFFF#000000##000000
##DC42B21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#7E8BAE
Tritanopia (blue-blind)
#E94575
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc42b2;
/* rgb */ color: rgb(220, 66, 178);
/* oklch */ color: oklch(63.6% 0.221 340.8);
Tailwind
colors: {
  custom: {
    50: '#eb83c9',
    500: '#dc42b2',
    950: '#000000',
  },
}
SCSS
$custom: #dc42b2;
$custom-light: #eb83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42b2",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 316.364,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63584,
    "c": 0.22065,
    "h": 340.8
  },
  "luminance": 0.22326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC42B2

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

Preview Lab → · Contrast checker → · Palette generator →

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