Skip to content

#e5104f

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

RGB
229, 16, 79
HSL
342°, 87%, 48%
CMYK
0, 93, 66, 10
Luminance
0.1759

At a glance

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

Hex
#e5104f
Hue
342°
magenta / pink
Saturation
87%
electric
Lightness
48%
balanced
Brightness
90%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1759
WCAG relative
Temperature
Warm
27/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.65:1
Closest name
Crimson
ΔE2000 4.9
Where it sits
Hue342° of 360°
Saturation87%
Lightness48%
Temperature
Warm ← → Cool27% 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#e5104f
RGBrgb(229, 16, 79)
HSLhsl(342, 87%, 48%)
CMYKcmyk(0%, 93%, 66%, 10%)
LABlab(49.0 74.4 24.9)
LCHlch(49.0 78.5 18.5)
OKLCHoklch(0.590 0.231 14.9)
Decimal15011919
Display P3color(display-p3 0.898 0.063 0.310)

Copy-ready code

/* CSS */
color: #e5104f;
background-color: #e5104f;
/* Tailwind (arbitrary) */
class="text-[#e5104f] bg-[#e5104f]"
/* SCSS */
$brand: #e5104f;
/* SwiftUI */
Color(red: 0.898, green: 0.063, blue: 0.310)
/* Android */
Color.parseColor("#e5104f")
/* Flutter */
Color(0xFFE5104F)
/* Python / OpenCV (BGR) */
(79, 16, 229)

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

Accessibility — WCAG contrast

Aa
#e5104f on white: 4.65:1
AA ✓ pass · AA-large · AAA
Aa
#e5104f on black: 4.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5D5A4F
deuteranopia · #8F8349
tritanopia · #FC0031

Color scale — 50 to 950

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

#FDF2F5
#FAE5EB
#F7C4D3
#F896B3
#F4628D
#F02D67
#e5104f
#BF0D42
#990B35
#6E0C29
#45081A
Base = 600Lightest = 50 · #FDF2F5Darkest = 950 · #45081A
:root {
  --brand-50: #FDF2F5;
  --brand-100: #FAE5EB;
  --brand-200: #F7C4D3;
  --brand-300: #F896B3;
  --brand-400: #F4628D;
  --brand-500: #F02D67;
  --brand-600: #e5104f;
  --brand-700: #BF0D42;
  --brand-800: #990B35;
  --brand-900: #6E0C29;
  --brand-950: #45081A;
  --brand: #e5104f;
  --brand-ink: #ffffff;
}

Colors that work with #e5104f

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4F6
Tinted page background
Border#EDC0CD
Hairlines and dividers
Muted text#9B4B62
Captions on the surface
Accent#09C35D
Second voice, not a rival
Dark variant#770829
Hover, pressed, headers
Light variant#FDE7EE
Selected rows, tints
Dark surface#241419
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 #e5104f

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

Works well for
  • Body text and links 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
  • 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#10E5A6
Analogous left#E510B9
Analogous right#E53C10
Split-complement 1#10E53C
Split-complement 2#10B9E5
Triadic 1#4FE510
Triadic 2#104FE5
Tetradic#B9E510

RGB percentages

Red89.8%
Green6.3%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta93.0%
Yellow65.5%
Key (black)10.2%

Color previews

#e5104f text on a black background

contrast 4.52:1

Card sample

#e5104f text on a white background

contrast 4.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(229, 16, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(229, 16, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e5104f;
background: linear-gradient(135deg, #e5104f, #E55F10);

Monochromatic scale

Palettes built from #e5104f

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.

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

#e5104f, answered

What color is #e5104f?

#e5104f is a balanced electric magenta / pink, closest to Crimson (ΔE2000 4.9). It sits at 342° on the hue wheel with 87% saturation and 48% lightness, which reads as warm.

What is the RGB value of #e5104f?

rgb(229, 16, 79) — 229 red, 16 green and 79 blue out of 255, or 89.8% / 6.3% / 31% by channel.

Is #e5104f a light or a dark color?

It is a dark color. Relative luminance is 0.1759 and perceived brightness is 50%, so white text on it reaches 4.65:1.

Should I use black or white text on #e5104f?

White. It scores 4.65:1 against #e5104f, versus 4.52:1 for black — AA at any size.

What is the complementary color of #e5104f?

#10E5A6 sits directly opposite on the wheel. Softer options are the split-complements #10E53C and #10B9E5, which give the same contrast with far less vibration.

What colors go well with #e5104f?

For interface work: #FAF4F6 as the surface, #EDC0CD for borders, #9B4B62 for secondary text, #09C35D as an accent and #770829 for hover and pressed states. For a palette, the analogous pair #E510B9 and #E53C10 stays calm, while #10E5A6 is the loudest partner.

What is #e5104f in CMYK for printing?

cmyk(0%, 93%, 66%, 10%). 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 #e5104f warm or cool?

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

Work with #e5104f in the Color Lab