Skip to content

#0f080d

a deep, soft magenta / pink · warm · closest name: black

RGB
15, 8, 13
HSL
317°, 30%, 5%
CMYK
0, 47, 13, 94
Luminance
0.0030

Every format

HEX#0f080d
RGBrgb(15, 8, 13)
HSLhsl(317, 30%, 5%)
CMYKcmyk(0%, 47%, 13%, 94%)
LABlab(2.8 2.8 -1.3)
LCHlch(2.8 3.0 335.0)
OKLCHoklch(0.147 0.016 337.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f080d on white: 19.80:1
AA ✓ pass · AA-large · AAA
Aa
#0f080d on black: 1.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green3.1%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta46.7%
Yellow13.3%
Key (black)94.1%

Color previews

#0f080d text on a black background

contrast 1.06:1

Card sample

#0f080d text on a white background

contrast 19.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f080d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f080d in the Color Lab