#E251CD#E251CD

#E251CD is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.1% C 0.224 H 334.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#E251CD
RGBrgb(226, 81, 205)
HSLhsl(309, 71%, 60%)
HSVhsv(309, 64%, 89%)
CMYKcmyk(0%, 64.2%, 9.3%, 11.4%)
CIE-LABlab(58.48, 69.62, -35.99)
CIE-LCHlch(58.48, 78.37, 332.67°)
OKLaboklab(67.13% 0.2016 -0.0983)
OKLCHoklch(67.13% 0.224 334)
XYZxyz(45.3262, 26.4650, 60.4668)
Luminance0.2646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E251CD #51E266
analogous
#AF51E2 #E251CD #E25184
triadic
#E251CD #CDE251 #51CDE2
tetradic
#E251CD #E2AF51 #51E266 #5184E2
square
#E251CD #E2AF51 #51E266 #5184E2
split-complementary
#E251CD #84E251 #51E2AF
monochromatic
#9E1A8B #D323B9 #E251CD #EB85DC #F3BAEB

Accessibility & contrast

On white

3.34
#E251CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#E251CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E251CD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E251CD#FFFFFF#000000##000000
##E251CD1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD1
Deuteranopia (green-blind)
#7F94C9
Tritanopia (blue-blind)
#EC5C88
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #e251cd;
/* rgb */ color: rgb(226, 81, 205);
/* oklch */ color: oklch(67.1% 0.224 334.0);
Tailwind
colors: {
  custom: {
    50: '#ef8cdc',
    500: '#e251cd',
    950: '#000000',
  },
}
SCSS
$custom: #e251cd;
$custom-light: #ef8cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#e251cd",
  "rgb": {
    "r": 226,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 308.69,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.67134,
    "c": 0.22424,
    "h": 334
  },
  "luminance": 0.26461
}

Semantic roles & 50–950 ramp

primary
#E251CD
secondary
#ACE3B4
accent
#D32E12
background
#FFF9FD
surface
#FEF1FB
border
#D6CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E251CD

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

Preview Lab → · Contrast checker → · Palette generator →

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