#DC51A2#DC51A2

#DC51A2 is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.4% C 0.192 H 347.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#DC51A2
RGBrgb(220, 81, 162)
HSLhsl(325, 67%, 59%)
HSVhsv(325, 63%, 86%)
CMYKcmyk(0%, 63.2%, 26.4%, 13.7%)
CIE-LABlab(55.80, 62.00, -15.39)
CIE-LCHlch(55.80, 63.89, 346.06°)
OKLaboklab(64.42% 0.1877 -0.0405)
OKLCHoklch(64.42% 0.192 347.8)
XYZxyz(38.9808, 23.7131, 36.6996)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51A2 #51DC8B
analogous
#D151DC #DC51A2 #DC515D
triadic
#DC51A2 #A2DC51 #51A2DC
tetradic
#DC51A2 #DCD151 #51DC8B #515DDC
square
#DC51A2 #DCD151 #51DC8B #515DDC
split-complementary
#DC51A2 #5DDC51 #51DCD1
monochromatic
#951E63 #C82885 #DC51A2 #E684BD #F0B7D8

Accessibility & contrast

On white

3.66
#DC51A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#DC51A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51A2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51A2#FFFFFF#000000##000000
##DC51A21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6276A4
Deuteranopia (green-blind)
#898F9F
Tritanopia (blue-blind)
#EB4D73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc51a2;
/* rgb */ color: rgb(220, 81, 162);
/* oklch */ color: oklch(64.4% 0.192 347.8);
Tailwind
colors: {
  custom: {
    50: '#eb8abd',
    500: '#dc51a2',
    950: '#000000',
  },
}
SCSS
$custom: #dc51a2;
$custom-light: #eb8abd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51a2",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 325.036,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64422,
    "c": 0.19205,
    "h": 347.8
  },
  "luminance": 0.23709
}

Semantic roles & 50–950 ramp

primary
#DC51A2
secondary
#A9E0C0
accent
#E9863E
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DC51A2

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

Preview Lab → · Contrast checker → · Palette generator →

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