Skip to content

#8a2521

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

RGB
138, 37, 33
HSL
2°, 61%, 34%
CMYK
0, 73, 76, 46
Luminance
0.0684

At a glance

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

Hex
#8a2521
Hue
red
Saturation
61%
vivid
Lightness
34%
dark
Brightness
54%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0684
WCAG relative
Temperature
Warm
15/100 cool
Color family
Red
Tone
Vivid
Best ink
White
8.87:1
Closest name
Brown
ΔE2000 5.6
Where it sits
Hue2° of 360°
Saturation61%
Lightness34%
Temperature
Warm ← → Cool15% 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#8a2521
RGBrgb(138, 37, 33)
HSLhsl(2, 61%, 34%)
CMYKcmyk(0%, 73%, 76%, 46%)
LABlab(31.4 42.3 27.7)
LCHlch(31.4 50.5 33.2)
OKLCHoklch(0.425 0.137 27.0)
Decimal9053473
Display P3color(display-p3 0.541 0.145 0.129)

Copy-ready code

/* CSS */
color: #8a2521;
background-color: #8a2521;
/* Tailwind (arbitrary) */
class="text-[#8a2521] bg-[#8a2521]"
/* SCSS */
$brand: #8a2521;
/* SwiftUI */
Color(red: 0.541, green: 0.145, blue: 0.129)
/* Android */
Color.parseColor("#8a2521")
/* Flutter */
Color(0xFF8A2521)
/* Python / OpenCV (BGR) */
(33, 37, 138)

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

Accessibility — WCAG contrast

Aa
#8a2521 on white: 8.87:1
AA ✓ pass · AA-large · AAA
Aa
#8a2521 on black: 2.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #423C20
deuteranopia · #5B521D
tritanopia · #980025

Color scale — 50 to 950

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

#FBF4F4
#F7E9E8
#F0CDCC
#E9A7A4
#DF7B77
#D44F4A
#C6352F
#A52C27
#8a2521
#601D1B
#3C1211
Base = 800Lightest = 50 · #FBF4F4Darkest = 950 · #3C1211
:root {
  --brand-50: #FBF4F4;
  --brand-100: #F7E9E8;
  --brand-200: #F0CDCC;
  --brand-300: #E9A7A4;
  --brand-400: #DF7B77;
  --brand-500: #D44F4A;
  --brand-600: #C6352F;
  --brand-700: #A52C27;
  --brand-800: #8a2521;
  --brand-900: #601D1B;
  --brand-950: #3C1211;
  --brand: #8a2521;
  --brand-ink: #ffffff;
}

Colors that work with #8a2521

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#FAF5F4
Tinted page background
Border#EDC1C0
Hairlines and dividers
Muted text#9B4E4B
Captions on the surface
Accent#1E8D76
Second voice, not a rival
Dark variant#671C19
Hover, pressed, headers
Light variant#FAEBEA
Selected rows, tints
Dark surface#241414
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 #8a2521

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#21868A
Analogous left#8A2151
Analogous right#8A5921
Split-complement 1#218A59
Split-complement 2#21518A
Triadic 1#218A25
Triadic 2#25218A
Tetradic#518A21

RGB percentages

Red54.1%
Green14.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta73.2%
Yellow76.1%
Key (black)45.9%

Color previews

#8a2521 text on a black background

contrast 2.37:1

Card sample

#8a2521 text on a white background

contrast 8.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8a2521

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.

#8a2521 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.

#8a2521, answered

What color is #8a2521?

#8a2521 is a dark vivid red, closest to Brown (ΔE2000 5.6). It sits at 2° on the hue wheel with 61% saturation and 34% lightness, which reads as warm.

What is the RGB value of #8a2521?

rgb(138, 37, 33) — 138 red, 37 green and 33 blue out of 255, or 54.1% / 14.5% / 12.9% by channel.

Is #8a2521 a light or a dark color?

It is a dark color. Relative luminance is 0.0684 and perceived brightness is 32%, so white text on it reaches 8.87:1.

Should I use black or white text on #8a2521?

White. It scores 8.87:1 against #8a2521, versus 2.37:1 for black — AAA at any size.

What is the complementary color of #8a2521?

#21868A sits directly opposite on the wheel. Softer options are the split-complements #218A59 and #21518A, which give the same contrast with far less vibration.

What colors go well with #8a2521?

For interface work: #FAF5F4 as the surface, #EDC1C0 for borders, #9B4E4B for secondary text, #1E8D76 as an accent and #671C19 for hover and pressed states. For a palette, the analogous pair #8A2151 and #8A5921 stays calm, while #21868A is the loudest partner.

What is #8a2521 in CMYK for printing?

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

Is #8a2521 warm or cool?

Warm — it scores 15 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8A4121; nudged cooler, #8C1F43.

Work with #8a2521 in the Color Lab