#DC42AE#DC42AE

#DC42AE is a light, highly saturated pink. Relative luminance 0.222; OKLCH L 63.4% C 0.218 H 342.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#DC42AE
RGBrgb(220, 66, 174)
HSLhsl(318, 69%, 56%)
HSVhsv(318, 70%, 86%)
CMYKcmyk(0%, 70%, 20.9%, 13.7%)
CIE-LABlab(54.21, 69.25, -24.83)
CIE-LCHlch(54.21, 73.57, 340.27°)
OKLaboklab(63.41% 0.2078 -0.0666)
OKLCHoklch(63.41% 0.218 342.2)
XYZxyz(39.1047, 22.1720, 42.2564)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42AE #42DC70
analogous
#BD42DC #DC42AE #DC4261
triadic
#DC42AE #AEDC42 #42AEDC
tetradic
#DC42AE #DCBD42 #42DC70 #4261DC
square
#DC42AE #DCBD42 #42DC70 #4261DC
split-complementary
#DC42AE #61DC42 #42DCBD
monochromatic
#8A1A68 #BE2390 #DC42AE #E676C4 #EFA9DA

Accessibility & contrast

On white

3.86
#DC42AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#DC42AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42AE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42AE#FFFFFF#000000##000000
##DC42AE1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B1
Deuteranopia (green-blind)
#7F8BAA
Tritanopia (blue-blind)
#E94472
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc42ae;
/* rgb */ color: rgb(220, 66, 174);
/* oklch */ color: oklch(63.4% 0.218 342.2);
Tailwind
colors: {
  custom: {
    50: '#eb83c6',
    500: '#dc42ae',
    950: '#000000',
  },
}
SCSS
$custom: #dc42ae;
$custom-light: #eb83c6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42ae",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 317.922,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63408,
    "c": 0.21816,
    "h": 342.2
  },
  "luminance": 0.22168
}

Semantic roles & 50–950 ramp

primary
#DC42AE
secondary
#9DDDB0
accent
#EC713C
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DC42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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