#DE51C5#DE51C5

#DE51C5 is a light, highly saturated pink. Relative luminance 0.254; OKLCH L 66.2% C 0.216 H 335.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#DE51C5
RGBrgb(222, 81, 197)
HSLhsl(311, 68%, 59%)
HSVhsv(311, 64%, 87%)
CMYKcmyk(0%, 63.5%, 11.3%, 12.9%)
CIE-LABlab(57.51, 67.41, -32.97)
CIE-LCHlch(57.51, 75.05, 333.93°)
OKLaboklab(66.2% 0.1965 -0.0897)
OKLCHoklch(66.2% 0.216 335.5)
XYZxyz(43.1451, 25.4492, 55.4523)
Luminance0.2545 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51C5 #51DE6A
analogous
#B051DE #DE51C5 #DE517F
triadic
#DE51C5 #C5DE51 #51C5DE
tetradic
#DE51C5 #DEB051 #51DE6A #517FDE
square
#DE51C5 #DEB051 #51DE6A #517FDE
split-complementary
#DE51C5 #7FDE51 #51DEB0
monochromatic
#981D82 #CB27AE #DE51C5 #E884D6 #F2B8E7

Accessibility & contrast

On white

3.45
#DE51C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#DE51C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51C5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51C5#FFFFFF#000000##000000
##DE51C51.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#527DC8
Deuteranopia (green-blind)
#7F92C1
Tritanopia (blue-blind)
#E95A84
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #de51c5;
/* rgb */ color: rgb(222, 81, 197);
/* oklch */ color: oklch(66.2% 0.216 335.5);
Tailwind
colors: {
  custom: {
    50: '#ec8bd7',
    500: '#de51c5',
    950: '#000000',
  },
}
SCSS
$custom: #de51c5;
$custom-light: #ec8bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#de51c5",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 310.638,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66195,
    "c": 0.21601,
    "h": 335.5
  },
  "luminance": 0.25446
}

Semantic roles & 50–950 ramp

primary
#DE51C5
secondary
#AAE1B4
accent
#EB5C3D
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DE51C5

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

Preview Lab → · Contrast checker → · Palette generator →

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