Skip to content

#e166df

a balanced, vivid magenta / pink · neutral · closest name: Orchid

RGB
225, 102, 223
HSL
301°, 67%, 64%
CMYK
0, 55, 1, 12
Luminance
0.3084

At a glance

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

Hex
#e166df
Hue
301°
magenta / pink
Saturation
67%
vivid
Lightness
64%
balanced
Brightness
88%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3084
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.17:1
Closest name
Orchid
ΔE2000 2.4
Where it sits
Hue301° of 360°
Saturation67%
Lightness64%
Temperature
Warm ← → Cool49% 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#e166df
RGBrgb(225, 102, 223)
HSLhsl(301, 67%, 64%)
CMYKcmyk(0%, 55%, 1%, 12%)
LABlab(62.4 63.4 -40.0)
LCHlch(62.4 75.0 327.7)
OKLCHoklch(0.702 0.209 328.1)
Decimal14771935
Display P3color(display-p3 0.882 0.400 0.875)

Copy-ready code

/* CSS */
color: #e166df;
background-color: #e166df;
/* Tailwind (arbitrary) */
class="text-[#e166df] bg-[#e166df]"
/* SCSS */
$brand: #e166df;
/* SwiftUI */
Color(red: 0.882, green: 0.400, blue: 0.875)
/* Android */
Color.parseColor("#e166df")
/* Flutter */
Color(0xFFE166DF)
/* Python / OpenCV (BGR) */
(223, 102, 225)

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

Accessibility — WCAG contrast

Aa
#e166df on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#e166df on black: 7.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5A8CE3
deuteranopia · #829DDB
tritanopia · #E87499

Color scale — 50 to 950

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

#FBF3FB
#F8E8F7
#F1CAF1
#EDA1EB
#e166df
#DA43D8
#CD28CA
#AB21A8
#881B87
#631762
#3E0F3D
Base = 400Lightest = 50 · #FBF3FBDarkest = 950 · #3E0F3D
:root {
  --brand-50: #FBF3FB;
  --brand-100: #F8E8F7;
  --brand-200: #F1CAF1;
  --brand-300: #EDA1EB;
  --brand-400: #e166df;
  --brand-500: #DA43D8;
  --brand-600: #CD28CA;
  --brand-700: #AB21A8;
  --brand-800: #881B87;
  --brand-900: #631762;
  --brand-950: #3E0F3D;
  --brand: #e166df;
  --brand-ink: #000000;
}

Colors that work with #e166df

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#EDC0EC
Hairlines and dividers
Muted text#9B4B9A
Captions on the surface
Accent#40AF1D
Second voice, not a rival
Dark variant#6B1569
Hover, pressed, headers
Light variant#FBEAFB
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 #e166df

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
  • 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
  • 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#66E168
Analogous left#A666E1
Analogous right#E166A1
Split-complement 1#A1E166
Split-complement 2#66E1A6
Triadic 1#DFE166
Triadic 2#66DFE1
Tetradic#E1A666

RGB percentages

Red88.2%
Green40.0%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta54.7%
Yellow0.9%
Key (black)11.8%

Color previews

#e166df text on a black background

contrast 7.17:1

Card sample

#e166df text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(225, 102, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(225, 102, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e166df;
background: linear-gradient(135deg, #e166df, #E1668D);

Monochromatic scale

Palettes built from #e166df

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.

#e166df 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
ButtonsLinksFocus statesCharts
Print note

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

#e166df, answered

What color is #e166df?

#e166df is a balanced vivid magenta / pink, closest to Orchid (ΔE2000 2.4). It sits at 301° on the hue wheel with 67% saturation and 64% lightness, which reads as neutral.

What is the RGB value of #e166df?

rgb(225, 102, 223) — 225 red, 102 green and 223 blue out of 255, or 88.2% / 40% / 87.5% by channel.

Is #e166df a light or a dark color?

It is a mid-tone. Relative luminance is 0.3084 and perceived brightness is 64%, so black text on it reaches 7.17:1.

Should I use black or white text on #e166df?

Black. It scores 7.17:1 against #e166df, versus 2.93:1 for white — AAA at any size.

What is the complementary color of #e166df?

#66E168 sits directly opposite on the wheel. Softer options are the split-complements #A1E166 and #66E1A6, which give the same contrast with far less vibration.

What colors go well with #e166df?

For interface work: #FAF4FA as the surface, #EDC0EC for borders, #9B4B9A for secondary text, #40AF1D as an accent and #6B1569 for hover and pressed states. For a palette, the analogous pair #A666E1 and #E166A1 stays calm, while #66E168 is the loudest partner.

What is #e166df in CMYK for printing?

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

Is #e166df warm or cool?

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

Work with #e166df in the Color Lab