Skip to content

#ac161f

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

RGB
172, 22, 31
HSL
356°, 77%, 38%
CMYK
0, 87, 82, 33
Luminance
0.0944

At a glance

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

Hex
#ac161f
Hue
356°
red
Saturation
77%
electric
Lightness
38%
dark
Brightness
67%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0944
WCAG relative
Temperature
Warm
19/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.27:1
Closest name
Firebrick
ΔE2000 2.1
Where it sits
Hue356° of 360°
Saturation77%
Lightness38%
Temperature
Warm ← → Cool19% 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#ac161f
RGBrgb(172, 22, 31)
HSLhsl(356, 77%, 38%)
CMYKcmyk(0%, 87%, 82%, 33%)
LABlab(36.8 57.0 36.6)
LCHlch(36.8 67.8 32.7)
OKLCHoklch(0.478 0.182 25.6)
Decimal11277855
Display P3color(display-p3 0.675 0.086 0.122)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac161f on white: 7.27:1
AA ✓ pass · AA-large · AAA
Aa
#ac161f on black: 2.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4A421D
deuteranopia · #6E6217
tritanopia · #BE001C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ac161f 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
#F9E6E8
#F4C7CA
#F29CA1
#EC6A72
#E63842
#D91C27
#ac161f
#91131A
#691217
#410B0E
Base = 700Lightest = 50 · #FCF3F3Darkest = 950 · #410B0E
:root {
  --brand-50: #FCF3F3;
  --brand-100: #F9E6E8;
  --brand-200: #F4C7CA;
  --brand-300: #F29CA1;
  --brand-400: #EC6A72;
  --brand-500: #E63842;
  --brand-600: #D91C27;
  --brand-700: #ac161f;
  --brand-800: #91131A;
  --brand-900: #691217;
  --brand-950: #410B0E;
  --brand: #ac161f;
  --brand-ink: #ffffff;
}

Colors that work with #ac161f

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#FAF4F5
Tinted page background
Border#EDC0C2
Hairlines and dividers
Muted text#9B4B4F
Captions on the surface
Accent#13B986
Second voice, not a rival
Dark variant#710E14
Hover, pressed, headers
Light variant#FCE8EA
Selected rows, tints
Dark surface#241415
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 #ac161f

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#16ACA3
Analogous left#AC166A
Analogous right#AC5816
Split-complement 1#16AC58
Split-complement 2#166AAC
Triadic 1#1FAC16
Triadic 2#161FAC
Tetradic#6AAC16

RGB percentages

Red67.5%
Green8.6%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta87.2%
Yellow82.0%
Key (black)32.5%

Color previews

#ac161f text on a black background

contrast 2.89:1

Card sample

#ac161f text on a white background

contrast 7.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac161f

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.

#ac161f 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ac161f, answered

What color is #ac161f?

#ac161f is a dark electric red, closest to Firebrick (ΔE2000 2.1). It sits at 356° on the hue wheel with 77% saturation and 38% lightness, which reads as warm.

What is the RGB value of #ac161f?

rgb(172, 22, 31) — 172 red, 22 green and 31 blue out of 255, or 67.5% / 8.6% / 12.2% by channel.

Is #ac161f a light or a dark color?

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

Should I use black or white text on #ac161f?

White. It scores 7.27:1 against #ac161f, versus 2.89:1 for black — AAA at any size.

What is the complementary color of #ac161f?

#16ACA3 sits directly opposite on the wheel. Softer options are the split-complements #16AC58 and #166AAC, which give the same contrast with far less vibration.

What colors go well with #ac161f?

For interface work: #FAF4F5 as the surface, #EDC0C2 for borders, #9B4B4F for secondary text, #13B986 as an accent and #710E14 for hover and pressed states. For a palette, the analogous pair #AC166A and #AC5816 stays calm, while #16ACA3 is the loudest partner.

What is #ac161f in CMYK for printing?

cmyk(0%, 87%, 82%, 33%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ac161f warm or cool?

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

Work with #ac161f in the Color Lab