Skip to content

#a40921

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

RGB
164, 9, 33
HSL
351°, 90%, 34%
CMYK
0, 95, 80, 36
Luminance
0.0820

At a glance

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

Hex
#a40921
Hue
351°
red
Saturation
90%
electric
Lightness
34%
dark
Brightness
64%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0820
WCAG relative
Temperature
Warm
22/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.96:1
Closest name
Brown
ΔE2000 3.5
Where it sits
Hue351° of 360°
Saturation90%
Lightness34%
Temperature
Warm ← → Cool22% 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#a40921
RGBrgb(164, 9, 33)
HSLhsl(351, 90%, 34%)
CMYKcmyk(0%, 95%, 80%, 36%)
LABlab(34.4 57.0 32.5)
LCHlch(34.4 65.6 29.6)
OKLCHoklch(0.457 0.180 23.1)
Decimal10750241
Display P3color(display-p3 0.643 0.035 0.129)

Copy-ready code

/* CSS */
color: #a40921;
background-color: #a40921;
/* Tailwind (arbitrary) */
class="text-[#a40921] bg-[#a40921]"
/* SCSS */
$brand: #a40921;
/* SwiftUI */
Color(red: 0.643, green: 0.035, blue: 0.129)
/* Android */
Color.parseColor("#a40921")
/* Flutter */
Color(0xFFA40921)
/* Python / OpenCV (BGR) */
(33, 9, 164)

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 #a40921 · 7.96:1
Use #ffffffAAA at every size.
Aa
White text · 7.96:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.64:1
AA fail · AA large fail · AAA fail
Reading the other direction: #a40921 as text scores 7.96:1 on white and 2.64:1 on black.

Accessibility — WCAG contrast

Aa
#a40921 on white: 7.96:1
AA ✓ pass · AA-large · AAA
Aa
#a40921 on black: 2.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #433D20
deuteranopia · #675C1A
tritanopia · #B50016

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a40921 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
#FBE5E8
#F8C3CC
#F995A4
#F65F77
#F32A49
#E80D2F
#C10B27
#a40921
#700B1A
#460710
Base = 800Lightest = 50 · #FDF2F4Darkest = 950 · #460710
:root {
  --brand-50: #FDF2F4;
  --brand-100: #FBE5E8;
  --brand-200: #F8C3CC;
  --brand-300: #F995A4;
  --brand-400: #F65F77;
  --brand-500: #F32A49;
  --brand-600: #E80D2F;
  --brand-700: #C10B27;
  --brand-800: #a40921;
  --brand-900: #700B1A;
  --brand-950: #460710;
  --brand: #a40921;
  --brand-ink: #ffffff;
}

Colors that work with #a40921

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#EDC0C7
Hairlines and dividers
Muted text#9B4B57
Captions on the surface
Accent#07C578
Second voice, not a rival
Dark variant#790718
Hover, pressed, headers
Light variant#FEE7EA
Selected rows, tints
Dark surface#241416
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 #a40921

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#09A48C
Analogous left#A4096E
Analogous right#A43E09
Split-complement 1#09A43E
Split-complement 2#096EA4
Triadic 1#21A409
Triadic 2#0921A4
Tetradic#6EA409

RGB percentages

Red64.3%
Green3.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta94.5%
Yellow79.9%
Key (black)35.7%

Color previews

#a40921 text on a black background

contrast 2.64:1

Card sample

#a40921 text on a white background

contrast 7.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(164, 9, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 9, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a40921;
background: linear-gradient(135deg, #a40921, #A45809);

Monochromatic scale

Palettes built from #a40921

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.

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

#a40921, answered

What color is #a40921?

#a40921 is a dark electric red, closest to Brown (ΔE2000 3.5). It sits at 351° on the hue wheel with 90% saturation and 34% lightness, which reads as warm.

What is the RGB value of #a40921?

rgb(164, 9, 33) — 164 red, 9 green and 33 blue out of 255, or 64.3% / 3.5% / 12.9% by channel.

Is #a40921 a light or a dark color?

It is a dark color. Relative luminance is 0.0820 and perceived brightness is 36%, so white text on it reaches 7.96:1.

Should I use black or white text on #a40921?

White. It scores 7.96:1 against #a40921, versus 2.64:1 for black — AAA at any size.

What is the complementary color of #a40921?

#09A48C sits directly opposite on the wheel. Softer options are the split-complements #09A43E and #096EA4, which give the same contrast with far less vibration.

What colors go well with #a40921?

For interface work: #FAF4F5 as the surface, #EDC0C7 for borders, #9B4B57 for secondary text, #07C578 as an accent and #790718 for hover and pressed states. For a palette, the analogous pair #A4096E and #A43E09 stays calm, while #09A48C is the loudest partner.

What is #a40921 in CMYK for printing?

cmyk(0%, 95%, 80%, 36%). 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 #a40921 warm or cool?

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

Work with #a40921 in the Color Lab