Skip to content

#ac2f28

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

RGB
172, 47, 40
HSL
3°, 62%, 42%
CMYK
0, 73, 77, 33
Luminance
0.1096

At a glance

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

Hex
#ac2f28
Hue
red
Saturation
62%
vivid
Lightness
42%
dark
Brightness
67%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1096
WCAG relative
Temperature
Warm
15/100 cool
Color family
Red
Tone
Vivid
Best ink
White
6.58:1
Closest name
Firebrick
ΔE2000 1.8
Where it sits
Hue3° of 360°
Saturation62%
Lightness42%
Temperature
Warm ← → Cool15% 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#ac2f28
RGBrgb(172, 47, 40)
HSLhsl(3, 62%, 42%)
CMYKcmyk(0%, 73%, 77%, 33%)
LABlab(39.5 50.0 34.3)
LCHlch(39.5 60.7 34.4)
OKLCHoklch(0.498 0.163 27.9)
Decimal11284264
Display P3color(display-p3 0.675 0.184 0.157)

Copy-ready code

/* CSS */
color: #ac2f28;
background-color: #ac2f28;
/* Tailwind (arbitrary) */
class="text-[#ac2f28] bg-[#ac2f28]"
/* SCSS */
$brand: #ac2f28;
/* SwiftUI */
Color(red: 0.675, green: 0.184, blue: 0.157)
/* Android */
Color.parseColor("#ac2f28")
/* Flutter */
Color(0xFFAC2F28)
/* Python / OpenCV (BGR) */
(40, 47, 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 #ac2f28 · 6.58:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.58:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.19:1
AA fail · AA large pass · AAA fail
Reading the other direction: #ac2f28 as text scores 6.58:1 on white and 3.19:1 on black.

Accessibility — WCAG contrast

Aa
#ac2f28 on white: 6.58:1
AA ✓ pass · AA-large · AAA
Aa
#ac2f28 on black: 3.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #544C26
deuteranopia · #736723
tritanopia · #BE002F

Color scale — 50 to 950

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

#FBF4F4
#F7E9E8
#F0CECC
#EAA8A4
#DF7C76
#D55049
#C7362E
#ac2f28
#84241F
#601E1A
#3C1310
Base = 700Lightest = 50 · #FBF4F4Darkest = 950 · #3C1310
:root {
  --brand-50: #FBF4F4;
  --brand-100: #F7E9E8;
  --brand-200: #F0CECC;
  --brand-300: #EAA8A4;
  --brand-400: #DF7C76;
  --brand-500: #D55049;
  --brand-600: #C7362E;
  --brand-700: #ac2f28;
  --brand-800: #84241F;
  --brand-900: #601E1A;
  --brand-950: #3C1310;
  --brand: #ac2f28;
  --brand-ink: #ffffff;
}

Colors that work with #ac2f28

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#FAF5F4
Tinted page background
Border#EDC2C0
Hairlines and dividers
Muted text#9B4F4B
Captions on the surface
Accent#23A98F
Second voice, not a rival
Dark variant#671C18
Hover, pressed, headers
Light variant#FAEBEA
Selected rows, tints
Dark surface#241514
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 #ac2f28

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
  • 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#28A5AC
Analogous left#AC2863
Analogous right#AC7128
Split-complement 1#28AC71
Split-complement 2#2863AC
Triadic 1#28AC2F
Triadic 2#2F28AC
Tetradic#63AC28

RGB percentages

Red67.5%
Green18.4%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta72.7%
Yellow76.7%
Key (black)32.5%

Color previews

#ac2f28 text on a black background

contrast 3.19:1

Card sample

#ac2f28 text on a white background

contrast 6.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2f28

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.

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

#ac2f28, answered

What color is #ac2f28?

#ac2f28 is a dark vivid red, closest to Firebrick (ΔE2000 1.8). It sits at 3° on the hue wheel with 62% saturation and 42% lightness, which reads as warm.

What is the RGB value of #ac2f28?

rgb(172, 47, 40) — 172 red, 47 green and 40 blue out of 255, or 67.5% / 18.4% / 15.7% by channel.

Is #ac2f28 a light or a dark color?

It is a dark color. Relative luminance is 0.1096 and perceived brightness is 40%, so white text on it reaches 6.58:1.

Should I use black or white text on #ac2f28?

White. It scores 6.58:1 against #ac2f28, versus 3.19:1 for black — AA at any size.

What is the complementary color of #ac2f28?

#28A5AC sits directly opposite on the wheel. Softer options are the split-complements #28AC71 and #2863AC, which give the same contrast with far less vibration.

What colors go well with #ac2f28?

For interface work: #FAF5F4 as the surface, #EDC2C0 for borders, #9B4F4B for secondary text, #23A98F as an accent and #671C18 for hover and pressed states. For a palette, the analogous pair #AC2863 and #AC7128 stays calm, while #28A5AC is the loudest partner.

What is #ac2f28 in CMYK for printing?

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

Is #ac2f28 warm or cool?

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

Work with #ac2f28 in the Color Lab