#E251D3#E251D3

#E251D3 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.4% C 0.229 H 332.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#E251D3
RGBrgb(226, 81, 211)
HSLhsl(306, 71%, 60%)
HSVhsv(306, 64%, 89%)
CMYKcmyk(0%, 64.2%, 6.6%, 11.4%)
CIE-LABlab(58.75, 70.54, -38.96)
CIE-LCHlch(58.75, 80.58, 331.09°)
OKLaboklab(67.42% 0.2022 -0.1068)
OKLCHoklch(67.42% 0.229 332.2)
XYZxyz(46.0644, 26.7603, 64.3545)
Luminance0.2676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E251D3 #51E260
analogous
#A951E2 #E251D3 #E2518A
triadic
#E251D3 #D3E251 #51D3E2
tetradic
#E251D3 #E2A951 #51E260 #518AE2
square
#E251D3 #E2A951 #51E260 #518AE2
split-complementary
#E251D3 #8AE251 #51E2A9
monochromatic
#9E1A91 #D323C1 #E251D3 #EB85E0 #F3BAEE

Accessibility & contrast

On white

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

On black

6.35
#E251D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E251D3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E251D3#FFFFFF#000000##000000
##E251D31.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e251d3;
/* rgb */ color: rgb(226, 81, 211);
/* oklch */ color: oklch(67.4% 0.229 332.2);
Tailwind
colors: {
  custom: {
    50: '#ef8ce1',
    500: '#e251d3',
    950: '#000000',
  },
}
SCSS
$custom: #e251d3;
$custom-light: #ef8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#e251d3",
  "rgb": {
    "r": 226,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 306.207,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67424,
    "c": 0.22866,
    "h": 332.2
  },
  "luminance": 0.26757
}

Semantic roles & 50–950 ramp

primary
#E251D3
secondary
#ACE3B1
accent
#D32612
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E251D3

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

Preview Lab → · Contrast checker → · Palette generator →

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