#DE51BC#DE51BC

#DE51BC is a light, highly saturated pink. Relative luminance 0.250; OKLCH L 65.8% C 0.210 H 338.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#DE51BC
RGBrgb(222, 81, 188)
HSLhsl(314, 68%, 59%)
HSVhsv(314, 64%, 87%)
CMYKcmyk(0%, 63.5%, 15.3%, 12.9%)
CIE-LABlab(57.12, 66.09, -28.41)
CIE-LCHlch(57.12, 71.94, 336.74°)
OKLaboklab(65.79% 0.1951 -0.0768)
OKLCHoklch(65.79% 0.21 338.5)
XYZxyz(42.1445, 25.0490, 50.1825)
Luminance0.2505 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51BC #51DE73
analogous
#BA51DE #DE51BC #DE5176
triadic
#DE51BC #BCDE51 #51BCDE
tetradic
#DE51BC #DEBA51 #51DE73 #5176DE
square
#DE51BC #DEBA51 #51DE73 #5176DE
split-complementary
#DE51BC #76DE51 #51DEBA
monochromatic
#981D7A #CB27A4 #DE51BC #E884D0 #F2B8E4

Accessibility & contrast

On white

3.49
#DE51BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#DE51BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51BC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51BC#FFFFFF#000000##000000
##DE51BC1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BBF
Deuteranopia (green-blind)
#8291B8
Tritanopia (blue-blind)
#EA567F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #de51bc;
/* rgb */ color: rgb(222, 81, 188);
/* oklch */ color: oklch(65.8% 0.210 338.5);
Tailwind
colors: {
  custom: {
    50: '#ec8bd0',
    500: '#de51bc',
    950: '#000000',
  },
}
SCSS
$custom: #de51bc;
$custom-light: #ec8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#de51bc",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 314.468,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65785,
    "c": 0.2097,
    "h": 338.5
  },
  "luminance": 0.25045
}

Semantic roles & 50–950 ramp

primary
#DE51BC
secondary
#AAE1B7
accent
#EB673D
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170D14
muted
#857D82

Preview Lab

Preview with #DE51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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