Skip to content

#1f1713

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

RGB
31, 23, 19
HSL
20°, 24%, 10%
CMYK
0, 26, 39, 88
Luminance
0.0095

Every format

HEX#1f1713
RGBrgb(31, 23, 19)
HSLhsl(20, 24%, 10%)
CMYKcmyk(0%, 26%, 39%, 88%)
LABlab(8.6 3.2 4.1)
LCHlch(8.6 5.2 51.9)
OKLCHoklch(0.213 0.015 48.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1f1713 on white: 17.64:1
AA ✓ pass · AA-large · AAA
Aa
#1f1713 on black: 1.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green9.0%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta25.8%
Yellow38.7%
Key (black)87.8%

Color previews

#1f1713 text on a black background

contrast 1.19:1

Card sample

#1f1713 text on a white background

contrast 17.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1f1713;
Background color
Panel with #1f1713 background
background-color: #1f1713;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(31, 23, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 23, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1f1713;
background: linear-gradient(135deg, #1f1713, #1F1F13);

Monochromatic scale

Palettes built from #1f1713

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1f1713 in the Color Lab