#DE51AF#DE51AF

#DE51AF is a light, highly saturated pink. Relative luminance 0.245; OKLCH L 65.2% C 0.201 H 343.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#DE51AF
RGBrgb(222, 81, 175)
HSLhsl(320, 68%, 59%)
HSVhsv(320, 64%, 87%)
CMYKcmyk(0%, 63.5%, 21.2%, 12.9%)
CIE-LABlab(56.60, 64.27, -21.71)
CIE-LCHlch(56.60, 67.84, 341.33°)
OKLaboklab(65.23% 0.1927 -0.0579)
OKLCHoklch(65.23% 0.201 343.3)
XYZxyz(40.8057, 24.5135, 43.1316)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51AF #51DE80
analogous
#C751DE #DE51AF #DE5169
triadic
#DE51AF #AFDE51 #51AFDE
tetradic
#DE51AF #DEC751 #51DE80 #5169DE
square
#DE51AF #DEC751 #51DE80 #5169DE
split-complementary
#DE51AF #69DE51 #51DEC7
monochromatic
#981D6F #CB2794 #DE51AF #E884C7 #F2B8DE

Accessibility & contrast

On white

3.56
#DE51AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#DE51AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51AF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51AF#FFFFFF#000000##000000
##DE51AF1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D79B2
Deuteranopia (green-blind)
#8790AC
Tritanopia (blue-blind)
#EB5179
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #de51af;
/* rgb */ color: rgb(222, 81, 175);
/* oklch */ color: oklch(65.2% 0.201 343.3);
Tailwind
colors: {
  custom: {
    50: '#ec8ac7',
    500: '#de51af',
    950: '#000000',
  },
}
SCSS
$custom: #de51af;
$custom-light: #ec8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#de51af",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 320,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65229,
    "c": 0.20121,
    "h": 343.3
  },
  "luminance": 0.2451
}

Semantic roles & 50–950 ramp

primary
#DE51AF
secondary
#AAE1BC
accent
#EB773D
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DE51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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