Skip to content

#eb66f2

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

RGB
235, 102, 242
HSL
297°, 84%, 68%
CMYK
3, 58, 0, 5
Luminance
0.3358

At a glance

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

Hex
#eb66f2
Hue
297°
magenta / pink
Saturation
84%
electric
Lightness
68%
light
Brightness
95%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3358
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.72:1
Closest name
Orchid
ΔE2000 4.7
Where it sits
Hue297° of 360°
Saturation84%
Lightness68%
Temperature
Warm ← → Cool52% 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#eb66f2
RGBrgb(235, 102, 242)
HSLhsl(297, 84%, 68%)
CMYKcmyk(3%, 58%, 0%, 5%)
LABlab(64.6 69.2 -47.0)
LCHlch(64.6 83.7 325.8)
OKLCHoklch(0.724 0.230 325.6)
Decimal15427314
Display P3color(display-p3 0.922 0.400 0.949)

Copy-ready code

/* CSS */
color: #eb66f2;
background-color: #eb66f2;
/* Tailwind (arbitrary) */
class="text-[#eb66f2] bg-[#eb66f2]"
/* SCSS */
$brand: #eb66f2;
/* SwiftUI */
Color(red: 0.922, green: 0.400, blue: 0.949)
/* Android */
Color.parseColor("#eb66f2")
/* Flutter */
Color(0xFFEB66F2)
/* Python / OpenCV (BGR) */
(242, 102, 235)

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

Accessibility — WCAG contrast

Aa
#eb66f2 on white: 2.72:1
AA ✗ fail · AA-large · AAA
Aa
#eb66f2 on black: 7.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5292F6
deuteranopia · #80A3EE
tritanopia · #F079A3

Color scale — 50 to 950

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

#FCF2FC
#F9E6FA
#F4C5F6
#F198F6
#eb66f2
#E430ED
#D713E2
#B310BC
#900D96
#680E6D
#410944
Base = 400Lightest = 50 · #FCF2FCDarkest = 950 · #410944
:root {
  --brand-50: #FCF2FC;
  --brand-100: #F9E6FA;
  --brand-200: #F4C5F6;
  --brand-300: #F198F6;
  --brand-400: #eb66f2;
  --brand-500: #E430ED;
  --brand-600: #D713E2;
  --brand-700: #B310BC;
  --brand-800: #900D96;
  --brand-900: #680E6D;
  --brand-950: #410944;
  --brand: #eb66f2;
  --brand-ink: #000000;
}

Colors that work with #eb66f2

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#EAC0ED
Hairlines and dividers
Muted text#974B9B
Captions on the surface
Accent#42C00C
Second voice, not a rival
Dark variant#700A75
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 #eb66f2

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#6DF266
Analogous left#A566F2
Analogous right#F266B3
Split-complement 1#B3F266
Split-complement 2#66F2A5
Triadic 1#F2EB66
Triadic 2#66F2EB
Tetradic#F2A566

RGB percentages

Red92.2%
Green40.0%
Blue94.9%

CMYK percentages

Cyan2.9%
Magenta57.9%
Yellow0.0%
Key (black)5.1%

Color previews

#eb66f2 text on a black background

contrast 7.72:1

Card sample

#eb66f2 text on a white background

contrast 2.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb66f2

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.

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

#eb66f2, answered

What color is #eb66f2?

#eb66f2 is a light electric magenta / pink, closest to Orchid (ΔE2000 4.7). It sits at 297° on the hue wheel with 84% saturation and 68% lightness, which reads as neutral.

What is the RGB value of #eb66f2?

rgb(235, 102, 242) — 235 red, 102 green and 242 blue out of 255, or 92.2% / 40% / 94.9% by channel.

Is #eb66f2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3358 and perceived brightness is 67%, so black text on it reaches 7.72:1.

Should I use black or white text on #eb66f2?

Black. It scores 7.72:1 against #eb66f2, versus 2.72:1 for white — AAA at any size.

What is the complementary color of #eb66f2?

#6DF266 sits directly opposite on the wheel. Softer options are the split-complements #B3F266 and #66F2A5, which give the same contrast with far less vibration.

What colors go well with #eb66f2?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #974B9B for secondary text, #42C00C as an accent and #700A75 for hover and pressed states. For a palette, the analogous pair #A566F2 and #F266B3 stays calm, while #6DF266 is the loudest partner.

What is #eb66f2 in CMYK for printing?

cmyk(3%, 58%, 0%, 5%). 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 #eb66f2 warm or cool?

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

Work with #eb66f2 in the Color Lab