#DE51B5#DE51B5

#DE51B5 is a light, highly saturated pink. Relative luminance 0.248; OKLCH L 65.5% C 0.205 H 341.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#DE51B5
RGBrgb(222, 81, 181)
HSLhsl(317, 68%, 59%)
HSVhsv(317, 64%, 87%)
CMYKcmyk(0%, 63.5%, 18.5%, 12.9%)
CIE-LABlab(56.84, 65.10, -24.82)
CIE-LCHlch(56.84, 69.67, 339.13°)
OKLaboklab(65.48% 0.1939 -0.0666)
OKLCHoklch(65.48% 0.205 341)
XYZxyz(41.4082, 24.7544, 46.3044)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51B5 #51DE7A
analogous
#C151DE #DE51B5 #DE516F
triadic
#DE51B5 #B5DE51 #51B5DE
tetradic
#DE51B5 #DEC151 #51DE7A #516FDE
square
#DE51B5 #DEC151 #51DE7A #516FDE
split-complementary
#DE51B5 #6FDE51 #51DEC1
monochromatic
#981D74 #CB279B #DE51B5 #E884CB #F2B8E1

Accessibility & contrast

On white

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

On black

5.95
#DE51B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51B5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51B5#FFFFFF#000000##000000
##DE51B51.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7AB8
Deuteranopia (green-blind)
#8591B2
Tritanopia (blue-blind)
#EB537C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #de51b5;
/* rgb */ color: rgb(222, 81, 181);
/* oklch */ color: oklch(65.5% 0.205 341.0);
Tailwind
colors: {
  custom: {
    50: '#ec8bcb',
    500: '#de51b5',
    950: '#000000',
  },
}
SCSS
$custom: #de51b5;
$custom-light: #ec8bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#de51b5",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 181
  },
  "hsl": {
    "h": 317.447,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65481,
    "c": 0.20503,
    "h": 341
  },
  "luminance": 0.24751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE51B5

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

Preview Lab → · Contrast checker → · Palette generator →

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