#E271D5#E271D5

#E271D5 is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.3% C 0.184 H 331.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#E271D5
RGBrgb(226, 113, 213)
HSLhsl(307, 66%, 66%)
HSVhsv(307, 50%, 89%)
CMYKcmyk(0%, 50%, 5.8%, 11.4%)
CIE-LABlab(63.99, 56.90, -31.92)
CIE-LCHlch(63.99, 65.25, 330.71°)
OKLaboklab(71.29% 0.1622 -0.0869)
OKLCHoklch(71.29% 0.184 331.8)
XYZxyz(49.2791, 32.7862, 66.6707)
Luminance0.3278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271D5 #71E27E
analogous
#B771E2 #E271D5 #E2719D
triadic
#E271D5 #D5E271 #71D5E2
tetradic
#E271D5 #E2B771 #71E27E #719DE2
square
#E271D5 #E2B771 #71E27E #719DE2
split-complementary
#E271D5 #9DE271 #71E2B7
monochromatic
#B425A3 #D83EC6 #E271D5 #ECA4E4 #F7D7F3

Accessibility & contrast

On white

2.78
#E271D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#E271D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271D5
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271D5#FFFFFF#000000##000000
##E271D51.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D91D8
Deuteranopia (green-blind)
#8EA1D2
Tritanopia (blue-blind)
#EA7999
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e271d5;
/* rgb */ color: rgb(226, 113, 213);
/* oklch */ color: oklch(71.3% 0.184 331.8);
Tailwind
colors: {
  custom: {
    50: '#ed9ee2',
    500: '#e271d5',
    950: '#000000',
  },
}
SCSS
$custom: #e271d5;
$custom-light: #ed9ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#e271d5",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 213
  },
  "hsl": {
    "h": 306.903,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71294,
    "c": 0.18401,
    "h": 331.8
  },
  "luminance": 0.32783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E271D5

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

Preview Lab → · Contrast checker → · Palette generator →

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