Skip to content

#2d1f13

a deep, soft orange · warm · closest name: black

RGB
45, 31, 19
HSL
28°, 41%, 13%
CMYK
0, 31, 58, 82
Luminance
0.0158

Every format

HEX#2d1f13
RGBrgb(45, 31, 19)
HSLhsl(28, 41%, 13%)
CMYKcmyk(0%, 31%, 58%, 82%)
LABlab(13.1 4.9 10.7)
LCHlch(13.1 11.8 65.5)
OKLCHoklch(0.253 0.030 61.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d1f13 on white: 15.95:1
AA ✓ pass · AA-large · AAA
Aa
#2d1f13 on black: 1.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green12.2%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta31.1%
Yellow57.8%
Key (black)82.4%

Color previews

#2d1f13 text on a black background

contrast 1.32:1

Card sample

#2d1f13 text on a white background

contrast 15.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d1f13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d1f13 in the Color Lab