#DE51B7#DE51B7

#DE51B7 is a light, highly saturated pink. Relative luminance 0.248; OKLCH L 65.6% C 0.206 H 340.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#DE51B7
RGBrgb(222, 81, 183)
HSLhsl(317, 68%, 59%)
HSVhsv(317, 64%, 87%)
CMYKcmyk(0%, 63.5%, 17.6%, 12.9%)
CIE-LABlab(56.92, 65.38, -25.85)
CIE-LCHlch(56.92, 70.30, 338.42°)
OKLaboklab(65.57% 0.1943 -0.0695)
OKLCHoklch(65.57% 0.206 340.3)
XYZxyz(41.6148, 24.8371, 47.3929)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51B7 #51DE78
analogous
#BF51DE #DE51B7 #DE5171
triadic
#DE51B7 #B7DE51 #51B7DE
tetradic
#DE51B7 #DEBF51 #51DE78 #5171DE
square
#DE51B7 #DEBF51 #51DE78 #5171DE
split-complementary
#DE51B7 #71DE51 #51DEBF
monochromatic
#981D76 #CB279E #DE51B7 #E884CC #F2B8E2

Accessibility & contrast

On white

3.52
#DE51B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#DE51B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51B7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51B7#FFFFFF#000000##000000
##DE51B71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#597ABA
Deuteranopia (green-blind)
#8491B4
Tritanopia (blue-blind)
#EA547D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #de51b7;
/* rgb */ color: rgb(222, 81, 183);
/* oklch */ color: oklch(65.6% 0.206 340.3);
Tailwind
colors: {
  custom: {
    50: '#ec8bcc',
    500: '#de51b7',
    950: '#000000',
  },
}
SCSS
$custom: #de51b7;
$custom-light: #ec8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#de51b7",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 183
  },
  "hsl": {
    "h": 316.596,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65567,
    "c": 0.20634,
    "h": 340.3
  },
  "luminance": 0.24833
}

Semantic roles & 50–950 ramp

primary
#DE51B7
secondary
#AAE1B9
accent
#EB6D3D
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170D13
muted
#857D82

Preview Lab

Preview with #DE51B7

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

Preview Lab → · Contrast checker → · Palette generator →

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