Skip to content

#ac0d2f

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

RGB
172, 13, 47
HSL
347°, 86%, 36%
CMYK
0, 92, 73, 33
Luminance
0.0926

At a glance

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

Hex
#ac0d2f
Hue
347°
red
Saturation
86%
electric
Lightness
36%
dark
Brightness
67%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0926
WCAG relative
Temperature
Warm
24/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.36:1
Closest name
Brown
ΔE2000 4.8
Where it sits
Hue347° of 360°
Saturation86%
Lightness36%
Temperature
Warm ← → Cool24% 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#ac0d2f
RGBrgb(172, 13, 47)
HSLhsl(347, 86%, 36%)
CMYKcmyk(0%, 92%, 73%, 33%)
LABlab(36.5 59.1 26.6)
LCHlch(36.5 64.8 24.2)
OKLCHoklch(0.476 0.185 19.3)
Decimal11275567
Display P3color(display-p3 0.675 0.051 0.184)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac0d2f on white: 7.36:1
AA ✓ pass · AA-large · AAA
Aa
#ac0d2f on black: 2.85:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #46412F
deuteranopia · #6C612A
tritanopia · #BE001F

Color scale — 50 to 950

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

#FDF2F4
#FAE5EA
#F7C5CF
#F797AB
#F36381
#EF2E58
#E4113E
#ac0d2f
#980C29
#6E0D21
#440815
Base = 700Lightest = 50 · #FDF2F4Darkest = 950 · #440815
:root {
  --brand-50: #FDF2F4;
  --brand-100: #FAE5EA;
  --brand-200: #F7C5CF;
  --brand-300: #F797AB;
  --brand-400: #F36381;
  --brand-500: #EF2E58;
  --brand-600: #E4113E;
  --brand-700: #ac0d2f;
  --brand-800: #980C29;
  --brand-900: #6E0D21;
  --brand-950: #440815;
  --brand: #ac0d2f;
  --brand-ink: #ffffff;
}

Colors that work with #ac0d2f

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#EDC0C9
Hairlines and dividers
Muted text#9B4B5C
Captions on the surface
Accent#0AC26D
Second voice, not a rival
Dark variant#770920
Hover, pressed, headers
Light variant#FDE7EC
Selected rows, tints
Dark surface#241417
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 #ac0d2f

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#0DAC8A
Analogous left#AC0D7E
Analogous right#AC3B0D
Split-complement 1#0DAC3B
Split-complement 2#0D7EAC
Triadic 1#2FAC0D
Triadic 2#0D2FAC
Tetradic#7EAC0D

RGB percentages

Red67.5%
Green5.1%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta92.4%
Yellow72.7%
Key (black)32.5%

Color previews

#ac0d2f text on a black background

contrast 2.85:1

Card sample

#ac0d2f text on a white background

contrast 7.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac0d2f

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.

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

#ac0d2f, answered

What color is #ac0d2f?

#ac0d2f is a dark electric red, closest to Brown (ΔE2000 4.8). It sits at 347° on the hue wheel with 86% saturation and 36% lightness, which reads as warm.

What is the RGB value of #ac0d2f?

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

Is #ac0d2f a light or a dark color?

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

Should I use black or white text on #ac0d2f?

White. It scores 7.36:1 against #ac0d2f, versus 2.85:1 for black — AAA at any size.

What is the complementary color of #ac0d2f?

#0DAC8A sits directly opposite on the wheel. Softer options are the split-complements #0DAC3B and #0D7EAC, which give the same contrast with far less vibration.

What colors go well with #ac0d2f?

For interface work: #FAF4F6 as the surface, #EDC0C9 for borders, #9B4B5C for secondary text, #0AC26D as an accent and #770920 for hover and pressed states. For a palette, the analogous pair #AC0D7E and #AC3B0D stays calm, while #0DAC8A is the loudest partner.

What is #ac0d2f in CMYK for printing?

cmyk(0%, 92%, 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 #ac0d2f warm or cool?

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

Work with #ac0d2f in the Color Lab