#E271D2#E271D2

#E271D2 is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.2% C 0.182 H 332.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#E271D2
RGBrgb(226, 113, 210)
HSLhsl(308, 66%, 66%)
HSVhsv(308, 50%, 89%)
CMYKcmyk(0%, 50%, 7.1%, 11.4%)
CIE-LABlab(63.86, 56.41, -30.43)
CIE-LCHlch(63.86, 64.09, 331.65°)
OKLaboklab(71.16% 0.1616 -0.0827)
OKLCHoklch(71.16% 0.182 332.9)
XYZxyz(48.9019, 32.6353, 64.6838)
Luminance0.3263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271D2 #71E281
analogous
#BA71E2 #E271D2 #E2719A
triadic
#E271D2 #D2E271 #71D2E2
tetradic
#E271D2 #E2BA71 #71E281 #719AE2
square
#E271D2 #E2BA71 #71E281 #719AE2
split-complementary
#E271D2 #9AE271 #71E2BA
monochromatic
#B425A0 #D83EC2 #E271D2 #ECA4E2 #F7D7F2

Accessibility & contrast

On white

2.79
#E271D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#E271D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271D2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271D2#FFFFFF#000000##000000
##E271D21.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F90D5
Deuteranopia (green-blind)
#8FA1CF
Tritanopia (blue-blind)
#EB7898
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e271d2;
/* rgb */ color: rgb(226, 113, 210);
/* oklch */ color: oklch(71.2% 0.182 332.9);
Tailwind
colors: {
  custom: {
    50: '#ed9ee0',
    500: '#e271d2',
    950: '#000000',
  },
}
SCSS
$custom: #e271d2;
$custom-light: #ed9ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#e271d2",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 308.496,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71163,
    "c": 0.18155,
    "h": 332.9
  },
  "luminance": 0.32632
}

Semantic roles & 50–950 ramp

primary
#E271D2
secondary
#C5EACA
accent
#CE3118
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E271D2

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

Preview Lab → · Contrast checker → · Palette generator →

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