#DE51B3#DE51B3

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

Color values

HEX#DE51B3
RGBrgb(222, 81, 179)
HSLhsl(318, 68%, 59%)
HSVhsv(318, 64%, 87%)
CMYKcmyk(0%, 63.5%, 19.4%, 12.9%)
CIE-LABlab(56.76, 64.82, -23.79)
CIE-LCHlch(56.76, 69.05, 339.85°)
OKLaboklab(65.4% 0.1935 -0.0638)
OKLCHoklch(65.4% 0.204 341.8)
XYZxyz(41.2044, 24.6729, 45.2314)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51B3 #51DE7C
analogous
#C351DE #DE51B3 #DE516D
triadic
#DE51B3 #B3DE51 #51B3DE
tetradic
#DE51B3 #DEC351 #51DE7C #516DDE
square
#DE51B3 #DEC351 #51DE7C #516DDE
split-complementary
#DE51B3 #6DDE51 #51DEC3
monochromatic
#981D72 #CB2799 #DE51B3 #E884C9 #F2B8E0

Accessibility & contrast

On white

3.54
#DE51B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#DE51B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51B3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51B3#FFFFFF#000000##000000
##DE51B31.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #de51b3;
/* rgb */ color: rgb(222, 81, 179);
/* oklch */ color: oklch(65.4% 0.204 341.8);
Tailwind
colors: {
  custom: {
    50: '#ec8aca',
    500: '#de51b3',
    950: '#000000',
  },
}
SCSS
$custom: #de51b3;
$custom-light: #ec8aca;
$custom-dark: #000000;
JSON
{
  "hex": "#de51b3",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 318.298,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65396,
    "c": 0.20373,
    "h": 341.8
  },
  "luminance": 0.24669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE51B3

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

Preview Lab → · Contrast checker → · Palette generator →

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