Skip to content

#0f0f0d

a deep, muted near-black · cool · closest name: black

RGB
15, 15, 13
HSL
60°, 7%, 6%
CMYK
0, 0, 13, 94
Luminance
0.0047

Every format

HEX#0f0f0d
RGBrgb(15, 15, 13)
HSLhsl(60, 7%, 6%)
CMYKcmyk(0%, 0%, 13%, 94%)
LABlab(4.3 -0.3 0.9)
LCHlch(4.3 1.0 109.9)
OKLCHoklch(0.168 0.004 106.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f0f0d on white: 19.19:1
AA ✓ pass · AA-large · AAA
Aa
#0f0f0d on black: 1.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green5.9%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow13.3%
Key (black)94.1%

Color previews

#0f0f0d text on a black background

contrast 1.09:1

Card sample

#0f0f0d text on a white background

contrast 19.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0f0f0d;
Background color
Panel with #0f0f0d background
background-color: #0f0f0d;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f0f0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f0f0d in the Color Lab