#E251D8#E251D8

#E251D8 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.7% C 0.232 H 330.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#E251D8
RGBrgb(226, 81, 216)
HSLhsl(304, 71%, 60%)
HSVhsv(304, 64%, 89%)
CMYKcmyk(0%, 64.2%, 4.4%, 11.4%)
CIE-LABlab(58.99, 71.32, -41.42)
CIE-LCHlch(58.99, 82.48, 329.86°)
OKLaboklab(67.67% 0.2026 -0.1139)
OKLCHoklch(67.67% 0.232 330.7)
XYZxyz(46.7009, 27.0149, 67.7071)
Luminance0.2701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E251D8 #51E25B
analogous
#A451E2 #E251D8 #E2518F
triadic
#E251D8 #D8E251 #51D8E2
tetradic
#E251D8 #E2A451 #51E25B #518FE2
square
#E251D8 #E2A451 #51E25B #518FE2
split-complementary
#E251D8 #8FE251 #51E2A4
monochromatic
#9E1A95 #D323C7 #E251D8 #EB85E4 #F3BAF0

Accessibility & contrast

On white

3.28
#E251D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#E251D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E251D8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E251D8#FFFFFF#000000##000000
##E251D81.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4681DC
Deuteranopia (green-blind)
#7A95D4
Tritanopia (blue-blind)
#EA618E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #e251d8;
/* rgb */ color: rgb(226, 81, 216);
/* oklch */ color: oklch(67.7% 0.232 330.7);
Tailwind
colors: {
  custom: {
    50: '#ef8ce4',
    500: '#e251d8',
    950: '#000000',
  },
}
SCSS
$custom: #e251d8;
$custom-light: #ef8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#e251d8",
  "rgb": {
    "r": 226,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 304.138,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67672,
    "c": 0.23243,
    "h": 330.7
  },
  "luminance": 0.27011
}

Semantic roles & 50–950 ramp

primary
#E251D8
secondary
#ACE3AF
accent
#D31F12
background
#FFF9FE
surface
#FEF1FC
border
#D6CBD5
text
#170D15
muted
#857E84

Preview Lab

Preview with #E251D8

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

Preview Lab → · Contrast checker → · Palette generator →

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