#DE51AB#DE51AB

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

Color values

HEX#DE51AB
RGBrgb(222, 81, 171)
HSLhsl(322, 68%, 59%)
HSVhsv(322, 64%, 87%)
CMYKcmyk(0%, 63.5%, 23%, 12.9%)
CIE-LABlab(56.45, 63.73, -19.63)
CIE-LCHlch(56.45, 66.69, 342.88°)
OKLaboklab(65.07% 0.1918 -0.0521)
OKLCHoklch(65.07% 0.199 344.8)
XYZxyz(40.4187, 24.3586, 41.0932)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51AB #51DE84
analogous
#CB51DE #DE51AB #DE5165
triadic
#DE51AB #ABDE51 #51ABDE
tetradic
#DE51AB #DECB51 #51DE84 #5165DE
square
#DE51AB #DECB51 #51DE84 #5165DE
split-complementary
#DE51AB #65DE51 #51DECB
monochromatic
#981D6B #CB2790 #DE51AB #E884C4 #F2B8DD

Accessibility & contrast

On white

3.58
#DE51AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#DE51AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51AB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51AB#FFFFFF#000000##000000
##DE51AB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #de51ab;
/* rgb */ color: rgb(222, 81, 171);
/* oklch */ color: oklch(65.1% 0.199 344.8);
Tailwind
colors: {
  custom: {
    50: '#ec8ac4',
    500: '#de51ab',
    950: '#000000',
  },
}
SCSS
$custom: #de51ab;
$custom-light: #ec8ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#de51ab",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 321.702,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65066,
    "c": 0.19877,
    "h": 344.8
  },
  "luminance": 0.24355
}

Semantic roles & 50–950 ramp

primary
#DE51AB
secondary
#AAE1BE
accent
#EB7C3D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #DE51AB

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

Preview Lab → · Contrast checker → · Palette generator →

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