Skip to content

#a00021

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

RGB
160, 0, 33
HSL
348°, 100%, 31%
CMYK
0, 100, 79, 37
Luminance
0.0758

At a glance

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

Hex
#a00021
Hue
348°
red
Saturation
100%
electric
Lightness
31%
dark
Brightness
63%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0758
WCAG relative
Temperature
Warm
24/100 cool
Color family
Red
Tone
Electric
Best ink
White
8.34:1
Closest name
Brown
ΔE2000 4.5
Where it sits
Hue348° of 360°
Saturation100%
Lightness31%
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#a00021
RGBrgb(160, 0, 33)
HSLhsl(348, 100%, 31%)
CMYKcmyk(0%, 100%, 79%, 37%)
LABlab(33.1 57.2 30.8)
LCHlch(33.1 65.0 28.3)
OKLCHoklch(0.446 0.180 22.0)
Decimal10485793
Display P3color(display-p3 0.627 0.000 0.129)

Copy-ready code

/* CSS */
color: #a00021;
background-color: #a00021;
/* Tailwind (arbitrary) */
class="text-[#a00021] bg-[#a00021]"
/* SCSS */
$brand: #a00021;
/* SwiftUI */
Color(red: 0.627, green: 0.000, blue: 0.129)
/* Android */
Color.parseColor("#a00021")
/* Flutter */
Color(0xFFA00021)
/* Python / OpenCV (BGR) */
(33, 0, 160)

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

Accessibility — WCAG contrast

Aa
#a00021 on white: 8.34:1
AA ✓ pass · AA-large · AAA
Aa
#a00021 on black: 2.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3F3A20
deuteranopia · #63591A
tritanopia · #B10013

Color scale — 50 to 950

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

#FEF1F4
#FCE3E8
#FCC0CC
#FF8FA6
#FF5779
#FF1F4D
#F50033
#CC002A
#a00021
#76051C
#490312
Base = 800Lightest = 50 · #FEF1F4Darkest = 950 · #490312
:root {
  --brand-50: #FEF1F4;
  --brand-100: #FCE3E8;
  --brand-200: #FCC0CC;
  --brand-300: #FF8FA6;
  --brand-400: #FF5779;
  --brand-500: #FF1F4D;
  --brand-600: #F50033;
  --brand-700: #CC002A;
  --brand-800: #a00021;
  --brand-900: #76051C;
  --brand-950: #490312;
  --brand: #a00021;
  --brand-ink: #ffffff;
}

Colors that work with #a00021

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#9B4B5B
Captions on the surface
Accent#00A057
Second voice, not a rival
Dark variant#80001A
Hover, pressed, headers
Light variant#FFE5EB
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 #a00021

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#00A07F
Analogous left#A00071
Analogous right#A02F00
Split-complement 1#00A02F
Split-complement 2#0071A0
Triadic 1#21A000
Triadic 2#0021A0
Tetradic#71A000

RGB percentages

Red62.7%
Green0.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow79.4%
Key (black)37.3%

Color previews

#a00021 text on a black background

contrast 2.52:1

Card sample

#a00021 text on a white background

contrast 8.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a00021

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.

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

#a00021, answered

What color is #a00021?

#a00021 is a dark electric red, closest to Brown (ΔE2000 4.5). It sits at 348° on the hue wheel with 100% saturation and 31% lightness, which reads as warm.

What is the RGB value of #a00021?

rgb(160, 0, 33) — 160 red, 0 green and 33 blue out of 255, or 62.7% / 0% / 12.9% by channel.

Is #a00021 a light or a dark color?

It is a dark color. Relative luminance is 0.0758 and perceived brightness is 35%, so white text on it reaches 8.34:1.

Should I use black or white text on #a00021?

White. It scores 8.34:1 against #a00021, versus 2.52:1 for black — AAA at any size.

What is the complementary color of #a00021?

#00A07F sits directly opposite on the wheel. Softer options are the split-complements #00A02F and #0071A0, which give the same contrast with far less vibration.

What colors go well with #a00021?

For interface work: #FAF4F6 as the surface, #EDC0C9 for borders, #9B4B5B for secondary text, #00A057 as an accent and #80001A for hover and pressed states. For a palette, the analogous pair #A00071 and #A02F00 stays calm, while #00A07F is the loudest partner.

What is #a00021 in CMYK for printing?

cmyk(0%, 100%, 79%, 37%). 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 #a00021 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 #A01A00; nudged cooler, #A0005C.

Work with #a00021 in the Color Lab