#E271AB#E271AB

#E271AB is a light, vivid pink. Relative luminance 0.309; OKLCH L 69.6% C 0.154 H 349.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#E271AB
RGBrgb(226, 113, 171)
HSLhsl(329, 66%, 66%)
HSVhsv(329, 50%, 89%)
CMYKcmyk(0%, 50%, 24.3%, 11.4%)
CIE-LABlab(62.44, 50.49, -10.50)
CIE-LCHlch(62.44, 51.57, 348.25°)
OKLaboklab(69.64% 0.1519 -0.0273)
OKLCHoklch(69.64% 0.154 349.8)
XYZxyz(44.6212, 30.9230, 42.1388)
Luminance0.3092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271AB #71E2A8
analogous
#E171E2 #E271AB #E27173
triadic
#E271AB #ABE271 #71ABE2
tetradic
#E271AB #E2E171 #71E2A8 #7173E2
square
#E271AB #E2E171 #71E2A8 #7173E2
split-complementary
#E271AB #73E271 #71E2E1
monochromatic
#B4256E #D83E8D #E271AB #ECA4C9 #F7D7E7

Accessibility & contrast

On white

2.92
#E271AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#E271AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271AB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271AB#FFFFFF#000000##000000
##E271AB1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8BAD
Deuteranopia (green-blind)
#9B9EA8
Tritanopia (blue-blind)
#F06D87
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e271ab;
/* rgb */ color: rgb(226, 113, 171);
/* oklch */ color: oklch(69.6% 0.154 349.8);
Tailwind
colors: {
  custom: {
    50: '#ee9dc4',
    500: '#e271ab',
    950: '#000000',
  },
}
SCSS
$custom: #e271ab;
$custom-light: #ee9dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#e271ab",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 329.204,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69636,
    "c": 0.15438,
    "h": 349.8
  },
  "luminance": 0.30919
}

Semantic roles & 50–950 ramp

primary
#E271AB
secondary
#C5EAD7
accent
#CE7018
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170F12
muted
#857E81

Preview Lab

Preview with #E271AB

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

Preview Lab → · Contrast checker → · Palette generator →

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