#DC42AF#DC42AF

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

Color values

HEX#DC42AF
RGBrgb(220, 66, 175)
HSLhsl(318, 69%, 56%)
HSVhsv(318, 70%, 86%)
CMYKcmyk(0%, 70%, 20.5%, 13.7%)
CIE-LABlab(54.25, 69.38, -25.35)
CIE-LCHlch(54.25, 73.87, 339.93°)
OKLaboklab(63.45% 0.2079 -0.068)
OKLCHoklch(63.45% 0.219 341.9)
XYZxyz(39.2025, 22.2111, 42.7717)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC42AF #42DC6F
analogous
#BC42DC #DC42AF #DC4262
triadic
#DC42AF #AFDC42 #42AFDC
tetradic
#DC42AF #DCBC42 #42DC6F #4262DC
square
#DC42AF #DCBC42 #42DC6F #4262DC
split-complementary
#DC42AF #62DC42 #42DCBC
monochromatic
#8A1A69 #BE2391 #DC42AF #E676C5 #EFA9DB

Accessibility & contrast

On white

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

On black

5.44
#DC42AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC42AF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC42AF#FFFFFF#000000##000000
##DC42AF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B2
Deuteranopia (green-blind)
#7F8BAB
Tritanopia (blue-blind)
#E94473
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dc42af;
/* rgb */ color: rgb(220, 66, 175);
/* oklch */ color: oklch(63.5% 0.219 341.9);
Tailwind
colors: {
  custom: {
    50: '#eb83c7',
    500: '#dc42af',
    950: '#000000',
  },
}
SCSS
$custom: #dc42af;
$custom-light: #eb83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc42af",
  "rgb": {
    "r": 220,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 317.532,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63451,
    "c": 0.21878,
    "h": 341.9
  },
  "luminance": 0.22207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC42AF

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

Preview Lab → · Contrast checker → · Palette generator →

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