#E251D2#E251D2

#E251D2 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.4% C 0.228 H 332.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#E251D2
RGBrgb(226, 81, 210)
HSLhsl(307, 71%, 60%)
HSVhsv(307, 64%, 89%)
CMYKcmyk(0%, 64.2%, 7.1%, 11.4%)
CIE-LABlab(58.71, 70.39, -38.47)
CIE-LCHlch(58.71, 80.21, 331.34°)
OKLaboklab(67.38% 0.2021 -0.1054)
OKLCHoklch(67.38% 0.228 332.5)
XYZxyz(45.9394, 26.7103, 63.6963)
Luminance0.2671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E251D2 #51E261
analogous
#AA51E2 #E251D2 #E25189
triadic
#E251D2 #D2E251 #51D2E2
tetradic
#E251D2 #E2AA51 #51E261 #5189E2
square
#E251D2 #E2AA51 #51E261 #5189E2
split-complementary
#E251D2 #89E251 #51E2AA
monochromatic
#9E1A90 #D323BF #E251D2 #EB85E0 #F3BAED

Accessibility & contrast

On white

3.31
#E251D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#E251D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E251D2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E251D2#FFFFFF#000000##000000
##E251D21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B80D6
Deuteranopia (green-blind)
#7C95CE
Tritanopia (blue-blind)
#EB5E8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #e251d2;
/* rgb */ color: rgb(226, 81, 210);
/* oklch */ color: oklch(67.4% 0.228 332.5);
Tailwind
colors: {
  custom: {
    50: '#ef8ce0',
    500: '#e251d2',
    950: '#000000',
  },
}
SCSS
$custom: #e251d2;
$custom-light: #ef8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#e251d2",
  "rgb": {
    "r": 226,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 306.621,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67375,
    "c": 0.22792,
    "h": 332.5
  },
  "luminance": 0.26707
}

Semantic roles & 50–950 ramp

primary
#E251D2
secondary
#ACE3B2
accent
#D32712
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E251D2

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

Preview Lab → · Contrast checker → · Palette generator →

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