#DE51A7#DE51A7

#DE51A7 is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.9% C 0.196 H 346.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#DE51A7
RGBrgb(222, 81, 167)
HSLhsl(323, 68%, 59%)
HSVhsv(323, 64%, 87%)
CMYKcmyk(0%, 63.5%, 24.8%, 12.9%)
CIE-LABlab(56.30, 63.21, -17.53)
CIE-LCHlch(56.30, 65.59, 344.50°)
OKLaboklab(64.91% 0.1909 -0.0463)
OKLCHoklch(64.91% 0.196 346.4)
XYZxyz(40.0432, 24.2084, 39.1156)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE51A7 #51DE88
analogous
#CE51DE #DE51A7 #DE5161
triadic
#DE51A7 #A7DE51 #51A7DE
tetradic
#DE51A7 #DECE51 #51DE88 #5161DE
square
#DE51A7 #DECE51 #51DE88 #5161DE
split-complementary
#DE51A7 #61DE51 #51DECE
monochromatic
#981D68 #CB278B #DE51A7 #E884C1 #F2B8DB

Accessibility & contrast

On white

3.60
#DE51A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#DE51A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DE51A7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE51A7#FFFFFF#000000##000000
##DE51A71.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6178AA
Deuteranopia (green-blind)
#8990A4
Tritanopia (blue-blind)
#EC4E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #de51a7;
/* rgb */ color: rgb(222, 81, 167);
/* oklch */ color: oklch(64.9% 0.196 346.4);
Tailwind
colors: {
  custom: {
    50: '#ec8ac1',
    500: '#de51a7',
    950: '#000000',
  },
}
SCSS
$custom: #de51a7;
$custom-light: #ec8ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#de51a7",
  "rgb": {
    "r": 222,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 323.404,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64908,
    "c": 0.19643,
    "h": 346.4
  },
  "luminance": 0.24204
}

Semantic roles & 50–950 ramp

primary
#DE51A7
secondary
#AAE1BF
accent
#EB813D
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DE51A7

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

Preview Lab → · Contrast checker → · Palette generator →

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