Skip to content

#e71bbc

a balanced, electric magenta / pink · neutral · closest name: Magenta

RGB
231, 27, 188
HSL
313°, 81%, 51%
CMYK
0, 88, 19, 9
Luminance
0.2140

At a glance

Every number on this page in one read: what #e71bbc is made of, how bright it looks, and which way it leans.

Hex
#e71bbc
Hue
313°
magenta / pink
Saturation
81%
electric
Lightness
51%
balanced
Brightness
91%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2140
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.28:1
Closest name
Magenta
ΔE2000 9.6
Where it sits
Hue313° of 360°
Saturation81%
Lightness51%
Temperature
Warm ← → Cool43% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#e71bbc
RGBrgb(231, 27, 188)
HSLhsl(313, 81%, 51%)
CMYKcmyk(0%, 88%, 19%, 9%)
LABlab(53.4 83.0 -34.1)
LCHlch(53.4 89.7 337.7)
OKLCHoklch(0.634 0.265 339.6)
Decimal15145916
Display P3color(display-p3 0.906 0.106 0.737)

Copy-ready code

/* CSS */
color: #e71bbc;
background-color: #e71bbc;
/* Tailwind (arbitrary) */
class="text-[#e71bbc] bg-[#e71bbc]"
/* SCSS */
$brand: #e71bbc;
/* SwiftUI */
Color(red: 0.906, green: 0.106, blue: 0.737)
/* Android */
Color.parseColor("#e71bbc")
/* Flutter */
Color(0xFFE71BBC)
/* Python / OpenCV (BGR) */
(188, 27, 231)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #e71bbc · 5.28:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.98:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.28:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #e71bbc as text scores 3.98:1 on white and 5.28:1 on black.

Accessibility — WCAG contrast

Aa
#e71bbc on white: 3.98:1
AA ✗ fail · AA-large · AAA
Aa
#e71bbc on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #316CC0
deuteranopia · #788AB8
tritanopia · #F52971

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e71bbc is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF3FA
#F9E6F5
#F5C6EC
#F499E1
#EF67D2
#EA34C4
#e71bbc
#B91396
#941078
#6B1058
#430A37
Base = 600Lightest = 50 · #FCF3FADarkest = 950 · #430A37
:root {
  --brand-50: #FCF3FA;
  --brand-100: #F9E6F5;
  --brand-200: #F5C6EC;
  --brand-300: #F499E1;
  --brand-400: #EF67D2;
  --brand-500: #EA34C4;
  --brand-600: #e71bbc;
  --brand-700: #B91396;
  --brand-800: #941078;
  --brand-900: #6B1058;
  --brand-950: #430A37;
  --brand: #e71bbc;
  --brand-ink: #000000;
}

Colors that work with #e71bbc

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4F9
Tinted page background
Border#EDC0E3
Hairlines and dividers
Muted text#9B4B8A
Captions on the surface
Accent#17BD0F
Second voice, not a rival
Dark variant#730C5E
Hover, pressed, headers
Light variant#FDE8F8
Selected rows, tints
Dark surface#241421
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #e71bbc

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#1BE746
Analogous left#AC1BE7
Analogous right#E71B56
Split-complement 1#56E71B
Split-complement 2#1BE7AC
Triadic 1#BCE71B
Triadic 2#1BBCE7
Tetradic#E7AC1B

RGB percentages

Red90.6%
Green10.6%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta88.3%
Yellow18.6%
Key (black)9.4%

Color previews

#e71bbc text on a black background

contrast 5.28:1

Card sample

#e71bbc text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #e71bbc;
Background color
Panel with #e71bbc background
background-color: #e71bbc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #e71bbc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(231, 27, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(231, 27, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e71bbc;
background: linear-gradient(135deg, #e71bbc, #E71B34);

Monochromatic scale

Palettes built from #e71bbc

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#e71bbc in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#e71bbc, answered

What color is #e71bbc?

#e71bbc is a balanced electric magenta / pink, closest to Magenta (ΔE2000 9.6). It sits at 313° on the hue wheel with 81% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #e71bbc?

rgb(231, 27, 188) — 231 red, 27 green and 188 blue out of 255, or 90.6% / 10.6% / 73.7% by channel.

Is #e71bbc a light or a dark color?

It is a mid-tone. Relative luminance is 0.2140 and perceived brightness is 56%, so black text on it reaches 5.28:1.

Should I use black or white text on #e71bbc?

Black. It scores 5.28:1 against #e71bbc, versus 3.98:1 for white — AA at any size.

What is the complementary color of #e71bbc?

#1BE746 sits directly opposite on the wheel. Softer options are the split-complements #56E71B and #1BE7AC, which give the same contrast with far less vibration.

What colors go well with #e71bbc?

For interface work: #FAF4F9 as the surface, #EDC0E3 for borders, #9B4B8A for secondary text, #17BD0F as an accent and #730C5E for hover and pressed states. For a palette, the analogous pair #AC1BE7 and #E71B56 stays calm, while #1BE746 is the loudest partner.

What is #e71bbc in CMYK for printing?

cmyk(0%, 88%, 19%, 9%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #e71bbc warm or cool?

Neutral — it scores 43 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E71B71; nudged cooler, #C918EA.

Work with #e71bbc in the Color Lab