Skip to content

#7b2f21

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

RGB
123, 47, 33
HSL
9°, 58%, 31%
CMYK
0, 62, 73, 52
Luminance
0.0635

At a glance

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

Hex
#7b2f21
Hue
red
Saturation
58%
vivid
Lightness
31%
dark
Brightness
48%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0635
WCAG relative
Temperature
Warm
11/100 cool
Color family
Red
Tone
Vivid
Best ink
White
9.25:1
Closest name
Maroon
ΔE2000 7.1
Where it sits
Hue9° of 360°
Saturation58%
Lightness31%
Temperature
Warm ← → Cool11% 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#7b2f21
RGBrgb(123, 47, 33)
HSLhsl(9, 58%, 31%)
CMYKcmyk(0%, 62%, 73%, 52%)
LABlab(30.3 32.2 25.6)
LCHlch(30.3 41.1 38.5)
OKLCHoklch(0.411 0.109 32.4)
Decimal8072993
Display P3color(display-p3 0.482 0.184 0.129)

Copy-ready code

/* CSS */
color: #7b2f21;
background-color: #7b2f21;
/* Tailwind (arbitrary) */
class="text-[#7b2f21] bg-[#7b2f21]"
/* SCSS */
$brand: #7b2f21;
/* SwiftUI */
Color(red: 0.482, green: 0.184, blue: 0.129)
/* Android */
Color.parseColor("#7b2f21")
/* Flutter */
Color(0xFF7B2F21)
/* Python / OpenCV (BGR) */
(33, 47, 123)

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

Accessibility — WCAG contrast

Aa
#7b2f21 on white: 9.25:1
AA ✓ pass · AA-large · AAA
Aa
#7b2f21 on black: 2.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #443D1F
deuteranopia · #564E1F
tritanopia · #871E2C

Color scale — 50 to 950

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

#FBF5F4
#F7EBE9
#EFD2CD
#E7B1A7
#DB897A
#D0624E
#C14A34
#A13D2B
#7b2f21
#5E271D
#3B1812
Base = 800Lightest = 50 · #FBF5F4Darkest = 950 · #3B1812
:root {
  --brand-50: #FBF5F4;
  --brand-100: #F7EBE9;
  --brand-200: #EFD2CD;
  --brand-300: #E7B1A7;
  --brand-400: #DB897A;
  --brand-500: #D0624E;
  --brand-600: #C14A34;
  --brand-700: #A13D2B;
  --brand-800: #7b2f21;
  --brand-900: #5E271D;
  --brand-950: #3B1812;
  --brand: #7b2f21;
  --brand-ink: #ffffff;
}

Colors that work with #7b2f21

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#EDC7C0
Hairlines and dividers
Muted text#9B574B
Captions on the surface
Accent#1E7E75
Second voice, not a rival
Dark variant#65261B
Hover, pressed, headers
Light variant#FAEDEB
Selected rows, tints
Dark surface#241614
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 #7b2f21

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#216D7B
Analogous left#7B2140
Analogous right#7B5C21
Split-complement 1#217B5C
Split-complement 2#21407B
Triadic 1#217B2F
Triadic 2#2F217B
Tetradic#407B21

RGB percentages

Red48.2%
Green18.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta61.8%
Yellow73.2%
Key (black)51.8%

Color previews

#7b2f21 text on a black background

contrast 2.27:1

Card sample

#7b2f21 text on a white background

contrast 9.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(123, 47, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(123, 47, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7b2f21;
background: linear-gradient(135deg, #7b2f21, #7B6B21);

Monochromatic scale

Palettes built from #7b2f21

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.

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

#7b2f21, answered

What color is #7b2f21?

#7b2f21 is a dark vivid red, closest to Maroon (ΔE2000 7.1). It sits at 9° on the hue wheel with 58% saturation and 31% lightness, which reads as warm.

What is the RGB value of #7b2f21?

rgb(123, 47, 33) — 123 red, 47 green and 33 blue out of 255, or 48.2% / 18.4% / 12.9% by channel.

Is #7b2f21 a light or a dark color?

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

Should I use black or white text on #7b2f21?

White. It scores 9.25:1 against #7b2f21, versus 2.27:1 for black — AAA at any size.

What is the complementary color of #7b2f21?

#216D7B sits directly opposite on the wheel. Softer options are the split-complements #217B5C and #21407B, which give the same contrast with far less vibration.

What colors go well with #7b2f21?

For interface work: #FAF5F4 as the surface, #EDC7C0 for borders, #9B574B for secondary text, #1E7E75 as an accent and #65261B for hover and pressed states. For a palette, the analogous pair #7B2140 and #7B5C21 stays calm, while #216D7B is the loudest partner.

What is #7b2f21 in CMYK for printing?

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

Is #7b2f21 warm or cool?

Warm — it scores 11 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #7B4021; nudged cooler, #7D1F33.

Work with #7b2f21 in the Color Lab