#E271D7#E271D7

#E271D7 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.4% C 0.186 H 331.1°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#E271D7
RGBrgb(226, 113, 215)
HSLhsl(306, 66%, 66%)
HSVhsv(306, 50%, 89%)
CMYKcmyk(0%, 50%, 4.9%, 11.4%)
CIE-LABlab(64.07, 57.24, -32.91)
CIE-LCHlch(64.07, 66.03, 330.10°)
OKLaboklab(71.38% 0.1625 -0.0898)
OKLCHoklch(71.38% 0.186 331.1)
XYZxyz(49.5345, 32.8884, 68.0158)
Luminance0.3288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271D7 #71E27C
analogous
#B571E2 #E271D7 #E2719F
triadic
#E271D7 #D7E271 #71D7E2
tetradic
#E271D7 #E2B571 #71E27C #719FE2
square
#E271D7 #E2B571 #71E27C #719FE2
split-complementary
#E271D7 #9FE271 #71E2B5
monochromatic
#B425A6 #D83EC9 #E271D7 #ECA4E5 #F7D7F4

Accessibility & contrast

On white

2.77
#E271D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#E271D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271D7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271D7#FFFFFF#000000##000000
##E271D71.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C91DA
Deuteranopia (green-blind)
#8DA1D4
Tritanopia (blue-blind)
#EA7A9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e271d7;
/* rgb */ color: rgb(226, 113, 215);
/* oklch */ color: oklch(71.4% 0.186 331.1);
Tailwind
colors: {
  custom: {
    50: '#ed9ee3',
    500: '#e271d7',
    950: '#000000',
  },
}
SCSS
$custom: #e271d7;
$custom-light: #ed9ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#e271d7",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 305.841,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71383,
    "c": 0.18568,
    "h": 331.1
  },
  "luminance": 0.32885
}

Semantic roles & 50–950 ramp

primary
#E271D7
secondary
#C5EAC9
accent
#CE2918
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E271D7

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

Preview Lab → · Contrast checker → · Palette generator →

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