Skip to content

#0f080b

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

RGB
15, 8, 11
HSL
334°, 30%, 5%
CMYK
0, 47, 27, 94
Luminance
0.0030

Every format

HEX#0f080b
RGBrgb(15, 8, 11)
HSLhsl(334, 30%, 5%)
CMYKcmyk(0%, 47%, 27%, 94%)
LABlab(2.7 2.4 -0.4)
LCHlch(2.7 2.5 350.0)
OKLCHoklch(0.146 0.014 350.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red5.9%
Green3.1%
Blue4.3%

CMYK percentages

Cyan0.0%
Magenta46.7%
Yellow26.7%
Key (black)94.1%

Color previews

#0f080b text on a black background

contrast 1.06:1

Card sample

#0f080b text on a white background

contrast 19.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f080b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f080b in the Color Lab