Skip to content

#ee2df6

a balanced, electric magenta / pink · neutral · closest name: Magenta

RGB
238, 45, 246
HSL
298°, 92%, 57%
CMYK
3, 82, 0, 4
Luminance
0.2671

At a glance

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

Hex
#ee2df6
Hue
298°
magenta / pink
Saturation
92%
electric
Lightness
57%
balanced
Brightness
96%
HSV value
Perceived
62%
weighted brightness
Luminance
0.2671
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.34:1
Closest name
Magenta
ΔE2000 2.3
Where it sits
Hue298° of 360°
Saturation92%
Lightness57%
Temperature
Warm ← → Cool51% 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#ee2df6
RGBrgb(238, 45, 246)
HSLhsl(298, 92%, 57%)
CMYKcmyk(3%, 82%, 0%, 4%)
LABlab(58.7 89.1 -58.6)
LCHlch(58.7 106.6 326.7)
OKLCHoklch(0.683 0.294 326.3)
Decimal15609334
Display P3color(display-p3 0.933 0.176 0.965)

Copy-ready code

/* CSS */
color: #ee2df6;
background-color: #ee2df6;
/* Tailwind (arbitrary) */
class="text-[#ee2df6] bg-[#ee2df6]"
/* SCSS */
$brand: #ee2df6;
/* SwiftUI */
Color(red: 0.933, green: 0.176, blue: 0.965)
/* Android */
Color.parseColor("#ee2df6")
/* Flutter */
Color(0xFFEE2DF6)
/* Python / OpenCV (BGR) */
(246, 45, 238)

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

Accessibility — WCAG contrast

Aa
#ee2df6 on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#ee2df6 on black: 6.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #007EFB
deuteranopia · #6495F2
tritanopia · #F45695

Color scale — 50 to 950

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

#FDF2FD
#FAE4FB
#F7C3F9
#F693FA
#F25EF8
#ee2df6
#E20AEB
#BC08C4
#97079D
#6D0A71
#440647
Base = 500Lightest = 50 · #FDF2FDDarkest = 950 · #440647
:root {
  --brand-50: #FDF2FD;
  --brand-100: #FAE4FB;
  --brand-200: #F7C3F9;
  --brand-300: #F693FA;
  --brand-400: #F25EF8;
  --brand-500: #ee2df6;
  --brand-600: #E20AEB;
  --brand-700: #BC08C4;
  --brand-800: #97079D;
  --brand-900: #6D0A71;
  --brand-950: #440647;
  --brand: #ee2df6;
  --brand-ink: #000000;
}

Colors that work with #ee2df6

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#EBC0ED
Hairlines and dividers
Muted text#984B9B
Captions on the surface
Accent#3DC705
Second voice, not a rival
Dark variant#76057A
Hover, pressed, headers
Light variant#FDE7FE
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 #ee2df6

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#35F62D
Analogous left#8A2DF6
Analogous right#F62D9A
Split-complement 1#9AF62D
Split-complement 2#2DF68A
Triadic 1#F6EE2D
Triadic 2#2DF6EE
Tetradic#F68A2D

RGB percentages

Red93.3%
Green17.6%
Blue96.5%

CMYK percentages

Cyan3.3%
Magenta81.7%
Yellow0.0%
Key (black)3.5%

Color previews

#ee2df6 text on a black background

contrast 6.34:1

Card sample

#ee2df6 text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ee2df6

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.

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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ee2df6, answered

What color is #ee2df6?

#ee2df6 is a balanced electric magenta / pink, closest to Magenta (ΔE2000 2.3). It sits at 298° on the hue wheel with 92% saturation and 57% lightness, which reads as neutral.

What is the RGB value of #ee2df6?

rgb(238, 45, 246) — 238 red, 45 green and 246 blue out of 255, or 93.3% / 17.6% / 96.5% by channel.

Is #ee2df6 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2671 and perceived brightness is 62%, so black text on it reaches 6.34:1.

Should I use black or white text on #ee2df6?

Black. It scores 6.34:1 against #ee2df6, versus 3.31:1 for white — AA at any size.

What is the complementary color of #ee2df6?

#35F62D sits directly opposite on the wheel. Softer options are the split-complements #9AF62D and #2DF68A, which give the same contrast with far less vibration.

What colors go well with #ee2df6?

For interface work: #FAF4FA as the surface, #EBC0ED for borders, #984B9B for secondary text, #3DC705 as an accent and #76057A for hover and pressed states. For a palette, the analogous pair #8A2DF6 and #F62D9A stays calm, while #35F62D is the loudest partner.

What is #ee2df6 in CMYK for printing?

cmyk(3%, 82%, 0%, 4%). 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 #ee2df6 warm or cool?

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

Work with #ee2df6 in the Color Lab