Skip to content

#2d080f

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

RGB
45, 8, 15
HSL
349°, 70%, 10%
CMYK
0, 82, 67, 82
Luminance
0.0077

Every format

HEX#2d080f
RGBrgb(45, 8, 15)
HSLhsl(349, 70%, 10%)
CMYKcmyk(0%, 82%, 67%, 82%)
LABlab(6.9 19.4 4.3)
LCHlch(6.9 19.9 12.5)
OKLCHoklch(0.205 0.061 13.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d080f on white: 18.21:1
AA ✓ pass · AA-large · AAA
Aa
#2d080f on black: 1.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green3.1%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta82.2%
Yellow66.7%
Key (black)82.4%

Color previews

#2d080f text on a black background

contrast 1.15:1

Card sample

#2d080f text on a white background

contrast 18.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d080f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d080f in the Color Lab