Skip to content

#a31921

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

RGB
163, 25, 33
HSL
357°, 73%, 37%
CMYK
0, 85, 80, 36
Luminance
0.0859

At a glance

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

Hex
#a31921
Hue
357°
red
Saturation
73%
vivid
Lightness
37%
dark
Brightness
64%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0859
WCAG relative
Temperature
Warm
19/100 cool
Color family
Red
Tone
Vivid
Best ink
White
7.73:1
Closest name
Brown
ΔE2000 2.4
Where it sits
Hue357° of 360°
Saturation73%
Lightness37%
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#a31921
RGBrgb(163, 25, 33)
HSLhsl(357, 73%, 37%)
CMYKcmyk(0%, 85%, 80%, 36%)
LABlab(35.2 53.9 33.2)
LCHlch(35.2 63.3 31.7)
OKLCHoklch(0.462 0.172 25.0)
Decimal10688801
Display P3color(display-p3 0.639 0.098 0.129)

Copy-ready code

/* CSS */
color: #a31921;
background-color: #a31921;
/* Tailwind (arbitrary) */
class="text-[#a31921] bg-[#a31921]"
/* SCSS */
$brand: #a31921;
/* SwiftUI */
Color(red: 0.639, green: 0.098, blue: 0.129)
/* Android */
Color.parseColor("#a31921")
/* Flutter */
Color(0xFFA31921)
/* Python / OpenCV (BGR) */
(33, 25, 163)

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

Accessibility — WCAG contrast

Aa
#a31921 on white: 7.73:1
AA ✓ pass · AA-large · AAA
Aa
#a31921 on black: 2.72:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #474020
deuteranopia · #685D1B
tritanopia · #B4001E

Color scale — 50 to 950

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

#FCF3F3
#F8E7E8
#F3C8CB
#F09EA3
#E96D74
#E13C46
#D4212B
#a31921
#8D161D
#671419
#400C0F
Base = 700Lightest = 50 · #FCF3F3Darkest = 950 · #400C0F
:root {
  --brand-50: #FCF3F3;
  --brand-100: #F8E7E8;
  --brand-200: #F3C8CB;
  --brand-300: #F09EA3;
  --brand-400: #E96D74;
  --brand-500: #E13C46;
  --brand-600: #D4212B;
  --brand-700: #a31921;
  --brand-800: #8D161D;
  --brand-900: #671419;
  --brand-950: #400C0F;
  --brand: #a31921;
  --brand-ink: #ffffff;
}

Colors that work with #a31921

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#EDC0C2
Hairlines and dividers
Muted text#9B4B4F
Captions on the surface
Accent#17B584
Second voice, not a rival
Dark variant#6F1116
Hover, pressed, headers
Light variant#FCE9EA
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 #a31921

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#19A39B
Analogous left#A31966
Analogous right#A35619
Split-complement 1#19A356
Split-complement 2#1966A3
Triadic 1#21A319
Triadic 2#1921A3
Tetradic#66A319

RGB percentages

Red63.9%
Green9.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta84.7%
Yellow79.8%
Key (black)36.1%

Color previews

#a31921 text on a black background

contrast 2.72:1

Card sample

#a31921 text on a white background

contrast 7.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a31921

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.

#a31921 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

Converts to four-color process without much drama. Proof it anyway.

#a31921, answered

What color is #a31921?

#a31921 is a dark vivid red, closest to Brown (ΔE2000 2.4). It sits at 357° on the hue wheel with 73% saturation and 37% lightness, which reads as warm.

What is the RGB value of #a31921?

rgb(163, 25, 33) — 163 red, 25 green and 33 blue out of 255, or 63.9% / 9.8% / 12.9% by channel.

Is #a31921 a light or a dark color?

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

Should I use black or white text on #a31921?

White. It scores 7.73:1 against #a31921, versus 2.72:1 for black — AAA at any size.

What is the complementary color of #a31921?

#19A39B sits directly opposite on the wheel. Softer options are the split-complements #19A356 and #1966A3, which give the same contrast with far less vibration.

What colors go well with #a31921?

For interface work: #FAF4F5 as the surface, #EDC0C2 for borders, #9B4B4F for secondary text, #17B584 as an accent and #6F1116 for hover and pressed states. For a palette, the analogous pair #A31966 and #A35619 stays calm, while #19A39B is the loudest partner.

What is #a31921 in CMYK for printing?

cmyk(0%, 85%, 80%, 36%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #a31921 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 #A33C19; nudged cooler, #A51753.

Work with #a31921 in the Color Lab