Skip to content

#ef1b79

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

RGB
239, 27, 121
HSL
333°, 87%, 52%
CMYK
0, 89, 49, 6
Luminance
0.2052

At a glance

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

Hex
#ef1b79
Hue
333°
magenta / pink
Saturation
87%
electric
Lightness
52%
balanced
Brightness
94%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2052
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.10:1
Closest name
Deep Pink
ΔE2000 5.3
Where it sits
Hue333° of 360°
Saturation87%
Lightness52%
Temperature
Warm ← → Cool31% 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#ef1b79
RGBrgb(239, 27, 121)
HSLhsl(333, 87%, 52%)
CMYKcmyk(0%, 89%, 49%, 6%)
LABlab(52.4 78.0 4.3)
LCHlch(52.4 78.2 3.2)
OKLCHoklch(0.621 0.240 2.8)
Decimal15670137
Display P3color(display-p3 0.937 0.106 0.475)

Copy-ready code

/* CSS */
color: #ef1b79;
background-color: #ef1b79;
/* Tailwind (arbitrary) */
class="text-[#ef1b79] bg-[#ef1b79]"
/* SCSS */
$brand: #ef1b79;
/* SwiftUI */
Color(red: 0.937, green: 0.106, blue: 0.475)
/* Android */
Color.parseColor("#ef1b79")
/* Flutter */
Color(0xFFEF1B79)
/* Python / OpenCV (BGR) */
(121, 27, 239)

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

Accessibility — WCAG contrast

Aa
#ef1b79 on white: 4.12:1
AA ✗ fail · AA-large · AAA
Aa
#ef1b79 on black: 5.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5B647B
deuteranopia · #918B74
tritanopia · #FF004B

Color scale — 50 to 950

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

#FDF2F7
#FAE5EF
#F7C4DB
#F896C1
#F462A3
#ef1b79
#E5106E
#BF0D5C
#990B4A
#6E0C38
#450823
Base = 500Lightest = 50 · #FDF2F7Darkest = 950 · #450823
:root {
  --brand-50: #FDF2F7;
  --brand-100: #FAE5EF;
  --brand-200: #F7C4DB;
  --brand-300: #F896C1;
  --brand-400: #F462A3;
  --brand-500: #ef1b79;
  --brand-600: #E5106E;
  --brand-700: #BF0D5C;
  --brand-800: #990B4A;
  --brand-900: #6E0C38;
  --brand-950: #450823;
  --brand: #ef1b79;
  --brand-ink: #000000;
}

Colors that work with #ef1b79

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#EDC0D4
Hairlines and dividers
Muted text#9B4B6E
Captions on the surface
Accent#09C342
Second voice, not a rival
Dark variant#770839
Hover, pressed, headers
Light variant#FDE7F1
Selected rows, tints
Dark surface#24141B
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 #ef1b79

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#1BEF91
Analogous left#EF1BE3
Analogous right#EF271B
Split-complement 1#1BEF27
Split-complement 2#1BE3EF
Triadic 1#79EF1B
Triadic 2#1B79EF
Tetradic#E3EF1B

RGB percentages

Red93.7%
Green10.6%
Blue47.5%

CMYK percentages

Cyan0.0%
Magenta88.7%
Yellow49.4%
Key (black)6.3%

Color previews

#ef1b79 text on a black background

contrast 5.10:1

Card sample

#ef1b79 text on a white background

contrast 4.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(239, 27, 121, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(239, 27, 121, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ef1b79;
background: linear-gradient(135deg, #ef1b79, #EF4A1B);

Monochromatic scale

Palettes built from #ef1b79

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.

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

#ef1b79, answered

What color is #ef1b79?

#ef1b79 is a balanced electric magenta / pink, closest to Deep Pink (ΔE2000 5.3). It sits at 333° on the hue wheel with 87% saturation and 52% lightness, which reads as warm.

What is the RGB value of #ef1b79?

rgb(239, 27, 121) — 239 red, 27 green and 121 blue out of 255, or 93.7% / 10.6% / 47.5% by channel.

Is #ef1b79 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2052 and perceived brightness is 54%, so black text on it reaches 5.10:1.

Should I use black or white text on #ef1b79?

Black. It scores 5.10:1 against #ef1b79, versus 4.12:1 for white — AA at any size.

What is the complementary color of #ef1b79?

#1BEF91 sits directly opposite on the wheel. Softer options are the split-complements #1BEF27 and #1BE3EF, which give the same contrast with far less vibration.

What colors go well with #ef1b79?

For interface work: #FAF4F7 as the surface, #EDC0D4 for borders, #9B4B6E for secondary text, #09C342 as an accent and #770839 for hover and pressed states. For a palette, the analogous pair #EF1BE3 and #EF271B stays calm, while #1BEF91 is the loudest partner.

What is #ef1b79 in CMYK for printing?

cmyk(0%, 89%, 49%, 6%). 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 #ef1b79 warm or cool?

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

Work with #ef1b79 in the Color Lab