Skip to content

#820421

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

RGB
130, 4, 33
HSL
346°, 94%, 26%
CMYK
0, 97, 75, 49
Luminance
0.0494

At a glance

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

Hex
#820421
Hue
346°
red
Saturation
94%
electric
Lightness
26%
dark
Brightness
51%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0494
WCAG relative
Temperature
Warm
24/100 cool
Color family
Red
Tone
Electric
Best ink
White
10.56:1
Closest name
Maroon
ΔE2000 8.9
Where it sits
Hue346° of 360°
Saturation94%
Lightness26%
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#820421
RGBrgb(130, 4, 33)
HSLhsl(346, 94%, 26%)
CMYKcmyk(0%, 97%, 75%, 49%)
LABlab(26.6 48.7 21.6)
LCHlch(26.6 53.3 23.9)
OKLCHoklch(0.386 0.152 19.0)
Decimal8520737
Display P3color(display-p3 0.510 0.016 0.129)

Copy-ready code

/* CSS */
color: #820421;
background-color: #820421;
/* Tailwind (arbitrary) */
class="text-[#820421] bg-[#820421]"
/* SCSS */
$brand: #820421;
/* SwiftUI */
Color(red: 0.510, green: 0.016, blue: 0.129)
/* Android */
Color.parseColor("#820421")
/* Flutter */
Color(0xFF820421)
/* Python / OpenCV (BGR) */
(33, 4, 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 #820421 · 10.56:1
Use #ffffffAAA at every size.
Aa
White text · 10.56:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.99:1
AA fail · AA large fail · AAA fail
Reading the other direction: #820421 as text scores 10.56:1 on white and 1.99:1 on black.

Accessibility — WCAG contrast

Aa
#820421 on white: 10.56:1
AA ✓ pass · AA-large · AAA
Aa
#820421 on black: 1.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #322F21
deuteranopia · #50481D
tritanopia · #900013

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #820421 is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF2F4
#FBE4E9
#FAC2CF
#FC92AA
#FA5C80
#F82556
#ED073C
#C60632
#9E0528
#820421
#470514
Base = 900Lightest = 50 · #FDF2F4Darkest = 950 · #470514
:root {
  --brand-50: #FDF2F4;
  --brand-100: #FBE4E9;
  --brand-200: #FAC2CF;
  --brand-300: #FC92AA;
  --brand-400: #FA5C80;
  --brand-500: #F82556;
  --brand-600: #ED073C;
  --brand-700: #C60632;
  --brand-800: #9E0528;
  --brand-900: #820421;
  --brand-950: #470514;
  --brand: #820421;
  --brand-ink: #ffffff;
}

Colors that work with #820421

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#EDC0CA
Hairlines and dividers
Muted text#9B4B5D
Captions on the surface
Accent#018546
Second voice, not a rival
Dark variant#7C041F
Hover, pressed, headers
Light variant#FEE6EC
Selected rows, tints
Dark surface#241418
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 #820421

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#048265
Analogous left#820460
Analogous right#822604
Split-complement 1#048226
Split-complement 2#046082
Triadic 1#218204
Triadic 2#042182
Tetradic#608204

RGB percentages

Red51.0%
Green1.6%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta96.9%
Yellow74.6%
Key (black)49.0%

Color previews

#820421 text on a black background

contrast 1.99:1

Card sample

#820421 text on a white background

contrast 10.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #820421

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.

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

#820421, answered

What color is #820421?

#820421 is a dark electric red, closest to Maroon (ΔE2000 8.9). It sits at 346° on the hue wheel with 94% saturation and 26% lightness, which reads as warm.

What is the RGB value of #820421?

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

Is #820421 a light or a dark color?

It is a dark color. Relative luminance is 0.0494 and perceived brightness is 28%, so white text on it reaches 10.56:1.

Should I use black or white text on #820421?

White. It scores 10.56:1 against #820421, versus 1.99:1 for black — AAA at any size.

What is the complementary color of #820421?

#048265 sits directly opposite on the wheel. Softer options are the split-complements #048226 and #046082, which give the same contrast with far less vibration.

What colors go well with #820421?

For interface work: #FAF4F6 as the surface, #EDC0CA for borders, #9B4B5D for secondary text, #018546 as an accent and #7C041F for hover and pressed states. For a palette, the analogous pair #820460 and #822604 stays calm, while #048265 is the loudest partner.

What is #820421 in CMYK for printing?

cmyk(0%, 97%, 75%, 49%). 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 #820421 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 #821504; nudged cooler, #830350.

Work with #820421 in the Color Lab