#DE51B4#DE51B4

#DE51B4 is a light, highly saturated pink. Relative luminance 0.247; OKLCH L 65.4% C 0.204 H 341.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#DE51B4
RGBrgb(222, 81, 180)
HSLhsl(318, 68%, 59%)
HSVhsv(318, 64%, 87%)
CMYKcmyk(0%, 63.5%, 18.9%, 12.9%)
CIE-LABlab(56.80, 64.96, -24.31)
CIE-LCHlch(56.80, 69.35, 339.48°)
OKLaboklab(65.44% 0.1937 -0.0652)
OKLCHoklch(65.44% 0.204 341.4)
XYZxyz(41.3059, 24.7135, 45.7659)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51B4 #51DE7B
analogous
#C151DE #DE51B4 #DE516E
triadic
#DE51B4 #B4DE51 #51B4DE
tetradic
#DE51B4 #DEC151 #51DE7B #516EDE
square
#DE51B4 #DEC151 #51DE7B #516EDE
split-complementary
#DE51B4 #6EDE51 #51DEC1
monochromatic
#981D73 #CB279A #DE51B4 #E884CA #F2B8E0

Accessibility & contrast

On white

3.53
#DE51B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#DE51B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51B4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51B4#FFFFFF#000000##000000
##DE51B41.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7AB7
Deuteranopia (green-blind)
#8591B1
Tritanopia (blue-blind)
#EB537B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #de51b4;
/* rgb */ color: rgb(222, 81, 180);
/* oklch */ color: oklch(65.4% 0.204 341.4);
Tailwind
colors: {
  custom: {
    50: '#ec8aca',
    500: '#de51b4',
    950: '#000000',
  },
}
SCSS
$custom: #de51b4;
$custom-light: #ec8aca;
$custom-dark: #000000;
JSON
{
  "hex": "#de51b4",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 317.872,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65438,
    "c": 0.20438,
    "h": 341.4
  },
  "luminance": 0.2471
}

Semantic roles & 50–950 ramp

primary
#DE51B4
secondary
#AAE1BA
accent
#EB713D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DE51B4

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

Preview Lab → · Contrast checker → · Palette generator →

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