Skip to content

#790f21

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

RGB
121, 15, 33
HSL
350°, 78%, 27%
CMYK
0, 88, 73, 53
Luminance
0.0452

At a glance

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

Hex
#790f21
Hue
350°
red
Saturation
78%
electric
Lightness
27%
dark
Brightness
47%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0452
WCAG relative
Temperature
Warm
22/100 cool
Color family
Red
Tone
Electric
Best ink
White
11.03:1
Closest name
Maroon
ΔE2000 9.1
Where it sits
Hue350° of 360°
Saturation78%
Lightness27%
Temperature
Warm ← → Cool22% 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#790f21
RGBrgb(121, 15, 33)
HSLhsl(350, 78%, 27%)
CMYKcmyk(0%, 88%, 73%, 53%)
LABlab(25.3 44.0 19.6)
LCHlch(25.3 48.2 24.0)
OKLCHoklch(0.373 0.138 19.3)
Decimal7933729
Display P3color(display-p3 0.475 0.059 0.129)

Copy-ready code

/* CSS */
color: #790f21;
background-color: #790f21;
/* Tailwind (arbitrary) */
class="text-[#790f21] bg-[#790f21]"
/* SCSS */
$brand: #790f21;
/* SwiftUI */
Color(red: 0.475, green: 0.059, blue: 0.129)
/* Android */
Color.parseColor("#790f21")
/* Flutter */
Color(0xFF790F21)
/* Python / OpenCV (BGR) */
(33, 15, 121)

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

Accessibility — WCAG contrast

Aa
#790f21 on white: 11.03:1
AA ✓ pass · AA-large · AAA
Aa
#790f21 on black: 1.90:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #312E21
deuteranopia · #4B441E
tritanopia · #860017

Color scale — 50 to 950

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

#FCF3F4
#F9E6EA
#F5C7CF
#F39BAA
#EC6980
#E63755
#DA1B3B
#B51732
#911228
#790f21
#420B14
Base = 900Lightest = 50 · #FCF3F4Darkest = 950 · #420B14
:root {
  --brand-50: #FCF3F4;
  --brand-100: #F9E6EA;
  --brand-200: #F5C7CF;
  --brand-300: #F39BAA;
  --brand-400: #EC6980;
  --brand-500: #E63755;
  --brand-600: #DA1B3B;
  --brand-700: #B51732;
  --brand-800: #911228;
  --brand-900: #790f21;
  --brand-950: #420B14;
  --brand: #790f21;
  --brand-ink: #ffffff;
}

Colors that work with #790f21

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#EDC0C7
Hairlines and dividers
Muted text#9B4B58
Captions on the surface
Accent#0C7C4D
Second voice, not a rival
Dark variant#710E1F
Hover, pressed, headers
Light variant#FCE8EC
Selected rows, tints
Dark surface#241416
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 #790f21

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#0F7967
Analogous left#790F56
Analogous right#79320F
Split-complement 1#0F7932
Split-complement 2#0F5679
Triadic 1#21790F
Triadic 2#0F2179
Tetradic#56790F

RGB percentages

Red47.5%
Green5.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta87.6%
Yellow72.7%
Key (black)52.5%

Color previews

#790f21 text on a black background

contrast 1.90:1

Card sample

#790f21 text on a white background

contrast 11.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(121, 15, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(121, 15, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #790f21;
background: linear-gradient(135deg, #790f21, #79440F);

Monochromatic scale

Palettes built from #790f21

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.

#790f21 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.

#790f21, answered

What color is #790f21?

#790f21 is a dark electric red, closest to Maroon (ΔE2000 9.1). It sits at 350° on the hue wheel with 78% saturation and 27% lightness, which reads as warm.

What is the RGB value of #790f21?

rgb(121, 15, 33) — 121 red, 15 green and 33 blue out of 255, or 47.5% / 5.9% / 12.9% by channel.

Is #790f21 a light or a dark color?

It is a dark color. Relative luminance is 0.0452 and perceived brightness is 27%, so white text on it reaches 11.03:1.

Should I use black or white text on #790f21?

White. It scores 11.03:1 against #790f21, versus 1.90:1 for black — AAA at any size.

What is the complementary color of #790f21?

#0F7967 sits directly opposite on the wheel. Softer options are the split-complements #0F7932 and #0F5679, which give the same contrast with far less vibration.

What colors go well with #790f21?

For interface work: #FAF4F5 as the surface, #EDC0C7 for borders, #9B4B58 for secondary text, #0C7C4D as an accent and #710E1F for hover and pressed states. For a palette, the analogous pair #790F56 and #79320F stays calm, while #0F7967 is the loudest partner.

What is #790f21 in CMYK for printing?

cmyk(0%, 88%, 73%, 53%). 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 #790f21 warm or cool?

Warm — it scores 22 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #79240F; nudged cooler, #7A0E48.

Work with #790f21 in the Color Lab