#DE51B1#DE51B1

#DE51B1 is a light, highly saturated pink. Relative luminance 0.246; OKLCH L 65.3% C 0.202 H 342.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#DE51B1
RGBrgb(222, 81, 177)
HSLhsl(319, 68%, 59%)
HSVhsv(319, 64%, 87%)
CMYKcmyk(0%, 63.5%, 20.3%, 12.9%)
CIE-LABlab(56.68, 64.54, -22.75)
CIE-LCHlch(56.68, 68.44, 340.58°)
OKLaboklab(65.31% 0.1931 -0.0608)
OKLCHoklch(65.31% 0.202 342.5)
XYZxyz(41.0036, 24.5926, 44.1738)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51B1 #51DE7E
analogous
#C551DE #DE51B1 #DE516B
triadic
#DE51B1 #B1DE51 #51B1DE
tetradic
#DE51B1 #DEC551 #51DE7E #516BDE
square
#DE51B1 #DEC551 #51DE7E #516BDE
split-complementary
#DE51B1 #6BDE51 #51DEC5
monochromatic
#981D71 #CB2797 #DE51B1 #E884C8 #F2B8DF

Accessibility & contrast

On white

3.55
#DE51B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#DE51B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51B1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51B1#FFFFFF#000000##000000
##DE51B11.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C79B4
Deuteranopia (green-blind)
#8690AE
Tritanopia (blue-blind)
#EB527A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #de51b1;
/* rgb */ color: rgb(222, 81, 177);
/* oklch */ color: oklch(65.3% 0.202 342.5);
Tailwind
colors: {
  custom: {
    50: '#ec8ac8',
    500: '#de51b1',
    950: '#000000',
  },
}
SCSS
$custom: #de51b1;
$custom-light: #ec8ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#de51b1",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 177
  },
  "hsl": {
    "h": 319.149,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65312,
    "c": 0.20246,
    "h": 342.5
  },
  "luminance": 0.24589
}

Semantic roles & 50–950 ramp

primary
#DE51B1
secondary
#AAE1BB
accent
#EB743D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DE51B1

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

Preview Lab → · Contrast checker → · Palette generator →

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