#E371E2#E371E2

#E371E2 is a light, vivid purple. Relative luminance 0.336; OKLCH L 72.0% C 0.196 H 327.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#E371E2
RGBrgb(227, 113, 226)
HSLhsl(301, 67%, 67%)
HSVhsv(301, 50%, 89%)
CMYKcmyk(0%, 50.2%, 0.4%, 11%)
CIE-LABlab(64.67, 59.40, -38.11)
CIE-LCHlch(64.67, 70.57, 327.32°)
OKLaboklab(72.01% 0.1654 -0.1046)
OKLCHoklch(72.01% 0.196 327.7)
XYZxyz(51.3103, 33.6350, 75.7263)
Luminance0.3363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E371E2 #71E372
analogous
#AB71E3 #E371E2 #E371A9
triadic
#E371E2 #E2E371 #71E2E3
tetradic
#E371E2 #E3AB71 #71E372 #71A9E3
square
#E371E2 #E3AB71 #71E372 #71A9E3
split-complementary
#E371E2 #A9E371 #71E3AB
monochromatic
#B624B4 #D93ED8 #E371E2 #EDA4EC #F7D7F7

Accessibility & contrast

On white

2.72
#E371E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#E371E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E371E2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E371E2#FFFFFF#000000##000000
##E371E21.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6793E6
Deuteranopia (green-blind)
#89A2DF
Tritanopia (blue-blind)
#E97D9F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e371e2;
/* rgb */ color: rgb(227, 113, 226);
/* oklch */ color: oklch(72.0% 0.196 327.7);
Tailwind
colors: {
  custom: {
    50: '#ee9eeb',
    500: '#e371e2',
    950: '#000000',
  },
}
SCSS
$custom: #e371e2;
$custom-light: #ee9eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#e371e2",
  "rgb": {
    "r": 227,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 300.526,
    "s": 67.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72009,
    "c": 0.19572,
    "h": 327.7
  },
  "luminance": 0.33632
}

Semantic roles & 50–950 ramp

primary
#E371E2
secondary
#C6EAC6
accent
#CF1817
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E371E2

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

Preview Lab → · Contrast checker → · Palette generator →

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