Skip to content

#ec71af

a light, electric magenta / pink · warm · closest name: Hot Pink

RGB
236, 113, 175
HSL
330°, 76%, 68%
CMYK
0, 52, 26, 8
Luminance
0.3274

At a glance

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

Hex
#ec71af
Hue
330°
magenta / pink
Saturation
76%
electric
Lightness
68%
light
Brightness
93%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3274
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.55:1
Closest name
Hot Pink
ΔE2000 3
Where it sits
Hue330° of 360°
Saturation76%
Lightness68%
Temperature
Warm ← → Cool33% cool

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

Every format

HEX#ec71af
RGBrgb(236, 113, 175)
HSLhsl(330, 76%, 68%)
CMYKcmyk(0%, 52%, 26%, 8%)
LABlab(64.0 54.2 -10.4)
LCHlch(64.0 55.2 349.2)
OKLCHoklch(0.711 0.166 350.7)
Decimal15495599
Display P3color(display-p3 0.925 0.443 0.686)

Copy-ready code

/* CSS */
color: #ec71af;
background-color: #ec71af;
/* Tailwind (arbitrary) */
class="text-[#ec71af] bg-[#ec71af]"
/* SCSS */
$brand: #ec71af;
/* SwiftUI */
Color(red: 0.925, green: 0.443, blue: 0.686)
/* Android */
Color.parseColor("#ec71af")
/* Flutter */
Color(0xFFEC71AF)
/* Python / OpenCV (BGR) */
(175, 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 #ec71af · 7.55:1
Use #000000AAA at every size.
Aa
White text · 2.78:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.55:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ec71af as text scores 2.78:1 on white and 7.55:1 on black.

Accessibility — WCAG contrast

Aa
#ec71af on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#ec71af on black: 7.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7F8DB1
deuteranopia · #A0A3AC
tritanopia · #FB6C89

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ec71af 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.

#FCF3F7
#F9E7F0
#F4C8DE
#F29CC7
#ec71af
#E5398F
#D81D7B
#B41867
#901352
#68123D
#410B26
Base = 400Lightest = 50 · #FCF3F7Darkest = 950 · #410B26
:root {
  --brand-50: #FCF3F7;
  --brand-100: #F9E7F0;
  --brand-200: #F4C8DE;
  --brand-300: #F29CC7;
  --brand-400: #ec71af;
  --brand-500: #E5398F;
  --brand-600: #D81D7B;
  --brand-700: #B41867;
  --brand-800: #901352;
  --brand-900: #68123D;
  --brand-950: #410B26;
  --brand: #ec71af;
  --brand-ink: #000000;
}

Colors that work with #ec71af

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#FAF4F7
Tinted page background
Border#EDC0D6
Hairlines and dividers
Muted text#9B4B73
Captions on the surface
Accent#14B83D
Second voice, not a rival
Dark variant#700F40
Hover, pressed, headers
Light variant#FCE9F2
Selected rows, tints
Dark surface#24141C
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 #ec71af

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#71ECAE
Analogous left#EC71EC
Analogous right#EC7171
Split-complement 1#71EC71
Split-complement 2#71ECEC
Triadic 1#AFEC71
Triadic 2#71AFEC
Tetradic#ECEC71

RGB percentages

Red92.5%
Green44.3%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta52.1%
Yellow25.8%
Key (black)7.5%

Color previews

#ec71af text on a black background

contrast 7.55:1

Card sample

#ec71af text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec71af

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.

#ec71af 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.

#ec71af, answered

What color is #ec71af?

#ec71af is a light electric magenta / pink, closest to Hot Pink (ΔE2000 3). It sits at 330° on the hue wheel with 76% saturation and 68% lightness, which reads as warm.

What is the RGB value of #ec71af?

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

Is #ec71af a light or a dark color?

It is a mid-tone. Relative luminance is 0.3274 and perceived brightness is 65%, so black text on it reaches 7.55:1.

Should I use black or white text on #ec71af?

Black. It scores 7.55:1 against #ec71af, versus 2.78:1 for white — AAA at any size.

What is the complementary color of #ec71af?

#71ECAE sits directly opposite on the wheel. Softer options are the split-complements #71EC71 and #71ECEC, which give the same contrast with far less vibration.

What colors go well with #ec71af?

For interface work: #FAF4F7 as the surface, #EDC0D6 for borders, #9B4B73 for secondary text, #14B83D as an accent and #700F40 for hover and pressed states. For a palette, the analogous pair #EC71EC and #EC7171 stays calm, while #71ECAE is the loudest partner.

What is #ec71af in CMYK for printing?

cmyk(0%, 52%, 26%, 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 #ec71af warm or cool?

Warm — it scores 33 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EC7182; nudged cooler, #EE6FDD.

Work with #ec71af in the Color Lab