Skip to content

#0f0f0f

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

RGB
15, 15, 15
HSL
0°, 0%, 6%
CMYK
0, 0, 0, 94
Luminance
0.0048

Every format

HEX#0f0f0f
RGBrgb(15, 15, 15)
HSLhsl(0, 0%, 6%)
CMYKcmyk(0%, 0%, 0%, 94%)
LABlab(4.3 0.0 0.0)
LCHlch(4.3 0.0 180.0)
OKLCHoklch(0.168 0.000 89.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f0f0f on white: 19.17:1
AA ✓ pass · AA-large · AAA
Aa
#0f0f0f on black: 1.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow0.0%
Key (black)94.1%

Color previews

#0f0f0f text on a black background

contrast 1.10:1

Card sample

#0f0f0f text on a white background

contrast 19.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f0f0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f0f0f in the Color Lab