#DC51A4#DC51A4

#DC51A4 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.5% C 0.193 H 347.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#DC51A4
RGBrgb(220, 81, 164)
HSLhsl(324, 67%, 59%)
HSVhsv(324, 63%, 86%)
CMYKcmyk(0%, 63.2%, 25.5%, 13.7%)
CIE-LABlab(55.87, 62.26, -16.45)
CIE-LCHlch(55.87, 64.40, 345.20°)
OKLaboklab(64.5% 0.1882 -0.0434)
OKLCHoklch(64.5% 0.193 347)
XYZxyz(39.1600, 23.7847, 37.6433)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51A4 #51DC89
analogous
#CF51DC #DC51A4 #DC515F
triadic
#DC51A4 #A4DC51 #51A4DC
tetradic
#DC51A4 #DCCF51 #51DC89 #515FDC
square
#DC51A4 #DCCF51 #51DC89 #515FDC
split-complementary
#DC51A4 #5FDC51 #51DCCF
monochromatic
#951E65 #C82887 #DC51A4 #E684BF #F0B7D9

Accessibility & contrast

On white

3.65
#DC51A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#DC51A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51A4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51A4#FFFFFF#000000##000000
##DC51A41.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6177A6
Deuteranopia (green-blind)
#898FA1
Tritanopia (blue-blind)
#EA4E74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc51a4;
/* rgb */ color: rgb(220, 81, 164);
/* oklch */ color: oklch(64.5% 0.193 347.0);
Tailwind
colors: {
  custom: {
    50: '#eb8abf',
    500: '#dc51a4',
    950: '#000000',
  },
}
SCSS
$custom: #dc51a4;
$custom-light: #eb8abf;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51a4",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 324.173,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64499,
    "c": 0.19316,
    "h": 347
  },
  "luminance": 0.23781
}

Semantic roles & 50–950 ramp

primary
#DC51A4
secondary
#A9E0BF
accent
#E9833E
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DC51A4

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

Preview Lab → · Contrast checker → · Palette generator →

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