#DE51A2#DE51A2

#DE51A2 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.7% C 0.194 H 348.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#DE51A2
RGBrgb(222, 81, 162)
HSLhsl(326, 68%, 59%)
HSVhsv(326, 64%, 87%)
CMYKcmyk(0%, 63.5%, 27%, 12.9%)
CIE-LABlab(56.11, 62.57, -14.89)
CIE-LCHlch(56.11, 64.32, 346.62°)
OKLaboklab(64.72% 0.1897 -0.0391)
OKLCHoklch(64.72% 0.194 348.4)
XYZxyz(39.5899, 24.0271, 36.7281)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51A2 #51DE8D
analogous
#D451DE #DE51A2 #DE515C
triadic
#DE51A2 #A2DE51 #51A2DE
tetradic
#DE51A2 #DED451 #51DE8D #515CDE
square
#DE51A2 #DED451 #51DE8D #515CDE
split-complementary
#DE51A2 #5CDE51 #51DED4
monochromatic
#981D63 #CB2785 #DE51A2 #E884BD #F2B8D9

Accessibility & contrast

On white

3.62
#DE51A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#DE51A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51A2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51A2#FFFFFF#000000##000000
##DE51A21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#8B909F
Tritanopia (blue-blind)
#ED4C73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #de51a2;
/* rgb */ color: rgb(222, 81, 162);
/* oklch */ color: oklch(64.7% 0.194 348.4);
Tailwind
colors: {
  custom: {
    50: '#ec8abd',
    500: '#de51a2',
    950: '#000000',
  },
}
SCSS
$custom: #de51a2;
$custom-light: #ec8abd;
$custom-dark: #000000;
JSON
{
  "hex": "#de51a2",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 325.532,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64715,
    "c": 0.19364,
    "h": 348.4
  },
  "luminance": 0.24023
}

Semantic roles & 50–950 ramp

primary
#DE51A2
secondary
#AAE1C1
accent
#EB873D
background
#FFF8FB
surface
#FEF0F6
border
#D6CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DE51A2

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

Preview Lab → · Contrast checker → · Palette generator →

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