Skip to content

#2e0a2e

a deep, vivid magenta / pink · warm · closest name: black

RGB
46, 10, 46
HSL
300°, 64%, 11%
CMYK
0, 78, 0, 82
Luminance
0.0100

Every format

HEX#2e0a2e
RGBrgb(46, 10, 46)
HSLhsl(300, 64%, 11%)
CMYKcmyk(0%, 78%, 0%, 82%)
LABlab(8.9 23.9 -15.2)
LCHlch(8.9 28.3 327.6)
OKLCHoklch(0.225 0.079 327.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2e0a2e on white: 17.51:1
AA ✓ pass · AA-large · AAA
Aa
#2e0a2e on black: 1.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green3.9%
Blue18.0%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow0.0%
Key (black)82.0%

Color previews

#2e0a2e text on a black background

contrast 1.20:1

Card sample

#2e0a2e text on a white background

contrast 17.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(46, 10, 46, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 10, 46, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2e0a2e;
background: linear-gradient(135deg, #2e0a2e, #2E0A16);

Monochromatic scale

Palettes built from #2e0a2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2e0a2e in the Color Lab