Skip to content

#2d0f1e

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

RGB
45, 15, 30
HSL
330°, 50%, 12%
CMYK
0, 67, 33, 82
Luminance
0.0099

Every format

HEX#2d0f1e
RGBrgb(45, 15, 30)
HSLhsl(330, 50%, 12%)
CMYKcmyk(0%, 67%, 33%, 82%)
LABlab(8.9 17.6 -3.2)
LCHlch(8.9 17.9 349.7)
OKLCHoklch(0.222 0.054 351.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d0f1e on white: 17.52:1
AA ✓ pass · AA-large · AAA
Aa
#2d0f1e on black: 1.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green5.9%
Blue11.8%

CMYK percentages

Cyan0.0%
Magenta66.7%
Yellow33.3%
Key (black)82.4%

Color previews

#2d0f1e text on a black background

contrast 1.20:1

Card sample

#2d0f1e text on a white background

contrast 17.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2d0f1e;
Background color
Panel with #2d0f1e background
background-color: #2d0f1e;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d0f1e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2d0f1e in the Color Lab