Skip to content

#ec5eee

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

RGB
236, 94, 238
HSL
299°, 81%, 65%
CMYK
1, 61, 0, 7
Luminance
0.3201

At a glance

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

Hex
#ec5eee
Hue
299°
magenta / pink
Saturation
81%
electric
Lightness
65%
light
Brightness
93%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3201
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.40:1
Closest name
Orchid
ΔE2000 4.8
Where it sits
Hue299° of 360°
Saturation81%
Lightness65%
Temperature
Warm ← → Cool50% 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#ec5eee
RGBrgb(236, 94, 238)
HSLhsl(299, 81%, 65%)
CMYKcmyk(1%, 61%, 0%, 7%)
LABlab(63.4 72.1 -46.8)
LCHlch(63.4 86.0 327.0)
OKLCHoklch(0.715 0.238 327.2)
Decimal15490798
Display P3color(display-p3 0.925 0.369 0.933)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec5eee on white: 2.84:1
AA ✗ fail · AA-large · AAA
Aa
#ec5eee on black: 7.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4B8EF2
deuteranopia · #7EA0EA
tritanopia · #F2719E

Color scale — 50 to 950

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

#FCF3FC
#F9E6F9
#F5C6F5
#F39AF4
#ec5eee
#E734EA
#DB17DD
#B613B9
#921094
#6A106B
#420A43
Base = 400Lightest = 50 · #FCF3FCDarkest = 950 · #420A43
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F9E6F9;
  --brand-200: #F5C6F5;
  --brand-300: #F39AF4;
  --brand-400: #ec5eee;
  --brand-500: #E734EA;
  --brand-600: #DB17DD;
  --brand-700: #B613B9;
  --brand-800: #921094;
  --brand-900: #6A106B;
  --brand-950: #420A43;
  --brand: #ec5eee;
  --brand-ink: #000000;
}

Colors that work with #ec5eee

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#ECC0ED
Hairlines and dividers
Muted text#9A4B9B
Captions on the surface
Accent#3DBD0F
Second voice, not a rival
Dark variant#720C73
Hover, pressed, headers
Light variant#FCE8FD
Selected rows, tints
Dark surface#241424
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 #ec5eee

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#60EE5E
Analogous left#A45EEE
Analogous right#EE5EA8
Split-complement 1#A8EE5E
Split-complement 2#5EEEA4
Triadic 1#EEEC5E
Triadic 2#5EEEEC
Tetradic#EEA45E

RGB percentages

Red92.5%
Green36.9%
Blue93.3%

CMYK percentages

Cyan0.8%
Magenta60.5%
Yellow0.0%
Key (black)6.7%

Color previews

#ec5eee text on a black background

contrast 7.40:1

Card sample

#ec5eee text on a white background

contrast 2.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec5eee

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.

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

#ec5eee, answered

What color is #ec5eee?

#ec5eee is a light electric magenta / pink, closest to Orchid (ΔE2000 4.8). It sits at 299° on the hue wheel with 81% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #ec5eee?

rgb(236, 94, 238) — 236 red, 94 green and 238 blue out of 255, or 92.5% / 36.9% / 93.3% by channel.

Is #ec5eee a light or a dark color?

It is a mid-tone. Relative luminance is 0.3201 and perceived brightness is 66%, so black text on it reaches 7.40:1.

Should I use black or white text on #ec5eee?

Black. It scores 7.40:1 against #ec5eee, versus 2.84:1 for white — AAA at any size.

What is the complementary color of #ec5eee?

#60EE5E sits directly opposite on the wheel. Softer options are the split-complements #A8EE5E and #5EEEA4, which give the same contrast with far less vibration.

What colors go well with #ec5eee?

For interface work: #FAF4FA as the surface, #ECC0ED for borders, #9A4B9B for secondary text, #3DBD0F as an accent and #720C73 for hover and pressed states. For a palette, the analogous pair #A45EEE and #EE5EA8 stays calm, while #60EE5E is the loudest partner.

What is #ec5eee in CMYK for printing?

cmyk(1%, 61%, 0%, 7%). 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 #ec5eee warm or cool?

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

Work with #ec5eee in the Color Lab