#E271C7#E271C7

#E271C7 is a light, vivid pink. Relative luminance 0.321; OKLCH L 70.7% C 0.173 H 337.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#E271C7
RGBrgb(226, 113, 199)
HSLhsl(314, 66%, 66%)
HSVhsv(314, 50%, 89%)
CMYKcmyk(0%, 50%, 11.9%, 11.4%)
CIE-LABlab(63.43, 54.63, -24.91)
CIE-LCHlch(63.43, 60.04, 335.49°)
OKLaboklab(70.7% 0.1593 -0.0671)
OKLCHoklch(70.7% 0.173 337.2)
XYZxyz(47.5783, 32.1059, 57.7129)
Luminance0.3210 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271C7 #71E28C
analogous
#C571E2 #E271C7 #E2718F
triadic
#E271C7 #C7E271 #71C7E2
tetradic
#E271C7 #E2C571 #71E28C #718FE2
square
#E271C7 #E2C571 #71E28C #718FE2
split-complementary
#E271C7 #8FE271 #71E2C5
monochromatic
#B42592 #D83EB3 #E271C7 #ECA4DB #F7D7EF

Accessibility & contrast

On white

2.83
#E271C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#E271C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271C7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271C7#FFFFFF#000000##000000
##E271C71.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#738FCA
Deuteranopia (green-blind)
#93A0C4
Tritanopia (blue-blind)
#EC7593
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e271c7;
/* rgb */ color: rgb(226, 113, 199);
/* oklch */ color: oklch(70.7% 0.173 337.2);
Tailwind
colors: {
  custom: {
    50: '#ed9ed8',
    500: '#e271c7',
    950: '#000000',
  },
}
SCSS
$custom: #e271c7;
$custom-light: #ed9ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#e271c7",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 314.336,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70698,
    "c": 0.17287,
    "h": 337.2
  },
  "luminance": 0.32103
}

Semantic roles & 50–950 ramp

primary
#E271C7
secondary
#C5EACE
accent
#CE4318
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#170F14
muted
#857E83

Preview Lab

Preview with #E271C7

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

Preview Lab → · Contrast checker → · Palette generator →

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