#E271BB#E271BB

#E271BB is a light, vivid pink. Relative luminance 0.316; OKLCH L 70.2% C 0.164 H 342.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#E271BB
RGBrgb(226, 113, 187)
HSLhsl(321, 66%, 66%)
HSVhsv(321, 50%, 89%)
CMYKcmyk(0%, 50%, 17.3%, 11.4%)
CIE-LABlab(62.99, 52.79, -18.80)
CIE-LCHlch(62.99, 56.03, 340.40°)
OKLaboklab(70.22% 0.1564 -0.0501)
OKLCHoklch(70.22% 0.164 342.3)
XYZxyz(46.2396, 31.5704, 50.6624)
Luminance0.3157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E271BB #71E298
analogous
#D171E2 #E271BB #E27183
triadic
#E271BB #BBE271 #71BBE2
tetradic
#E271BB #E2D171 #71E298 #7183E2
square
#E271BB #E2D171 #71E298 #7183E2
split-complementary
#E271BB #83E271 #71E2D1
monochromatic
#B42582 #D83EA3 #E271BB #ECA4D3 #F7D7EC

Accessibility & contrast

On white

2.87
#E271BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#E271BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E271BB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E271BB#FFFFFF#000000##000000
##E271BB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBD
Deuteranopia (green-blind)
#979FB8
Tritanopia (blue-blind)
#EE728E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e271bb;
/* rgb */ color: rgb(226, 113, 187);
/* oklch */ color: oklch(70.2% 0.164 342.3);
Tailwind
colors: {
  custom: {
    50: '#ed9dcf',
    500: '#e271bb',
    950: '#000000',
  },
}
SCSS
$custom: #e271bb;
$custom-light: #ed9dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#e271bb",
  "rgb": {
    "r": 226,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 320.708,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70221,
    "c": 0.16423,
    "h": 342.3
  },
  "luminance": 0.31567
}

Semantic roles & 50–950 ramp

primary
#E271BB
secondary
#C5EAD2
accent
#CE5718
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#170F13
muted
#857E82

Preview Lab

Preview with #E271BB

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

Preview Lab → · Contrast checker → · Palette generator →

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