#DE51AC#DE51AC

#DE51AC is a light, vivid pink. Relative luminance 0.244; OKLCH L 65.1% C 0.199 H 344.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#DE51AC
RGBrgb(222, 81, 172)
HSLhsl(321, 68%, 59%)
HSVhsv(321, 64%, 87%)
CMYKcmyk(0%, 63.5%, 22.5%, 12.9%)
CIE-LABlab(56.48, 63.87, -20.15)
CIE-LCHlch(56.48, 66.97, 342.49°)
OKLaboklab(65.11% 0.192 -0.0536)
OKLCHoklch(65.11% 0.199 344.4)
XYZxyz(40.5144, 24.3969, 41.5971)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51AC #51DE83
analogous
#CA51DE #DE51AC #DE5165
triadic
#DE51AC #ACDE51 #51ACDE
tetradic
#DE51AC #DECA51 #51DE83 #5165DE
square
#DE51AC #DECA51 #51DE83 #5165DE
split-complementary
#DE51AC #65DE51 #51DECA
monochromatic
#981D6C #CB2791 #DE51AC #E884C5 #F2B8DD

Accessibility & contrast

On white

3.57
#DE51AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#DE51AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51AC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51AC#FFFFFF#000000##000000
##DE51AC1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AF
Deuteranopia (green-blind)
#8890A9
Tritanopia (blue-blind)
#EC5077
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #de51ac;
/* rgb */ color: rgb(222, 81, 172);
/* oklch */ color: oklch(65.1% 0.199 344.4);
Tailwind
colors: {
  custom: {
    50: '#ec8ac4',
    500: '#de51ac',
    950: '#000000',
  },
}
SCSS
$custom: #de51ac;
$custom-light: #ec8ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#de51ac",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 321.277,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65107,
    "c": 0.19938,
    "h": 344.4
  },
  "luminance": 0.24393
}

Semantic roles & 50–950 ramp

primary
#DE51AC
secondary
#AAE1BD
accent
#EB7B3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #DE51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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