Skip to content

#ac020e

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

RGB
172, 2, 14
HSL
356°, 98%, 34%
CMYK
0, 99, 92, 33
Luminance
0.0885

At a glance

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

Hex
#ac020e
Hue
356°
red
Saturation
98%
electric
Lightness
34%
dark
Brightness
67%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0885
WCAG relative
Temperature
Warm
19/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.58:1
Closest name
Firebrick
ΔE2000 3.8
Where it sits
Hue356° of 360°
Saturation98%
Lightness34%
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#ac020e
RGBrgb(172, 2, 14)
HSLhsl(356, 98%, 34%)
CMYKcmyk(0%, 99%, 92%, 33%)
LABlab(35.7 59.5 44.3)
LCHlch(35.7 74.2 36.7)
OKLCHoklch(0.469 0.190 27.5)
Decimal11272718
Display P3color(display-p3 0.675 0.008 0.055)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac020e on white: 7.58:1
AA ✓ pass · AA-large · AAA
Aa
#ac020e on black: 2.77:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #473E0A
deuteranopia · #6C6000
tritanopia · #BE000C

Color scale — 50 to 950

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

#FDF1F2
#FCE4E5
#FBC1C5
#FE9098
#FD5964
#FC2131
#F20314
#CA0210
#ac020e
#74060E
#490409
Base = 800Lightest = 50 · #FDF1F2Darkest = 950 · #490409
:root {
  --brand-50: #FDF1F2;
  --brand-100: #FCE4E5;
  --brand-200: #FBC1C5;
  --brand-300: #FE9098;
  --brand-400: #FD5964;
  --brand-500: #FC2131;
  --brand-600: #F20314;
  --brand-700: #CA0210;
  --brand-800: #ac020e;
  --brand-900: #74060E;
  --brand-950: #490409;
  --brand: #ac020e;
  --brand-ink: #ffffff;
}

Colors that work with #ac020e

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#EDC0C3
Hairlines and dividers
Muted text#9B4B50
Captions on the surface
Accent#00CC8A
Second voice, not a rival
Dark variant#7E010A
Hover, pressed, headers
Light variant#FFE6E8
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 #ac020e

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#02ACA0
Analogous left#AC0263
Analogous right#AC4B02
Split-complement 1#02AC4B
Split-complement 2#0263AC
Triadic 1#0EAC02
Triadic 2#020EAC
Tetradic#63AC02

RGB percentages

Red67.5%
Green0.8%
Blue5.5%

CMYK percentages

Cyan0.0%
Magenta98.8%
Yellow91.9%
Key (black)32.5%

Color previews

#ac020e text on a black background

contrast 2.77:1

Card sample

#ac020e text on a white background

contrast 7.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac020e

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.

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

#ac020e, answered

What color is #ac020e?

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

What is the RGB value of #ac020e?

rgb(172, 2, 14) — 172 red, 2 green and 14 blue out of 255, or 67.5% / 0.8% / 5.5% by channel.

Is #ac020e a light or a dark color?

It is a dark color. Relative luminance is 0.0885 and perceived brightness is 37%, so white text on it reaches 7.58:1.

Should I use black or white text on #ac020e?

White. It scores 7.58:1 against #ac020e, versus 2.77:1 for black — AAA at any size.

What is the complementary color of #ac020e?

#02ACA0 sits directly opposite on the wheel. Softer options are the split-complements #02AC4B and #0263AC, which give the same contrast with far less vibration.

What colors go well with #ac020e?

For interface work: #FAF4F5 as the surface, #EDC0C3 for borders, #9B4B50 for secondary text, #00CC8A as an accent and #7E010A for hover and pressed states. For a palette, the analogous pair #AC0263 and #AC4B02 stays calm, while #02ACA0 is the loudest partner.

What is #ac020e in CMYK for printing?

cmyk(0%, 99%, 92%, 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 #ac020e 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 #AC2802; nudged cooler, #AE004C.

Work with #ac020e in the Color Lab