Skip to content

#2b080f

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

RGB
43, 8, 15
HSL
348°, 69%, 10%
CMYK
0, 81, 65, 83
Luminance
0.0072

Every format

HEX#2b080f
RGBrgb(43, 8, 15)
HSLhsl(348, 69%, 10%)
CMYKcmyk(0%, 81%, 65%, 83%)
LABlab(6.5 18.4 3.7)
LCHlch(6.5 18.7 11.3)
OKLCHoklch(0.201 0.058 12.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2b080f on white: 18.35:1
AA ✓ pass · AA-large · AAA
Aa
#2b080f on black: 1.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.9%
Green3.1%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow65.1%
Key (black)83.1%

Color previews

#2b080f text on a black background

contrast 1.14:1

Card sample

#2b080f text on a white background

contrast 18.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2b080f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2b080f in the Color Lab