Skip to content

#ac2239

a dark, vivid red · warm · closest name: firebrick

RGB
172, 34, 57
HSL
350°, 67%, 40%
CMYK
0, 80, 67, 33
Luminance
0.1021

Every format

HEX#ac2239
RGBrgb(172, 34, 57)
HSLhsl(350, 67%, 40%)
CMYKcmyk(0%, 80%, 67%, 33%)
LABlab(38.2 55.1 22.5)
LCHlch(38.2 59.5 22.2)
OKLCHoklch(0.489 0.172 18.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2239 on white: 6.90:1
AA ✓ pass · AA-large · AAA
Aa
#ac2239 on black: 3.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green13.3%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta80.2%
Yellow66.9%
Key (black)32.5%

Color previews

#ac2239 text on a black background

contrast 3.04:1

Card sample

#ac2239 text on a white background

contrast 6.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2239

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2239 in the Color Lab