Skip to content

#2b0f13

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

RGB
43, 15, 19
HSL
351°, 48%, 11%
CMYK
0, 65, 56, 83
Luminance
0.0090

Every format

HEX#2b0f13
RGBrgb(43, 15, 19)
HSLhsl(351, 48%, 11%)
CMYKcmyk(0%, 65%, 56%, 83%)
LABlab(8.2 15.0 3.7)
LCHlch(8.2 15.5 13.9)
OKLCHoklch(0.214 0.047 13.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2b0f13 on white: 17.79:1
AA ✓ pass · AA-large · AAA
Aa
#2b0f13 on black: 1.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.9%
Green5.9%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta65.1%
Yellow55.8%
Key (black)83.1%

Color previews

#2b0f13 text on a black background

contrast 1.18:1

Card sample

#2b0f13 text on a white background

contrast 17.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2b0f13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2b0f13 in the Color Lab