Skip to content

#7c0c19

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

RGB
124, 12, 25
HSL
353°, 82%, 27%
CMYK
0, 90, 80, 51
Luminance
0.0462

At a glance

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

Hex
#7c0c19
Hue
353°
red
Saturation
82%
electric
Lightness
27%
dark
Brightness
49%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0462
WCAG relative
Temperature
Warm
21/100 cool
Color family
Red
Tone
Electric
Best ink
White
10.92:1
Closest name
Maroon
ΔE2000 6
Where it sits
Hue353° of 360°
Saturation82%
Lightness27%
Temperature
Warm ← → Cool21% 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#7c0c19
RGBrgb(124, 12, 25)
HSLhsl(353, 82%, 27%)
CMYKcmyk(0%, 90%, 80%, 51%)
LABlab(25.6 45.2 25.4)
LCHlch(25.6 51.9 29.3)
OKLCHoklch(0.376 0.143 23.1)
Decimal8129561
Display P3color(display-p3 0.486 0.047 0.098)

Copy-ready code

/* CSS */
color: #7c0c19;
background-color: #7c0c19;
/* Tailwind (arbitrary) */
class="text-[#7c0c19] bg-[#7c0c19]"
/* SCSS */
$brand: #7c0c19;
/* SwiftUI */
Color(red: 0.486, green: 0.047, blue: 0.098)
/* Android */
Color.parseColor("#7c0c19")
/* Flutter */
Color(0xFF7C0C19)
/* Python / OpenCV (BGR) */
(25, 12, 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 #7c0c19 · 10.92:1
Use #ffffffAAA at every size.
Aa
White text · 10.92:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.92:1
AA fail · AA large fail · AAA fail
Reading the other direction: #7c0c19 as text scores 10.92:1 on white and 1.92:1 on black.

Accessibility — WCAG contrast

Aa
#7c0c19 on white: 10.92:1
AA ✓ pass · AA-large · AAA
Aa
#7c0c19 on black: 1.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #332E18
deuteranopia · #4D4514
tritanopia · #890013

Color scale — 50 to 950

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

#FCF2F4
#FAE6E8
#F6C6CB
#F599A3
#F06676
#EB3248
#DF162D
#BA1226
#950E1E
#7c0c19
#430910
Base = 900Lightest = 50 · #FCF2F4Darkest = 950 · #430910
:root {
  --brand-50: #FCF2F4;
  --brand-100: #FAE6E8;
  --brand-200: #F6C6CB;
  --brand-300: #F599A3;
  --brand-400: #F06676;
  --brand-500: #EB3248;
  --brand-600: #DF162D;
  --brand-700: #BA1226;
  --brand-800: #950E1E;
  --brand-900: #7c0c19;
  --brand-950: #430910;
  --brand: #7c0c19;
  --brand-ink: #ffffff;
}

Colors that work with #7c0c19

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#EDC0C5
Hairlines and dividers
Muted text#9B4B54
Captions on the surface
Accent#097F54
Second voice, not a rival
Dark variant#740B17
Hover, pressed, headers
Light variant#FDE8EA
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 #7c0c19

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#0C7C6F
Analogous left#7C0C51
Analogous right#7C370C
Split-complement 1#0C7C37
Split-complement 2#0C517C
Triadic 1#197C0C
Triadic 2#0C197C
Tetradic#517C0C

RGB percentages

Red48.6%
Green4.7%
Blue9.8%

CMYK percentages

Cyan0.0%
Magenta90.3%
Yellow79.8%
Key (black)51.4%

Color previews

#7c0c19 text on a black background

contrast 1.92:1

Card sample

#7c0c19 text on a white background

contrast 10.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7c0c19

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.

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

#7c0c19, answered

What color is #7c0c19?

#7c0c19 is a dark electric red, closest to Maroon (ΔE2000 6). It sits at 353° on the hue wheel with 82% saturation and 27% lightness, which reads as warm.

What is the RGB value of #7c0c19?

rgb(124, 12, 25) — 124 red, 12 green and 25 blue out of 255, or 48.6% / 4.7% / 9.8% by channel.

Is #7c0c19 a light or a dark color?

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

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

White. It scores 10.92:1 against #7c0c19, versus 1.92:1 for black — AAA at any size.

What is the complementary color of #7c0c19?

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

What colors go well with #7c0c19?

For interface work: #FAF4F5 as the surface, #EDC0C5 for borders, #9B4B54 for secondary text, #097F54 as an accent and #740B17 for hover and pressed states. For a palette, the analogous pair #7C0C51 and #7C370C stays calm, while #0C7C6F is the loudest partner.

What is #7c0c19 in CMYK for printing?

cmyk(0%, 90%, 80%, 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 #7c0c19 warm or cool?

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

Work with #7c0c19 in the Color Lab