Skip to content

#ec8eb3

a light, vivid magenta / pink · warm · closest name: Pale Violet Red

RGB
236, 142, 179
HSL
336°, 71%, 74%
CMYK
0, 40, 24, 8
Luminance
0.4043

At a glance

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

Hex
#ec8eb3
Hue
336°
magenta / pink
Saturation
71%
vivid
Lightness
74%
light
Brightness
93%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4043
WCAG relative
Temperature
Warm
30/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
9.09:1
Closest name
Pale Violet Red
ΔE2000 8.1
Where it sits
Hue336° of 360°
Saturation71%
Lightness74%
Temperature
Warm ← → Cool30% 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#ec8eb3
RGBrgb(236, 142, 179)
HSLhsl(336, 71%, 74%)
CMYKcmyk(0%, 40%, 24%, 8%)
LABlab(69.8 40.3 -4.0)
LCHlch(69.8 40.5 354.4)
OKLCHoklch(0.755 0.121 355.3)
Decimal15503027
Display P3color(display-p3 0.925 0.557 0.702)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec8eb3 on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#ec8eb3 on black: 9.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #99A0B4
deuteranopia · #B1B1B1
tritanopia · #FA8A9B

Color scale — 50 to 950

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

#FCF3F6
#F8E7EE
#F3C9D9
#ec8eb3
#E76F9E
#DF3F7E
#D22368
#AF1D57
#8C1845
#651535
#3F0D21
Base = 300Lightest = 50 · #FCF3F6Darkest = 950 · #3F0D21
:root {
  --brand-50: #FCF3F6;
  --brand-100: #F8E7EE;
  --brand-200: #F3C9D9;
  --brand-300: #ec8eb3;
  --brand-400: #E76F9E;
  --brand-500: #DF3F7E;
  --brand-600: #D22368;
  --brand-700: #AF1D57;
  --brand-800: #8C1845;
  --brand-900: #651535;
  --brand-950: #3F0D21;
  --brand: #ec8eb3;
  --brand-ink: #000000;
}

Colors that work with #ec8eb3

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#EDC0D1
Hairlines and dividers
Muted text#9B4B6A
Captions on the surface
Accent#19B350
Second voice, not a rival
Dark variant#6D1236
Hover, pressed, headers
Light variant#FBE9F0
Selected rows, tints
Dark surface#24141A
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 #ec8eb3

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#8EECC7
Analogous left#EC8EE2
Analogous right#EC988E
Split-complement 1#8EEC98
Split-complement 2#8EE2EC
Triadic 1#B3EC8E
Triadic 2#8EB3EC
Tetradic#E2EC8E

RGB percentages

Red92.5%
Green55.7%
Blue70.2%

CMYK percentages

Cyan0.0%
Magenta39.8%
Yellow24.2%
Key (black)7.5%

Color previews

#ec8eb3 text on a black background

contrast 9.09:1

Card sample

#ec8eb3 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec8eb3

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.

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

#ec8eb3, answered

What color is #ec8eb3?

#ec8eb3 is a light vivid magenta / pink, closest to Pale Violet Red (ΔE2000 8.1). It sits at 336° on the hue wheel with 71% saturation and 74% lightness, which reads as warm.

What is the RGB value of #ec8eb3?

rgb(236, 142, 179) — 236 red, 142 green and 179 blue out of 255, or 92.5% / 55.7% / 70.2% by channel.

Is #ec8eb3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4043 and perceived brightness is 70%, so black text on it reaches 9.09:1.

Should I use black or white text on #ec8eb3?

Black. It scores 9.09:1 against #ec8eb3, versus 2.31:1 for white — AAA at any size.

What is the complementary color of #ec8eb3?

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

What colors go well with #ec8eb3?

For interface work: #FAF4F7 as the surface, #EDC0D1 for borders, #9B4B6A for secondary text, #19B350 as an accent and #6D1236 for hover and pressed states. For a palette, the analogous pair #EC8EE2 and #EC988E stays calm, while #8EECC7 is the loudest partner.

What is #ec8eb3 in CMYK for printing?

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

Is #ec8eb3 warm or cool?

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

Work with #ec8eb3 in the Color Lab