Skip to content

#eb62ab

a light, electric magenta / pink · warm · closest name: Hot Pink

RGB
235, 98, 171
HSL
328°, 77%, 65%
CMYK
0, 58, 27, 8
Luminance
0.2934

At a glance

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

Hex
#eb62ab
Hue
328°
magenta / pink
Saturation
77%
electric
Lightness
65%
light
Brightness
92%
HSV value
Perceived
63%
weighted brightness
Luminance
0.2934
WCAG relative
Temperature
Warm
34/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.87:1
Closest name
Hot Pink
ΔE2000 4
Where it sits
Hue328° of 360°
Saturation77%
Lightness65%
Temperature
Warm ← → Cool34% 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#eb62ab
RGBrgb(235, 98, 171)
HSLhsl(328, 77%, 65%)
CMYKcmyk(0%, 58%, 27%, 8%)
LABlab(61.1 60.3 -12.4)
LCHlch(61.1 61.5 348.4)
OKLCHoklch(0.689 0.185 350.0)
Decimal15426219
Display P3color(display-p3 0.922 0.384 0.671)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb62ab on white: 3.06:1
AA ✗ fail · AA-large · AAA
Aa
#eb62ab on black: 6.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7384AD
deuteranopia · #999CA8
tritanopia · #FB5D7F

Color scale — 50 to 950

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

#FCF3F8
#F9E6F0
#F4C7DF
#F29BCA
#eb62ab
#E63895
#D91C81
#B5176B
#911256
#691240
#410B28
Base = 400Lightest = 50 · #FCF3F8Darkest = 950 · #410B28
:root {
  --brand-50: #FCF3F8;
  --brand-100: #F9E6F0;
  --brand-200: #F4C7DF;
  --brand-300: #F29BCA;
  --brand-400: #eb62ab;
  --brand-500: #E63895;
  --brand-600: #D91C81;
  --brand-700: #B5176B;
  --brand-800: #911256;
  --brand-900: #691240;
  --brand-950: #410B28;
  --brand: #eb62ab;
  --brand-ink: #000000;
}

Colors that work with #eb62ab

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#EDC0D8
Hairlines and dividers
Muted text#9B4B75
Captions on the surface
Accent#12BA37
Second voice, not a rival
Dark variant#710E43
Hover, pressed, headers
Light variant#FCE8F3
Selected rows, tints
Dark surface#24141D
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 #eb62ab

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#62EBA2
Analogous left#E662EB
Analogous right#EB6267
Split-complement 1#67EB62
Split-complement 2#62EBE6
Triadic 1#ABEB62
Triadic 2#62ABEB
Tetradic#EBE662

RGB percentages

Red92.2%
Green38.4%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta58.3%
Yellow27.2%
Key (black)7.8%

Color previews

#eb62ab text on a black background

contrast 6.87:1

Card sample

#eb62ab text on a white background

contrast 3.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb62ab

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.

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

#eb62ab, answered

What color is #eb62ab?

#eb62ab is a light electric magenta / pink, closest to Hot Pink (ΔE2000 4). It sits at 328° on the hue wheel with 77% saturation and 65% lightness, which reads as warm.

What is the RGB value of #eb62ab?

rgb(235, 98, 171) — 235 red, 98 green and 171 blue out of 255, or 92.2% / 38.4% / 67.1% by channel.

Is #eb62ab a light or a dark color?

It is a mid-tone. Relative luminance is 0.2934 and perceived brightness is 63%, so black text on it reaches 6.87:1.

Should I use black or white text on #eb62ab?

Black. It scores 6.87:1 against #eb62ab, versus 3.06:1 for white — AA at any size.

What is the complementary color of #eb62ab?

#62EBA2 sits directly opposite on the wheel. Softer options are the split-complements #67EB62 and #62EBE6, which give the same contrast with far less vibration.

What colors go well with #eb62ab?

For interface work: #FAF4F8 as the surface, #EDC0D8 for borders, #9B4B75 for secondary text, #12BA37 as an accent and #710E43 for hover and pressed states. For a palette, the analogous pair #E662EB and #EB6267 stays calm, while #62EBA2 is the loudest partner.

What is #eb62ab in CMYK for printing?

cmyk(0%, 58%, 27%, 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 #eb62ab warm or cool?

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

Work with #eb62ab in the Color Lab