Skip to content

#ac2021

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

RGB
172, 32, 33
HSL
360°, 69%, 40%
CMYK
0, 81, 81, 33
Luminance
0.0991

At a glance

Every number on this page in one read: what #ac2021 is made of, how bright it looks, and which way it leans.

Hex
#ac2021
Hue
360°
red
Saturation
69%
vivid
Lightness
40%
dark
Brightness
67%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0991
WCAG relative
Temperature
Warm
17/100 cool
Color family
Red
Tone
Vivid
Best ink
White
7.04:1
Closest name
Firebrick
ΔE2000 1.3
Where it sits
Hue360° of 360°
Saturation69%
Lightness40%
Temperature
Warm ← → Cool17% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ac2021
RGBrgb(172, 32, 33)
HSLhsl(360, 69%, 40%)
CMYKcmyk(0%, 81%, 81%, 33%)
LABlab(37.7 54.7 36.4)
LCHlch(37.7 65.7 33.6)
OKLCHoklch(0.484 0.175 26.6)
Decimal11280417
Display P3color(display-p3 0.675 0.125 0.129)

Copy-ready code

/* CSS */
color: #ac2021;
background-color: #ac2021;
/* Tailwind (arbitrary) */
class="text-[#ac2021] bg-[#ac2021]"
/* SCSS */
$brand: #ac2021;
/* SwiftUI */
Color(red: 0.675, green: 0.125, blue: 0.129)
/* Android */
Color.parseColor("#ac2021")
/* Flutter */
Color(0xFFAC2021)
/* Python / OpenCV (BGR) */
(33, 32, 172)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #ac2021 · 7.04:1
Use #ffffffAAA at every size.
Aa
White text · 7.04:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.98:1
AA fail · AA large fail · AAA fail
Reading the other direction: #ac2021 as text scores 7.04:1 on white and 2.98:1 on black.

Accessibility — WCAG contrast

Aa
#ac2021 on white: 7.04:1
AA ✓ pass · AA-large · AAA
Aa
#ac2021 on black: 2.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4D451F
deuteranopia · #70631A
tritanopia · #BE0023

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ac2021 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF3F3
#F8E8E8
#F2CACA
#EDA0A1
#E57172
#DC4243
#CE2628
#ac2021
#8A1A1A
#641717
#3E0E0E
Base = 700Lightest = 50 · #FBF3F3Darkest = 950 · #3E0E0E
:root {
  --brand-50: #FBF3F3;
  --brand-100: #F8E8E8;
  --brand-200: #F2CACA;
  --brand-300: #EDA0A1;
  --brand-400: #E57172;
  --brand-500: #DC4243;
  --brand-600: #CE2628;
  --brand-700: #ac2021;
  --brand-800: #8A1A1A;
  --brand-900: #641717;
  --brand-950: #3E0E0E;
  --brand: #ac2021;
  --brand-ink: #ffffff;
}

Colors that work with #ac2021

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4F4
Tinted page background
Border#EDC0C0
Hairlines and dividers
Muted text#9B4B4B
Captions on the surface
Accent#1CB08A
Second voice, not a rival
Dark variant#6B1415
Hover, pressed, headers
Light variant#FBEAEA
Selected rows, tints
Dark surface#241414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ac2021

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#20ACAB
Analogous left#AC2067
Analogous right#AC6520
Split-complement 1#20AC65
Split-complement 2#2067AC
Triadic 1#21AC20
Triadic 2#2021AC
Tetradic#67AC20

RGB percentages

Red67.5%
Green12.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow80.8%
Key (black)32.5%

Color previews

#ac2021 text on a black background

contrast 2.98:1

Card sample

#ac2021 text on a white background

contrast 7.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2021

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ac2021 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#ac2021, answered

What color is #ac2021?

#ac2021 is a dark vivid red, closest to Firebrick (ΔE2000 1.3). It sits at 360° on the hue wheel with 69% saturation and 40% lightness, which reads as warm.

What is the RGB value of #ac2021?

rgb(172, 32, 33) — 172 red, 32 green and 33 blue out of 255, or 67.5% / 12.5% / 12.9% by channel.

Is #ac2021 a light or a dark color?

It is a dark color. Relative luminance is 0.0991 and perceived brightness is 38%, so white text on it reaches 7.04:1.

Should I use black or white text on #ac2021?

White. It scores 7.04:1 against #ac2021, versus 2.98:1 for black — AAA at any size.

What is the complementary color of #ac2021?

#20ACAB sits directly opposite on the wheel. Softer options are the split-complements #20AC65 and #2067AC, which give the same contrast with far less vibration.

What colors go well with #ac2021?

For interface work: #FAF4F4 as the surface, #EDC0C0 for borders, #9B4B4B for secondary text, #1CB08A as an accent and #6B1415 for hover and pressed states. For a palette, the analogous pair #AC2067 and #AC6520 stays calm, while #20ACAB is the loudest partner.

What is #ac2021 in CMYK for printing?

cmyk(0%, 81%, 81%, 33%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ac2021 warm or cool?

Warm — it scores 17 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AC4520; nudged cooler, #AE1E54.

Work with #ac2021 in the Color Lab