Skip to content

#0f080f

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

RGB
15, 8, 15
HSL
300°, 30%, 5%
CMYK
0, 47, 0, 94
Luminance
0.0031

Every format

HEX#0f080f
RGBrgb(15, 8, 15)
HSLhsl(300, 30%, 5%)
CMYKcmyk(0%, 47%, 0%, 94%)
LABlab(2.8 3.1 -2.2)
LCHlch(2.8 3.8 324.4)
OKLCHoklch(0.148 0.019 326.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#0f080f text on a black background

contrast 1.06:1

Card sample

#0f080f text on a white background

contrast 19.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f080f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f080f in the Color Lab