Skip to content

#eb2fac

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

RGB
235, 47, 172
HSL
320°, 83%, 55%
CMYK
0, 80, 27, 8
Luminance
0.2267

Every format

HEX#eb2fac
RGBrgb(235, 47, 172)
HSLhsl(320, 83%, 55%)
CMYKcmyk(0%, 80%, 27%, 8%)
LABlab(54.7 78.1 -22.6)
LCHlch(54.7 81.3 343.8)
OKLCHoklch(0.642 0.245 345.8)

Copy-ready code

/* CSS */
color: #eb2fac;
background-color: #eb2fac;
/* Tailwind (arbitrary) */
class="text-[#eb2fac] bg-[#eb2fac]"
/* SCSS */
$brand: #eb2fac;
/* SwiftUI */
Color(red: 0.922, green: 0.184, blue: 0.675)
/* Android */
Color.parseColor("#eb2fac")

Accessibility — WCAG contrast

Aa
#eb2fac on white: 3.79:1
AA ✗ fail · AA-large · AAA
Aa
#eb2fac on black: 5.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green18.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta80.0%
Yellow26.8%
Key (black)7.8%

Color previews

#eb2fac text on a black background

contrast 5.53:1

Card sample

#eb2fac text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eb2fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eb2fac in the Color Lab