Skip to content

#2f080e

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

RGB
47, 8, 14
HSL
351°, 71%, 11%
CMYK
0, 83, 70, 82
Luminance
0.0081

Every format

HEX#2f080e
RGBrgb(47, 8, 14)
HSLhsl(351, 71%, 11%)
CMYKcmyk(0%, 83%, 70%, 82%)
LABlab(7.3 20.3 5.4)
LCHlch(7.3 21.0 15.0)
OKLCHoklch(0.209 0.063 15.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red18.4%
Green3.1%
Blue5.5%

CMYK percentages

Cyan0.0%
Magenta83.0%
Yellow70.2%
Key (black)81.6%

Color previews

#2f080e text on a black background

contrast 1.16:1

Card sample

#2f080e text on a white background

contrast 18.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f080e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f080e in the Color Lab