Skip to content

#7c0804

a dark, electric red · warm · “Maroon”

RGB
124, 8, 4
HSL
2°, 94%, 25%
CMYK
0, 94, 97, 51
Luminance
0.0447

At a glance

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

Hex
#7c0804
Hue
red
Saturation
94%
electric
Lightness
25%
dark
Brightness
49%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0447
WCAG relative
Temperature
Warm
16/100 cool
Color family
Red
Tone
Electric
Best ink
White
11.09:1
Closest name
Maroon
ΔE2000 1
Where it sits
Hue2° of 360°
Saturation94%
Lightness25%
Temperature
Warm ← → Cool16% 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#7c0804
RGBrgb(124, 8, 4)
HSLhsl(2, 94%, 25%)
CMYKcmyk(0%, 94%, 97%, 51%)
LABlab(25.2 45.5 35.8)
LCHlch(25.2 57.9 38.2)
OKLCHoklch(0.372 0.147 29.4)
Decimal8128516
Display P3color(display-p3 0.486 0.031 0.016)

Copy-ready code

/* CSS */
color: #7c0804;
background-color: #7c0804;
/* Tailwind (arbitrary) */
class="text-[#7c0804] bg-[#7c0804]"
/* SCSS */
$brand: #7c0804;
/* SwiftUI */
Color(red: 0.486, green: 0.031, blue: 0.016)
/* Android */
Color.parseColor("#7c0804")
/* Flutter */
Color(0xFF7C0804)
/* Python / OpenCV (BGR) */
(4, 8, 124)

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

Accessibility — WCAG contrast

Aa
#7c0804 on white: 11.09:1
AA ✓ pass · AA-large · AAA
Aa
#7c0804 on black: 1.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #332C01
deuteranopia · #4E4400
tritanopia · #8A000A

Color scale — 50 to 950

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

#FDF2F2
#FBE5E4
#FAC4C2
#FC9692
#FA615C
#F82D26
#ED0F08
#C60D06
#9E0A05
#7c0804
#470705
Base = 900Lightest = 50 · #FDF2F2Darkest = 950 · #470705
:root {
  --brand-50: #FDF2F2;
  --brand-100: #FBE5E4;
  --brand-200: #FAC4C2;
  --brand-300: #FC9692;
  --brand-400: #FA615C;
  --brand-500: #F82D26;
  --brand-600: #ED0F08;
  --brand-700: #C60D06;
  --brand-800: #9E0A05;
  --brand-900: #7c0804;
  --brand-950: #470705;
  --brand: #7c0804;
  --brand-ink: #ffffff;
}

Colors that work with #7c0804

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#FAF4F4
Tinted page background
Border#EDC1C0
Hairlines and dividers
Muted text#9B4D4B
Captions on the surface
Accent#017F63
Second voice, not a rival
Dark variant#7C0804
Hover, pressed, headers
Light variant#FEE7E6
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 #7c0804

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#04787C
Analogous left#7C043C
Analogous right#7C4404
Split-complement 1#047C44
Split-complement 2#043C7C
Triadic 1#047C08
Triadic 2#08047C
Tetradic#3C7C04

RGB percentages

Red48.6%
Green3.1%
Blue1.6%

CMYK percentages

Cyan0.0%
Magenta93.5%
Yellow96.8%
Key (black)51.4%

Color previews

#7c0804 text on a black background

contrast 1.89:1

Card sample

#7c0804 text on a white background

contrast 11.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(124, 8, 4, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 8, 4, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7c0804;
background: linear-gradient(135deg, #7c0804, #7C5804);

Monochromatic scale

Palettes built from #7c0804

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.

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

#7c0804, answered

What color is #7c0804?

#7c0804 is a dark electric red — the CSS keyword Maroon. It sits at 2° on the hue wheel with 94% saturation and 25% lightness, which reads as warm.

What is the RGB value of #7c0804?

rgb(124, 8, 4) — 124 red, 8 green and 4 blue out of 255, or 48.6% / 3.1% / 1.6% by channel.

Is #7c0804 a light or a dark color?

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

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

White. It scores 11.09:1 against #7c0804, versus 1.89:1 for black — AAA at any size.

What is the complementary color of #7c0804?

#04787C sits directly opposite on the wheel. Softer options are the split-complements #047C44 and #043C7C, which give the same contrast with far less vibration.

What colors go well with #7c0804?

For interface work: #FAF4F4 as the surface, #EDC1C0 for borders, #9B4D4B for secondary text, #017F63 as an accent and #7C0804 for hover and pressed states. For a palette, the analogous pair #7C043C and #7C4404 stays calm, while #04787C is the loudest partner.

What is #7c0804 in CMYK for printing?

cmyk(0%, 94%, 97%, 51%). 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 #7c0804 warm or cool?

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

Work with #7c0804 in the Color Lab