Skip to content

#ac072f

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

RGB
172, 7, 47
HSL
346°, 92%, 35%
CMYK
0, 96, 73, 33
Luminance
0.0913

At a glance

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

Hex
#ac072f
Hue
346°
red
Saturation
92%
electric
Lightness
35%
dark
Brightness
67%
HSV value
Perceived
37%
weighted brightness
Luminance
0.0913
WCAG relative
Temperature
Warm
25/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.43:1
Closest name
Brown
ΔE2000 5.2
Where it sits
Hue346° of 360°
Saturation92%
Lightness35%
Temperature
Warm ← → Cool25% 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#ac072f
RGBrgb(172, 7, 47)
HSLhsl(346, 92%, 35%)
CMYKcmyk(0%, 96%, 73%, 33%)
LABlab(36.2 59.9 26.3)
LCHlch(36.2 65.4 23.7)
OKLCHoklch(0.474 0.187 18.8)
Decimal11274031
Display P3color(display-p3 0.675 0.027 0.184)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac072f on white: 7.43:1
AA ✓ pass · AA-large · AAA
Aa
#ac072f on black: 2.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #45402F
deuteranopia · #6B612A
tritanopia · #BE001D

Color scale — 50 to 950

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

#FDF2F4
#FBE4EA
#F9C3D0
#FB93AC
#F85D83
#F62759
#EB0A40
#C40835
#ac072f
#710922
#470615
Base = 800Lightest = 50 · #FDF2F4Darkest = 950 · #470615
:root {
  --brand-50: #FDF2F4;
  --brand-100: #FBE4EA;
  --brand-200: #F9C3D0;
  --brand-300: #FB93AC;
  --brand-400: #F85D83;
  --brand-500: #F62759;
  --brand-600: #EB0A40;
  --brand-700: #C40835;
  --brand-800: #ac072f;
  --brand-900: #710922;
  --brand-950: #470615;
  --brand: #ac072f;
  --brand-ink: #ffffff;
}

Colors that work with #ac072f

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#FAF4F6
Tinted page background
Border#EDC0CB
Hairlines and dividers
Muted text#9B4B5E
Captions on the surface
Accent#03C968
Second voice, not a rival
Dark variant#7B0521
Hover, pressed, headers
Light variant#FEE6EC
Selected rows, tints
Dark surface#241418
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 #ac072f

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#07AC84
Analogous left#AC0781
Analogous right#AC3207
Split-complement 1#07AC32
Split-complement 2#0781AC
Triadic 1#2FAC07
Triadic 2#072FAC
Tetradic#81AC07

RGB percentages

Red67.5%
Green2.7%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta95.9%
Yellow72.7%
Key (black)32.5%

Color previews

#ac072f text on a black background

contrast 2.83:1

Card sample

#ac072f text on a white background

contrast 7.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac072f

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.

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

#ac072f, answered

What color is #ac072f?

#ac072f is a dark electric red, closest to Brown (ΔE2000 5.2). It sits at 346° on the hue wheel with 92% saturation and 35% lightness, which reads as warm.

What is the RGB value of #ac072f?

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

Is #ac072f a light or a dark color?

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

Should I use black or white text on #ac072f?

White. It scores 7.43:1 against #ac072f, versus 2.83:1 for black — AAA at any size.

What is the complementary color of #ac072f?

#07AC84 sits directly opposite on the wheel. Softer options are the split-complements #07AC32 and #0781AC, which give the same contrast with far less vibration.

What colors go well with #ac072f?

For interface work: #FAF4F6 as the surface, #EDC0CB for borders, #9B4B5E for secondary text, #03C968 as an accent and #7B0521 for hover and pressed states. For a palette, the analogous pair #AC0781 and #AC3207 stays calm, while #07AC84 is the loudest partner.

What is #ac072f in CMYK for printing?

cmyk(0%, 96%, 73%, 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 #ac072f warm or cool?

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

Work with #ac072f in the Color Lab