Skip to content

#2f032d

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

RGB
47, 3, 45
HSL
303°, 88%, 10%
CMYK
0, 94, 4, 82
Luminance
0.0086

Every format

HEX#2f032d
RGBrgb(47, 3, 45)
HSLhsl(303, 88%, 10%)
CMYKcmyk(0%, 94%, 4%, 82%)
LABlab(7.8 27.8 -16.3)
LCHlch(7.8 32.2 329.6)
OKLCHoklch(0.217 0.091 330.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f032d on white: 17.92:1
AA ✓ pass · AA-large · AAA
Aa
#2f032d on black: 1.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green1.2%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta93.6%
Yellow4.3%
Key (black)81.6%

Color previews

#2f032d text on a black background

contrast 1.17:1

Card sample

#2f032d text on a white background

contrast 17.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2f032d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2f032d in the Color Lab