Skip to content

#ac393d

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

RGB
172, 57, 61
HSL
358°, 50%, 45%
CMYK
0, 67, 65, 33
Luminance
0.1203

Every format

HEX#ac393d
RGBrgb(172, 57, 61)
HSLhsl(358, 50%, 45%)
CMYKcmyk(0%, 67%, 65%, 33%)
LABlab(41.3 47.1 23.8)
LCHlch(41.3 52.8 26.8)
OKLCHoklch(0.512 0.150 22.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac393d on white: 6.16:1
AA ✓ pass · AA-large · AAA
Aa
#ac393d on black: 3.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green22.4%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta66.9%
Yellow64.5%
Key (black)32.5%

Color previews

#ac393d text on a black background

contrast 3.41:1

Card sample

#ac393d text on a white background

contrast 6.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac393d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac393d in the Color Lab