Skip to content

#821d21

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

RGB
130, 29, 33
HSL
358°, 64%, 31%
CMYK
0, 78, 75, 49
Luminance
0.0573

At a glance

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

Hex
#821d21
Hue
358°
red
Saturation
64%
vivid
Lightness
31%
dark
Brightness
51%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0573
WCAG relative
Temperature
Warm
18/100 cool
Color family
Red
Tone
Vivid
Best ink
White
9.78:1
Closest name
Maroon
ΔE2000 6.7
Where it sits
Hue358° of 360°
Saturation64%
Lightness31%
Temperature
Warm ← → Cool18% 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#821d21
RGBrgb(130, 29, 33)
HSLhsl(358, 64%, 31%)
CMYKcmyk(0%, 78%, 75%, 49%)
LABlab(28.7 42.6 24.2)
LCHlch(28.7 49.0 29.6)
OKLCHoklch(0.402 0.136 23.9)
Decimal8527137
Display P3color(display-p3 0.510 0.114 0.129)

Copy-ready code

/* CSS */
color: #821d21;
background-color: #821d21;
/* Tailwind (arbitrary) */
class="text-[#821d21] bg-[#821d21]"
/* SCSS */
$brand: #821d21;
/* SwiftUI */
Color(red: 0.510, green: 0.114, blue: 0.129)
/* Android */
Color.parseColor("#821d21")
/* Flutter */
Color(0xFF821D21)
/* Python / OpenCV (BGR) */
(33, 29, 130)

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

Accessibility — WCAG contrast

Aa
#821d21 on white: 9.78:1
AA ✓ pass · AA-large · AAA
Aa
#821d21 on black: 2.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3B3620
deuteranopia · #544C1D
tritanopia · #8F0020

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #821d21 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
#F7E8E9
#F0CBCD
#EBA3A6
#E0757A
#D6484D
#C82D33
#A7252A
#821d21
#61191C
#3D1012
Base = 800Lightest = 50 · #FBF4F4Darkest = 950 · #3D1012
:root {
  --brand-50: #FBF4F4;
  --brand-100: #F7E8E9;
  --brand-200: #F0CBCD;
  --brand-300: #EBA3A6;
  --brand-400: #E0757A;
  --brand-500: #D6484D;
  --brand-600: #C82D33;
  --brand-700: #A7252A;
  --brand-800: #821d21;
  --brand-900: #61191C;
  --brand-950: #3D1012;
  --brand: #821d21;
  --brand-ink: #ffffff;
}

Colors that work with #821d21

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#9B4B4E
Captions on the surface
Accent#1A8566
Second voice, not a rival
Dark variant#68171B
Hover, pressed, headers
Light variant#FAEAEB
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 #821d21

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#1D827E
Analogous left#821D54
Analogous right#824C1D
Split-complement 1#1D824C
Split-complement 2#1D5482
Triadic 1#21821D
Triadic 2#1D2182
Tetradic#54821D

RGB percentages

Red51.0%
Green11.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta77.7%
Yellow74.6%
Key (black)49.0%

Color previews

#821d21 text on a black background

contrast 2.15:1

Card sample

#821d21 text on a white background

contrast 9.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(130, 29, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(130, 29, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #821d21;
background: linear-gradient(135deg, #821d21, #825C1D);

Monochromatic scale

Palettes built from #821d21

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.

#821d21 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.

#821d21, answered

What color is #821d21?

#821d21 is a dark vivid red, closest to Maroon (ΔE2000 6.7). It sits at 358° on the hue wheel with 64% saturation and 31% lightness, which reads as warm.

What is the RGB value of #821d21?

rgb(130, 29, 33) — 130 red, 29 green and 33 blue out of 255, or 51% / 11.4% / 12.9% by channel.

Is #821d21 a light or a dark color?

It is a dark color. Relative luminance is 0.0573 and perceived brightness is 30%, so white text on it reaches 9.78:1.

Should I use black or white text on #821d21?

White. It scores 9.78:1 against #821d21, versus 2.15:1 for black — AAA at any size.

What is the complementary color of #821d21?

#1D827E sits directly opposite on the wheel. Softer options are the split-complements #1D824C and #1D5482, which give the same contrast with far less vibration.

What colors go well with #821d21?

For interface work: #FAF4F5 as the surface, #EDC0C2 for borders, #9B4B4E for secondary text, #1A8566 as an accent and #68171B for hover and pressed states. For a palette, the analogous pair #821D54 and #824C1D stays calm, while #1D827E is the loudest partner.

What is #821d21 in CMYK for printing?

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

Is #821d21 warm or cool?

Warm — it scores 18 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #823A1D; nudged cooler, #841B46.

Work with #821d21 in the Color Lab