Skip to content

#ec71db

a light, electric magenta / pink · neutral · closest name: Orchid

RGB
236, 113, 219
HSL
308°, 76%, 68%
CMYK
0, 52, 7, 8
Luminance
0.3476

At a glance

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

Hex
#ec71db
Hue
308°
magenta / pink
Saturation
76%
electric
Lightness
68%
light
Brightness
93%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3476
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.95:1
Closest name
Orchid
ΔE2000 3.1
Where it sits
Hue308° of 360°
Saturation76%
Lightness68%
Temperature
Warm ← → Cool45% 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#ec71db
RGBrgb(236, 113, 219)
HSLhsl(308, 76%, 68%)
CMYKcmyk(0%, 52%, 7%, 8%)
LABlab(65.6 60.7 -32.7)
LCHlch(65.6 69.0 331.7)
OKLCHoklch(0.728 0.196 332.9)
Decimal15495643
Display P3color(display-p3 0.925 0.443 0.859)

Copy-ready code

/* CSS */
color: #ec71db;
background-color: #ec71db;
/* Tailwind (arbitrary) */
class="text-[#ec71db] bg-[#ec71db]"
/* SCSS */
$brand: #ec71db;
/* SwiftUI */
Color(red: 0.925, green: 0.443, blue: 0.859)
/* Android */
Color.parseColor("#ec71db")
/* Flutter */
Color(0xFFEC71DB)
/* Python / OpenCV (BGR) */
(219, 113, 236)

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 #ec71db · 7.95:1
Use #000000AAA at every size.
Aa
White text · 2.64:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.95:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ec71db as text scores 2.64:1 on white and 7.95:1 on black.

Accessibility — WCAG contrast

Aa
#ec71db on white: 2.64:1
AA ✗ fail · AA-large · AAA
Aa
#ec71db on black: 7.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6E94DE
deuteranopia · #92A6D8
tritanopia · #F5799C

Color scale — 50 to 950

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

#FCF3FB
#F9E7F6
#F4C8EE
#F29CE6
#ec71db
#E539CD
#D81DBE
#B4189E
#90137F
#68125C
#410B3A
Base = 400Lightest = 50 · #FCF3FBDarkest = 950 · #410B3A
:root {
  --brand-50: #FCF3FB;
  --brand-100: #F9E7F6;
  --brand-200: #F4C8EE;
  --brand-300: #F29CE6;
  --brand-400: #ec71db;
  --brand-500: #E539CD;
  --brand-600: #D81DBE;
  --brand-700: #B4189E;
  --brand-800: #90137F;
  --brand-900: #68125C;
  --brand-950: #410B3A;
  --brand: #ec71db;
  --brand-ink: #000000;
}

Colors that work with #ec71db

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#FAF4FA
Tinted page background
Border#EDC0E6
Hairlines and dividers
Muted text#9B4B90
Captions on the surface
Accent#26B814
Second voice, not a rival
Dark variant#700F63
Hover, pressed, headers
Light variant#FCE9F9
Selected rows, tints
Dark surface#241422
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 #ec71db

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#71EC82
Analogous left#BF71EC
Analogous right#EC719D
Split-complement 1#9DEC71
Split-complement 2#71ECBF
Triadic 1#DBEC71
Triadic 2#71DBEC
Tetradic#ECBF71

RGB percentages

Red92.5%
Green44.3%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta52.1%
Yellow7.2%
Key (black)7.5%

Color previews

#ec71db text on a black background

contrast 7.95:1

Card sample

#ec71db text on a white background

contrast 2.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(236, 113, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 113, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ec71db;
background: linear-gradient(135deg, #ec71db, #EC7189);

Monochromatic scale

Palettes built from #ec71db

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.

#ec71db 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#ec71db, answered

What color is #ec71db?

#ec71db is a light electric magenta / pink, closest to Orchid (ΔE2000 3.1). It sits at 308° on the hue wheel with 76% saturation and 68% lightness, which reads as neutral.

What is the RGB value of #ec71db?

rgb(236, 113, 219) — 236 red, 113 green and 219 blue out of 255, or 92.5% / 44.3% / 85.9% by channel.

Is #ec71db a light or a dark color?

It is a mid-tone. Relative luminance is 0.3476 and perceived brightness is 67%, so black text on it reaches 7.95:1.

Should I use black or white text on #ec71db?

Black. It scores 7.95:1 against #ec71db, versus 2.64:1 for white — AAA at any size.

What is the complementary color of #ec71db?

#71EC82 sits directly opposite on the wheel. Softer options are the split-complements #9DEC71 and #71ECBF, which give the same contrast with far less vibration.

What colors go well with #ec71db?

For interface work: #FAF4FA as the surface, #EDC0E6 for borders, #9B4B90 for secondary text, #26B814 as an accent and #700F63 for hover and pressed states. For a palette, the analogous pair #BF71EC and #EC719D stays calm, while #71EC82 is the loudest partner.

What is #ec71db in CMYK for printing?

cmyk(0%, 52%, 7%, 8%). 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 #ec71db warm or cool?

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

Work with #ec71db in the Color Lab