#DC51A1#DC51A1

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

Color values

HEX#DC51A1
RGBrgb(220, 81, 161)
HSLhsl(325, 67%, 59%)
HSVhsv(325, 63%, 86%)
CMYKcmyk(0%, 63.2%, 26.8%, 13.7%)
CIE-LABlab(55.76, 61.88, -14.86)
CIE-LCHlch(55.76, 63.64, 346.49°)
OKLaboklab(64.38% 0.1875 -0.039)
OKLCHoklch(64.38% 0.192 348.2)
XYZxyz(38.8923, 23.6776, 36.2333)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51A1 #51DC8C
analogous
#D251DC #DC51A1 #DC515C
triadic
#DC51A1 #A1DC51 #51A1DC
tetradic
#DC51A1 #DCD251 #51DC8C #515CDC
square
#DC51A1 #DCD251 #51DC8C #515CDC
split-complementary
#DC51A1 #5CDC51 #51DCD2
monochromatic
#951E62 #C82884 #DC51A1 #E684BD #F0B7D8

Accessibility & contrast

On white

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

On black

5.73
#DC51A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51A1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51A1#FFFFFF#000000##000000
##DC51A11.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6276A3
Deuteranopia (green-blind)
#8A8F9E
Tritanopia (blue-blind)
#EB4C72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc51a1;
/* rgb */ color: rgb(220, 81, 161);
/* oklch */ color: oklch(64.4% 0.192 348.2);
Tailwind
colors: {
  custom: {
    50: '#eb8abc',
    500: '#dc51a1',
    950: '#000000',
  },
}
SCSS
$custom: #dc51a1;
$custom-light: #eb8abc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51a1",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 161
  },
  "hsl": {
    "h": 325.468,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64383,
    "c": 0.1915,
    "h": 348.2
  },
  "luminance": 0.23674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC51A1

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

Preview Lab → · Contrast checker → · Palette generator →

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