Skip to content

#7f080d

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

RGB
127, 8, 13
HSL
358°, 88%, 27%
CMYK
0, 94, 90, 50
Luminance
0.0471

At a glance

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

Hex
#7f080d
Hue
358°
red
Saturation
88%
electric
Lightness
27%
dark
Brightness
50%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0471
WCAG relative
Temperature
Warm
18/100 cool
Color family
Red
Tone
Electric
Best ink
White
10.81:1
Closest name
Maroon
ΔE2000 2.3
Where it sits
Hue358° of 360°
Saturation88%
Lightness27%
Temperature
Warm ← → Cool18% 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#7f080d
RGBrgb(127, 8, 13)
HSLhsl(358, 88%, 27%)
CMYKcmyk(0%, 94%, 90%, 50%)
LABlab(25.9 46.5 32.9)
LCHlch(25.9 57.0 35.3)
OKLCHoklch(0.379 0.149 27.1)
Decimal8325133
Display P3color(display-p3 0.498 0.031 0.051)

Copy-ready code

/* CSS */
color: #7f080d;
background-color: #7f080d;
/* Tailwind (arbitrary) */
class="text-[#7f080d] bg-[#7f080d]"
/* SCSS */
$brand: #7f080d;
/* SwiftUI */
Color(red: 0.498, green: 0.031, blue: 0.051)
/* Android */
Color.parseColor("#7f080d")
/* Flutter */
Color(0xFF7F080D)
/* Python / OpenCV (BGR) */
(13, 8, 127)

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

Accessibility — WCAG contrast

Aa
#7f080d on white: 10.81:1
AA ✓ pass · AA-large · AAA
Aa
#7f080d on black: 1.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #342D0B
deuteranopia · #4F4605
tritanopia · #8D000D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #7f080d 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
#FAE5E6
#F8C4C6
#F8959A
#F56167
#F22C34
#E60F18
#C00C14
#990A10
#7f080d
#45070A
Base = 900Lightest = 50 · #FDF2F2Darkest = 950 · #45070A
:root {
  --brand-50: #FDF2F2;
  --brand-100: #FAE5E6;
  --brand-200: #F8C4C6;
  --brand-300: #F8959A;
  --brand-400: #F56167;
  --brand-500: #F22C34;
  --brand-600: #E60F18;
  --brand-700: #C00C14;
  --brand-800: #990A10;
  --brand-900: #7f080d;
  --brand-950: #45070A;
  --brand: #7f080d;
  --brand-ink: #ffffff;
}

Colors that work with #7f080d

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#EDC0C2
Hairlines and dividers
Muted text#9B4B4E
Captions on the surface
Accent#05825E
Second voice, not a rival
Dark variant#78080C
Hover, pressed, headers
Light variant#FDE7E8
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 #7f080d

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#087F7A
Analogous left#7F0849
Analogous right#7F3F08
Split-complement 1#087F3F
Split-complement 2#08497F
Triadic 1#0D7F08
Triadic 2#080D7F
Tetradic#497F08

RGB percentages

Red49.8%
Green3.1%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta93.7%
Yellow89.8%
Key (black)50.2%

Color previews

#7f080d text on a black background

contrast 1.94:1

Card sample

#7f080d text on a white background

contrast 10.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7f080d

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.

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

#7f080d, answered

What color is #7f080d?

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

What is the RGB value of #7f080d?

rgb(127, 8, 13) — 127 red, 8 green and 13 blue out of 255, or 49.8% / 3.1% / 5.1% by channel.

Is #7f080d a light or a dark color?

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

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

White. It scores 10.81:1 against #7f080d, versus 1.94:1 for black — AAA at any size.

What is the complementary color of #7f080d?

#087F7A sits directly opposite on the wheel. Softer options are the split-complements #087F3F and #08497F, which give the same contrast with far less vibration.

What colors go well with #7f080d?

For interface work: #FAF4F5 as the surface, #EDC0C2 for borders, #9B4B4E for secondary text, #05825E as an accent and #78080C for hover and pressed states. For a palette, the analogous pair #7F0849 and #7F3F08 stays calm, while #087F7A is the loudest partner.

What is #7f080d in CMYK for printing?

cmyk(0%, 94%, 90%, 50%). 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 #7f080d warm or cool?

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

Work with #7f080d in the Color Lab