#E271D3#E271D3

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

Color values

HEX#E271D3
RGBrgb(226, 113, 211)
HSLhsl(308, 66%, 66%)
HSVhsv(308, 50%, 89%)
CMYKcmyk(0%, 50%, 6.6%, 11.4%)
CIE-LABlab(63.91, 56.57, -30.93)
CIE-LCHlch(63.91, 64.48, 331.33°)
OKLaboklab(71.21% 0.1618 -0.0841)
OKLCHoklch(71.21% 0.182 332.5)
XYZxyz(49.0269, 32.6853, 65.3420)
Luminance0.3268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271D3 #71E280
analogous
#B971E2 #E271D3 #E2719B
triadic
#E271D3 #D3E271 #71D3E2
tetradic
#E271D3 #E2B971 #71E280 #719BE2
square
#E271D3 #E2B971 #71E280 #719BE2
split-complementary
#E271D3 #9BE271 #71E2B9
monochromatic
#B425A1 #D83EC3 #E271D3 #ECA4E3 #F7D7F2

Accessibility & contrast

On white

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

On black

7.54
#E271D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271D3
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271D3#FFFFFF#000000##000000
##E271D31.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E91D6
Deuteranopia (green-blind)
#8FA1D0
Tritanopia (blue-blind)
#EA7998
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e271d3;
/* rgb */ color: rgb(226, 113, 211);
/* oklch */ color: oklch(71.2% 0.182 332.5);
Tailwind
colors: {
  custom: {
    50: '#ed9ee0',
    500: '#e271d3',
    950: '#000000',
  },
}
SCSS
$custom: #e271d3;
$custom-light: #ed9ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#e271d3",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 307.965,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71206,
    "c": 0.18236,
    "h": 332.5
  },
  "luminance": 0.32682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E271D3

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

Preview Lab → · Contrast checker → · Palette generator →

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