Skip to content

#2e080f

a deep, vivid red · warm · closest name: black

RGB
46, 8, 15
HSL
349°, 70%, 11%
CMYK
0, 83, 67, 82
Luminance
0.0079

Every format

HEX#2e080f
RGBrgb(46, 8, 15)
HSLhsl(349, 70%, 11%)
CMYKcmyk(0%, 83%, 67%, 82%)
LABlab(7.1 19.9 4.6)
LCHlch(7.1 20.4 13.1)
OKLCHoklch(0.207 0.062 13.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2e080f on white: 18.14:1
AA ✓ pass · AA-large · AAA
Aa
#2e080f on black: 1.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green3.1%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta82.6%
Yellow67.4%
Key (black)82.0%

Color previews

#2e080f text on a black background

contrast 1.16:1

Card sample

#2e080f text on a white background

contrast 18.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2e080f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2e080f in the Color Lab