Skip to content

#ec8fbc

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

RGB
236, 143, 188
HSL
331°, 71%, 74%
CMYK
0, 39, 20, 8
Luminance
0.4111

At a glance

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

Hex
#ec8fbc
Hue
331°
magenta / pink
Saturation
71%
vivid
Lightness
74%
light
Brightness
93%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4111
WCAG relative
Temperature
Warm
33/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
9.22:1
Closest name
Hot Pink
ΔE2000 7.9
Where it sits
Hue331° of 360°
Saturation71%
Lightness74%
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#ec8fbc
RGBrgb(236, 143, 188)
HSLhsl(331, 71%, 74%)
CMYKcmyk(0%, 39%, 20%, 8%)
LABlab(70.3 41.0 -8.3)
LCHlch(70.3 41.9 348.6)
OKLCHoklch(0.760 0.124 350.0)
Decimal15503292
Display P3color(display-p3 0.925 0.561 0.737)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec8fbc on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#ec8fbc on black: 9.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #98A2BE
deuteranopia · #AFB2BA
tritanopia · #F88C9F

Color scale — 50 to 950

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

#FCF3F7
#F8E7EF
#F3C9DD
#ec8fbc
#E76FA9
#DE3F8C
#D12378
#AE1E64
#8C1850
#65153C
#3F0D25
Base = 300Lightest = 50 · #FCF3F7Darkest = 950 · #3F0D25
:root {
  --brand-50: #FCF3F7;
  --brand-100: #F8E7EF;
  --brand-200: #F3C9DD;
  --brand-300: #ec8fbc;
  --brand-400: #E76FA9;
  --brand-500: #DE3F8C;
  --brand-600: #D12378;
  --brand-700: #AE1E64;
  --brand-800: #8C1850;
  --brand-900: #65153C;
  --brand-950: #3F0D25;
  --brand: #ec8fbc;
  --brand-ink: #000000;
}

Colors that work with #ec8fbc

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#EDC0D5
Hairlines and dividers
Muted text#9B4B71
Captions on the surface
Accent#19B343
Second voice, not a rival
Dark variant#6D123E
Hover, pressed, headers
Light variant#FBE9F2
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 #ec8fbc

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#8FECBF
Analogous left#EC8FEA
Analogous right#EC908F
Split-complement 1#8FEC90
Split-complement 2#8FEAEC
Triadic 1#BCEC8F
Triadic 2#8FBCEC
Tetradic#EAEC8F

RGB percentages

Red92.5%
Green56.1%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta39.4%
Yellow20.3%
Key (black)7.5%

Color previews

#ec8fbc text on a black background

contrast 9.22:1

Card sample

#ec8fbc text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec8fbc

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.

#ec8fbc 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

Converts to four-color process without much drama. Proof it anyway.

#ec8fbc, answered

What color is #ec8fbc?

#ec8fbc is a light vivid magenta / pink, closest to Hot Pink (ΔE2000 7.9). It sits at 331° on the hue wheel with 71% saturation and 74% lightness, which reads as warm.

What is the RGB value of #ec8fbc?

rgb(236, 143, 188) — 236 red, 143 green and 188 blue out of 255, or 92.5% / 56.1% / 73.7% by channel.

Is #ec8fbc a light or a dark color?

It is a mid-tone. Relative luminance is 0.4111 and perceived brightness is 71%, so black text on it reaches 9.22:1.

Should I use black or white text on #ec8fbc?

Black. It scores 9.22:1 against #ec8fbc, versus 2.28:1 for white — AAA at any size.

What is the complementary color of #ec8fbc?

#8FECBF sits directly opposite on the wheel. Softer options are the split-complements #8FEC90 and #8FEAEC, which give the same contrast with far less vibration.

What colors go well with #ec8fbc?

For interface work: #FAF4F7 as the surface, #EDC0D5 for borders, #9B4B71 for secondary text, #19B343 as an accent and #6D123E for hover and pressed states. For a palette, the analogous pair #EC8FEA and #EC908F stays calm, while #8FECBF is the loudest partner.

What is #ec8fbc in CMYK for printing?

cmyk(0%, 39%, 20%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ec8fbc 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 #EC8F9A; nudged cooler, #ED8EDF.

Work with #ec8fbc in the Color Lab