#DE51C6#DE51C6

#DE51C6 is a light, highly saturated pink. Relative luminance 0.255; OKLCH L 66.2% C 0.217 H 335.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#DE51C6
RGBrgb(222, 81, 198)
HSLhsl(310, 68%, 59%)
HSVhsv(310, 64%, 87%)
CMYKcmyk(0%, 63.5%, 10.8%, 12.9%)
CIE-LABlab(57.55, 67.56, -33.48)
CIE-LCHlch(57.55, 75.40, 333.64°)
OKLaboklab(66.24% 0.1966 -0.0912)
OKLCHoklch(66.24% 0.217 335.1)
XYZxyz(43.2601, 25.4952, 56.0578)
Luminance0.2549 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51C6 #51DE69
analogous
#B051DE #DE51C6 #DE5180
triadic
#DE51C6 #C6DE51 #51C6DE
tetradic
#DE51C6 #DEB051 #51DE69 #5180DE
square
#DE51C6 #DEB051 #51DE69 #5180DE
split-complementary
#DE51C6 #80DE51 #51DEB0
monochromatic
#981D83 #CB27AF #DE51C6 #E884D7 #F2B8E8

Accessibility & contrast

On white

3.44
#DE51C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#DE51C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51C6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51C6#FFFFFF#000000##000000
##DE51C61.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#517DC9
Deuteranopia (green-blind)
#7E92C2
Tritanopia (blue-blind)
#E85A84
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #de51c6;
/* rgb */ color: rgb(222, 81, 198);
/* oklch */ color: oklch(66.2% 0.217 335.1);
Tailwind
colors: {
  custom: {
    50: '#ec8bd7',
    500: '#de51c6',
    950: '#000000',
  },
}
SCSS
$custom: #de51c6;
$custom-light: #ec8bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#de51c6",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 198
  },
  "hsl": {
    "h": 310.213,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66242,
    "c": 0.21674,
    "h": 335.1
  },
  "luminance": 0.25492
}

Semantic roles & 50–950 ramp

primary
#DE51C6
secondary
#AAE1B3
accent
#EB5A3D
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #DE51C6

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

Preview Lab → · Contrast checker → · Palette generator →

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