Skip to content

#eb06a2

a balanced, electric magenta / pink · warm · closest name: Deep Pink

RGB
235, 6, 162
HSL
319°, 95%, 47%
CMYK
0, 97, 31, 8
Luminance
0.2040

At a glance

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

Hex
#eb06a2
Hue
319°
magenta / pink
Saturation
95%
electric
Lightness
47%
balanced
Brightness
92%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2040
WCAG relative
Temperature
Warm
39/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.08:1
Closest name
Deep Pink
ΔE2000 6.3
Where it sits
Hue319° of 360°
Saturation95%
Lightness47%
Temperature
Warm ← → Cool39% 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#eb06a2
RGBrgb(235, 6, 162)
HSLhsl(319, 95%, 47%)
CMYKcmyk(0%, 97%, 31%, 8%)
LABlab(52.3 83.0 -20.5)
LCHlch(52.3 85.5 346.1)
OKLCHoklch(0.624 0.260 348.0)
Decimal15402658
Display P3color(display-p3 0.922 0.024 0.635)

Copy-ready code

/* CSS */
color: #eb06a2;
background-color: #eb06a2;
/* Tailwind (arbitrary) */
class="text-[#eb06a2] bg-[#eb06a2]"
/* SCSS */
$brand: #eb06a2;
/* SwiftUI */
Color(red: 0.922, green: 0.024, blue: 0.635)
/* Android */
Color.parseColor("#eb06a2")
/* Flutter */
Color(0xFFEB06A2)
/* Python / OpenCV (BGR) */
(162, 6, 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 #eb06a2 · 5.08:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.13:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.08:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #eb06a2 as text scores 4.13:1 on white and 5.08:1 on black.

Accessibility — WCAG contrast

Aa
#eb06a2 on white: 4.13:1
AA ✗ fail · AA-large · AAA
Aa
#eb06a2 on black: 5.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4266A5
deuteranopia · #82899E
tritanopia · #FD005F

Color scale — 50 to 950

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

#FDF1F9
#FBE4F4
#FAC2E8
#FC92DA
#FB5BC8
#F924B6
#eb06a2
#C70589
#9F046E
#730851
#480532
Base = 600Lightest = 50 · #FDF1F9Darkest = 950 · #480532
:root {
  --brand-50: #FDF1F9;
  --brand-100: #FBE4F4;
  --brand-200: #FAC2E8;
  --brand-300: #FC92DA;
  --brand-400: #FB5BC8;
  --brand-500: #F924B6;
  --brand-600: #eb06a2;
  --brand-700: #C70589;
  --brand-800: #9F046E;
  --brand-900: #730851;
  --brand-950: #480532;
  --brand: #eb06a2;
  --brand-ink: #000000;
}

Colors that work with #eb06a2

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#FAF4F8
Tinted page background
Border#EDC0DE
Hairlines and dividers
Muted text#9B4B81
Captions on the surface
Accent#01CB0F
Second voice, not a rival
Dark variant#7C0356
Hover, pressed, headers
Light variant#FEE6F7
Selected rows, tints
Dark surface#24141F
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 #eb06a2

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#06EB4F
Analogous left#C206EB
Analogous right#EB0630
Split-complement 1#30EB06
Split-complement 2#06EBC2
Triadic 1#A2EB06
Triadic 2#06A2EB
Tetradic#EBC206

RGB percentages

Red92.2%
Green2.4%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta97.4%
Yellow31.1%
Key (black)7.8%

Color previews

#eb06a2 text on a black background

contrast 5.08:1

Card sample

#eb06a2 text on a white background

contrast 4.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb06a2

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.

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

#eb06a2, answered

What color is #eb06a2?

#eb06a2 is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 6.3). It sits at 319° on the hue wheel with 95% saturation and 47% lightness, which reads as warm.

What is the RGB value of #eb06a2?

rgb(235, 6, 162) — 235 red, 6 green and 162 blue out of 255, or 92.2% / 2.4% / 63.5% by channel.

Is #eb06a2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2040 and perceived brightness is 55%, so black text on it reaches 5.08:1.

Should I use black or white text on #eb06a2?

Black. It scores 5.08:1 against #eb06a2, versus 4.13:1 for white — AA at any size.

What is the complementary color of #eb06a2?

#06EB4F sits directly opposite on the wheel. Softer options are the split-complements #30EB06 and #06EBC2, which give the same contrast with far less vibration.

What colors go well with #eb06a2?

For interface work: #FAF4F8 as the surface, #EDC0DE for borders, #9B4B81 for secondary text, #01CB0F as an accent and #7C0356 for hover and pressed states. For a palette, the analogous pair #C206EB and #EB0630 stays calm, while #06EB4F is the loudest partner.

What is #eb06a2 in CMYK for printing?

cmyk(0%, 97%, 31%, 8%). 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 #eb06a2 warm or cool?

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

Work with #eb06a2 in the Color Lab