#E271CC#E271CC

#E271CC is a light, vivid pink. Relative luminance 0.323; OKLCH L 70.9% C 0.177 H 335.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#E271CC
RGBrgb(226, 113, 204)
HSLhsl(312, 66%, 66%)
HSVhsv(312, 50%, 89%)
CMYKcmyk(0%, 50%, 9.7%, 11.4%)
CIE-LABlab(63.62, 55.43, -27.43)
CIE-LCHlch(63.62, 61.84, 333.67°)
OKLaboklab(70.91% 0.1604 -0.0742)
OKLCHoklch(70.91% 0.177 335.2)
XYZxyz(48.1684, 32.3419, 60.8206)
Luminance0.3234 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271CC #71E287
analogous
#C071E2 #E271CC #E27194
triadic
#E271CC #CCE271 #71CCE2
tetradic
#E271CC #E2C071 #71E287 #7194E2
square
#E271CC #E2C071 #71E287 #7194E2
split-complementary
#E271CC #94E271 #71E2C0
monochromatic
#B42598 #D83EBA #E271CC #ECA4DE #F7D7F1

Accessibility & contrast

On white

2.81
#E271CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#E271CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271CC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271CC#FFFFFF#000000##000000
##E271CC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190CF
Deuteranopia (green-blind)
#91A0C9
Tritanopia (blue-blind)
#EB7795
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e271cc;
/* rgb */ color: rgb(226, 113, 204);
/* oklch */ color: oklch(70.9% 0.177 335.2);
Tailwind
colors: {
  custom: {
    50: '#ed9edb',
    500: '#e271cc',
    950: '#000000',
  },
}
SCSS
$custom: #e271cc;
$custom-light: #ed9edb;
$custom-dark: #000000;
JSON
{
  "hex": "#e271cc",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 311.681,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70906,
    "c": 0.17674,
    "h": 335.2
  },
  "luminance": 0.32339
}

Semantic roles & 50–950 ramp

primary
#E271CC
secondary
#C5EACC
accent
#CE3B18
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170F15
muted
#857E83

Preview Lab

Preview with #E271CC

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

Preview Lab → · Contrast checker → · Palette generator →

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