#DE51A6#DE51A6

#DE51A6 is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.9% C 0.196 H 346.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#DE51A6
RGBrgb(222, 81, 166)
HSLhsl(324, 68%, 59%)
HSVhsv(324, 64%, 87%)
CMYKcmyk(0%, 63.5%, 25.2%, 12.9%)
CIE-LABlab(56.26, 63.08, -17.00)
CIE-LCHlch(56.26, 65.33, 344.92°)
OKLaboklab(64.87% 0.1906 -0.0449)
OKLCHoklch(64.87% 0.196 346.8)
XYZxyz(39.9511, 24.1716, 38.6306)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51A6 #51DE89
analogous
#D051DE #DE51A6 #DE5160
triadic
#DE51A6 #A6DE51 #51A6DE
tetradic
#DE51A6 #DED051 #51DE89 #5160DE
square
#DE51A6 #DED051 #51DE89 #5160DE
split-complementary
#DE51A6 #60DE51 #51DED0
monochromatic
#981D67 #CB278A #DE51A6 #E884C0 #F2B8DB

Accessibility & contrast

On white

3.60
#DE51A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#DE51A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51A6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51A6#FFFFFF#000000##000000
##DE51A61.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6178A9
Deuteranopia (green-blind)
#8A90A3
Tritanopia (blue-blind)
#EC4E74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #de51a6;
/* rgb */ color: rgb(222, 81, 166);
/* oklch */ color: oklch(64.9% 0.196 346.8);
Tailwind
colors: {
  custom: {
    50: '#ec8ac0',
    500: '#de51a6',
    950: '#000000',
  },
}
SCSS
$custom: #de51a6;
$custom-light: #ec8ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#de51a6",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 166
  },
  "hsl": {
    "h": 323.83,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64869,
    "c": 0.19586,
    "h": 346.8
  },
  "luminance": 0.24168
}

Semantic roles & 50–950 ramp

primary
#DE51A6
secondary
#AAE1C0
accent
#EB823D
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DE51A6

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

Preview Lab → · Contrast checker → · Palette generator →

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