Skip to content

#ac1e21

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

RGB
172, 30, 33
HSL
359°, 70%, 40%
CMYK
0, 83, 81, 33
Luminance
0.0981

At a glance

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

Hex
#ac1e21
Hue
359°
red
Saturation
70%
vivid
Lightness
40%
dark
Brightness
67%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0981
WCAG relative
Temperature
Warm
17/100 cool
Color family
Red
Tone
Vivid
Best ink
White
7.09:1
Closest name
Firebrick
ΔE2000 1.5
Where it sits
Hue359° of 360°
Saturation70%
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#ac1e21
RGBrgb(172, 30, 33)
HSLhsl(359, 70%, 40%)
CMYKcmyk(0%, 83%, 81%, 33%)
LABlab(37.5 55.2 36.2)
LCHlch(37.5 66.0 33.2)
OKLCHoklch(0.483 0.177 26.2)
Decimal11279905
Display P3color(display-p3 0.675 0.118 0.129)

Copy-ready code

/* CSS */
color: #ac1e21;
background-color: #ac1e21;
/* Tailwind (arbitrary) */
class="text-[#ac1e21] bg-[#ac1e21]"
/* SCSS */
$brand: #ac1e21;
/* SwiftUI */
Color(red: 0.675, green: 0.118, blue: 0.129)
/* Android */
Color.parseColor("#ac1e21")
/* Flutter */
Color(0xFFAC1E21)
/* Python / OpenCV (BGR) */
(33, 30, 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 #ac1e21 · 7.09:1
Use #ffffffAAA at every size.
Aa
White text · 7.09:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.96:1
AA fail · AA large fail · AAA fail
Reading the other direction: #ac1e21 as text scores 7.09:1 on white and 2.96:1 on black.

Accessibility — WCAG contrast

Aa
#ac1e21 on white: 7.09:1
AA ✓ pass · AA-large · AAA
Aa
#ac1e21 on black: 2.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4D451F
deuteranopia · #6F631A
tritanopia · #BE0021

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ac1e21 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.

#FCF3F3
#F8E7E8
#F2C9CA
#EE9FA1
#E67072
#DE4043
#D02428
#ac1e21
#8B181B
#651617
#3F0E0F
Base = 700Lightest = 50 · #FCF3F3Darkest = 950 · #3F0E0F
:root {
  --brand-50: #FCF3F3;
  --brand-100: #F8E7E8;
  --brand-200: #F2C9CA;
  --brand-300: #EE9FA1;
  --brand-400: #E67072;
  --brand-500: #DE4043;
  --brand-600: #D02428;
  --brand-700: #ac1e21;
  --brand-800: #8B181B;
  --brand-900: #651617;
  --brand-950: #3F0E0F;
  --brand: #ac1e21;
  --brand-ink: #ffffff;
}

Colors that work with #ac1e21

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#EDC0C1
Hairlines and dividers
Muted text#9B4B4C
Captions on the surface
Accent#1AB288
Second voice, not a rival
Dark variant#6D1315
Hover, pressed, headers
Light variant#FBE9EA
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 #ac1e21

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#1EACA9
Analogous left#AC1E68
Analogous right#AC621E
Split-complement 1#1EAC62
Split-complement 2#1E68AC
Triadic 1#21AC1E
Triadic 2#1E21AC
Tetradic#68AC1E

RGB percentages

Red67.5%
Green11.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta82.6%
Yellow80.8%
Key (black)32.5%

Color previews

#ac1e21 text on a black background

contrast 2.96:1

Card sample

#ac1e21 text on a white background

contrast 7.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac1e21

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.

#ac1e21 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.

#ac1e21, answered

What color is #ac1e21?

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

What is the RGB value of #ac1e21?

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

Is #ac1e21 a light or a dark color?

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

Should I use black or white text on #ac1e21?

White. It scores 7.09:1 against #ac1e21, versus 2.96:1 for black — AAA at any size.

What is the complementary color of #ac1e21?

#1EACA9 sits directly opposite on the wheel. Softer options are the split-complements #1EAC62 and #1E68AC, which give the same contrast with far less vibration.

What colors go well with #ac1e21?

For interface work: #FAF4F4 as the surface, #EDC0C1 for borders, #9B4B4C for secondary text, #1AB288 as an accent and #6D1315 for hover and pressed states. For a palette, the analogous pair #AC1E68 and #AC621E stays calm, while #1EACA9 is the loudest partner.

What is #ac1e21 in CMYK for printing?

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

Is #ac1e21 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 #AC421E; nudged cooler, #AE1C55.

Work with #ac1e21 in the Color Lab