Skip to content

#271623

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

RGB
39, 22, 35
HSL
314°, 28%, 12%
CMYK
0, 44, 10, 85
Luminance
0.0113

Every format

HEX#271623
RGBrgb(39, 22, 35)
HSLhsl(314, 28%, 12%)
CMYKcmyk(0%, 44%, 10%, 85%)
LABlab(10.0 11.3 -5.5)
LCHlch(10.0 12.5 334.1)
OKLCHoklch(0.229 0.035 335.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#271623 on white: 17.14:1
AA ✓ pass · AA-large · AAA
Aa
#271623 on black: 1.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red15.3%
Green8.6%
Blue13.7%

CMYK percentages

Cyan0.0%
Magenta43.6%
Yellow10.3%
Key (black)84.7%

Color previews

#271623 text on a black background

contrast 1.23:1

Card sample

#271623 text on a white background

contrast 17.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #271623

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #271623 in the Color Lab