Skip to content

#eb045a

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

RGB
235, 4, 90
HSL
338°, 97%, 47%
CMYK
0, 98, 62, 8
Luminance
0.1849

At a glance

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

Hex
#eb045a
Hue
338°
magenta / pink
Saturation
97%
electric
Lightness
47%
balanced
Brightness
92%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1849
WCAG relative
Temperature
Warm
29/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.70:1
Closest name
Crimson
ΔE2000 7.7
Where it sits
Hue338° of 360°
Saturation97%
Lightness47%
Temperature
Warm ← → Cool29% 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#eb045a
RGBrgb(235, 4, 90)
HSLhsl(338, 97%, 47%)
CMYKcmyk(0%, 98%, 62%, 8%)
LABlab(50.1 77.4 19.9)
LCHlch(50.1 79.9 14.4)
OKLCHoklch(0.601 0.239 11.7)
Decimal15402074
Display P3color(display-p3 0.922 0.016 0.353)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eb045a on white: 4.47:1
AA ✗ fail · AA-large · AAA
Aa
#eb045a on black: 4.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5C5C5B
deuteranopia · #918654
tritanopia · #FF0035

Color scale — 50 to 950

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

#FDF1F6
#FCE4ED
#FBC1D6
#FD91B9
#FC5996
#FB2273
#eb045a
#C9034D
#A1033D
#74072F
#48041E
Base = 600Lightest = 50 · #FDF1F6Darkest = 950 · #48041E
:root {
  --brand-50: #FDF1F6;
  --brand-100: #FCE4ED;
  --brand-200: #FBC1D6;
  --brand-300: #FD91B9;
  --brand-400: #FC5996;
  --brand-500: #FB2273;
  --brand-600: #eb045a;
  --brand-700: #C9034D;
  --brand-800: #A1033D;
  --brand-900: #74072F;
  --brand-950: #48041E;
  --brand: #eb045a;
  --brand-ink: #000000;
}

Colors that work with #eb045a

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#FAF4F7
Tinted page background
Border#EDC0D0
Hairlines and dividers
Muted text#9B4B68
Captions on the surface
Accent#00CC4D
Second voice, not a rival
Dark variant#7D0230
Hover, pressed, headers
Light variant#FFE6EF
Selected rows, tints
Dark surface#24141A
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 #eb045a

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#04EB95
Analogous left#EB04CE
Analogous right#EB2204
Split-complement 1#04EB22
Split-complement 2#04CEEB
Triadic 1#5AEB04
Triadic 2#045AEB
Tetradic#CEEB04

RGB percentages

Red92.2%
Green1.6%
Blue35.3%

CMYK percentages

Cyan0.0%
Magenta98.3%
Yellow61.7%
Key (black)7.8%

Color previews

#eb045a text on a black background

contrast 4.70:1

Card sample

#eb045a text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb045a

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.

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

#eb045a, answered

What color is #eb045a?

#eb045a is a balanced electric magenta / pink, closest to Crimson (ΔE2000 7.7). It sits at 338° on the hue wheel with 97% saturation and 47% lightness, which reads as warm.

What is the RGB value of #eb045a?

rgb(235, 4, 90) — 235 red, 4 green and 90 blue out of 255, or 92.2% / 1.6% / 35.3% by channel.

Is #eb045a a light or a dark color?

It is a mid-tone. Relative luminance is 0.1849 and perceived brightness is 52%, so black text on it reaches 4.70:1.

Should I use black or white text on #eb045a?

Black. It scores 4.70:1 against #eb045a, versus 4.47:1 for white — AA at any size.

What is the complementary color of #eb045a?

#04EB95 sits directly opposite on the wheel. Softer options are the split-complements #04EB22 and #04CEEB, which give the same contrast with far less vibration.

What colors go well with #eb045a?

For interface work: #FAF4F7 as the surface, #EDC0D0 for borders, #9B4B68 for secondary text, #00CC4D as an accent and #7D0230 for hover and pressed states. For a palette, the analogous pair #EB04CE and #EB2204 stays calm, while #04EB95 is the loudest partner.

What is #eb045a in CMYK for printing?

cmyk(0%, 98%, 62%, 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 #eb045a warm or cool?

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

Work with #eb045a in the Color Lab