#DE51C2#DE51C2

#DE51C2 is a light, highly saturated pink. Relative luminance 0.253; OKLCH L 66.1% C 0.214 H 336.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#DE51C2
RGBrgb(222, 81, 194)
HSLhsl(312, 68%, 59%)
HSVhsv(312, 64%, 87%)
CMYKcmyk(0%, 63.5%, 12.6%, 12.9%)
CIE-LABlab(57.38, 66.97, -31.46)
CIE-LCHlch(57.38, 73.99, 334.84°)
OKLaboklab(66.06% 0.1961 -0.0854)
OKLCHoklch(66.06% 0.214 336.5)
XYZxyz(42.8048, 25.3131, 53.6600)
Luminance0.2531 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51C2 #51DE6D
analogous
#B451DE #DE51C2 #DE517C
triadic
#DE51C2 #C2DE51 #51C2DE
tetradic
#DE51C2 #DEB451 #51DE6D #517CDE
square
#DE51C2 #DEB451 #51DE6D #517CDE
split-complementary
#DE51C2 #7CDE51 #51DEB4
monochromatic
#981D7F #CB27AB #DE51C2 #E884D4 #F2B8E6

Accessibility & contrast

On white

3.46
#DE51C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#DE51C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51C2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51C2#FFFFFF#000000##000000
##DE51C21.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#537CC5
Deuteranopia (green-blind)
#8092BE
Tritanopia (blue-blind)
#E95982
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #de51c2;
/* rgb */ color: rgb(222, 81, 194);
/* oklch */ color: oklch(66.1% 0.214 336.5);
Tailwind
colors: {
  custom: {
    50: '#ec8bd4',
    500: '#de51c2',
    950: '#000000',
  },
}
SCSS
$custom: #de51c2;
$custom-light: #ec8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#de51c2",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 311.915,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66056,
    "c": 0.21387,
    "h": 336.5
  },
  "luminance": 0.25309
}

Semantic roles & 50–950 ramp

primary
#DE51C2
secondary
#AAE1B5
accent
#EB5F3D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DE51C2

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

Preview Lab → · Contrast checker → · Palette generator →

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