#DC51A5#DC51A5

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

Color values

HEX#DC51A5
RGBrgb(220, 81, 165)
HSLhsl(324, 67%, 59%)
HSVhsv(324, 63%, 86%)
CMYKcmyk(0%, 63.2%, 25%, 13.7%)
CIE-LABlab(55.91, 62.39, -16.98)
CIE-LCHlch(55.91, 64.66, 344.77°)
OKLaboklab(64.54% 0.1885 -0.0448)
OKLCHoklch(64.54% 0.194 346.6)
XYZxyz(39.2506, 23.8210, 38.1208)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51A5 #51DC88
analogous
#CE51DC #DC51A5 #DC5160
triadic
#DC51A5 #A5DC51 #51A5DC
tetradic
#DC51A5 #DCCE51 #51DC88 #5160DC
square
#DC51A5 #DCCE51 #51DC88 #5160DC
split-complementary
#DC51A5 #60DC51 #51DCCE
monochromatic
#951E66 #C82889 #DC51A5 #E684BF #F0B7DA

Accessibility & contrast

On white

3.64
#DC51A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC51A5#FFFFFF#000000##000000
##DC51A51.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6177A8
Deuteranopia (green-blind)
#888FA2
Tritanopia (blue-blind)
#EA4E74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dc51a5;
/* rgb */ color: rgb(220, 81, 165);
/* oklch */ color: oklch(64.5% 0.194 346.6);
Tailwind
colors: {
  custom: {
    50: '#eb8abf',
    500: '#dc51a5',
    950: '#000000',
  },
}
SCSS
$custom: #dc51a5;
$custom-light: #eb8abf;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51a5",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 165
  },
  "hsl": {
    "h": 323.741,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64537,
    "c": 0.19373,
    "h": 346.6
  },
  "luminance": 0.23817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC51A5

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

Preview Lab → · Contrast checker → · Palette generator →

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