Skip to content

#2c0c0b

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

RGB
44, 12, 11
HSL
2°, 60%, 11%
CMYK
0, 73, 75, 83
Luminance
0.0082

Every format

HEX#2c0c0b
RGBrgb(44, 12, 11)
HSLhsl(2, 60%, 11%)
CMYKcmyk(0%, 73%, 75%, 83%)
LABlab(7.4 16.4 6.9)
LCHlch(7.4 17.8 22.9)
OKLCHoklch(0.208 0.053 24.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red17.3%
Green4.7%
Blue4.3%

CMYK percentages

Cyan0.0%
Magenta72.7%
Yellow75.0%
Key (black)82.7%

Color previews

#2c0c0b text on a black background

contrast 1.16:1

Card sample

#2c0c0b text on a white background

contrast 18.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2c0c0b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2c0c0b in the Color Lab