Skip to content

#8f080c

a dark, electric red · warm · closest name: Dark Red

RGB
143, 8, 12
HSL
358°, 89%, 30%
CMYK
0, 94, 92, 44
Luminance
0.0604

At a glance

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

Hex
#8f080c
Hue
358°
red
Saturation
89%
electric
Lightness
30%
dark
Brightness
56%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0604
WCAG relative
Temperature
Warm
18/100 cool
Color family
Red
Tone
Electric
Best ink
White
9.51:1
Closest name
Dark Red
ΔE2000 2
Where it sits
Hue358° of 360°
Saturation89%
Lightness30%
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#8f080c
RGBrgb(143, 8, 12)
HSLhsl(358, 89%, 30%)
CMYKcmyk(0%, 94%, 92%, 44%)
LABlab(29.5 51.0 37.9)
LCHlch(29.5 63.5 36.6)
OKLCHoklch(0.412 0.163 27.8)
Decimal9373708
Display P3color(display-p3 0.561 0.031 0.047)

Copy-ready code

/* CSS */
color: #8f080c;
background-color: #8f080c;
/* Tailwind (arbitrary) */
class="text-[#8f080c] bg-[#8f080c]"
/* SCSS */
$brand: #8f080c;
/* SwiftUI */
Color(red: 0.561, green: 0.031, blue: 0.047)
/* Android */
Color.parseColor("#8f080c")
/* Flutter */
Color(0xFF8F080C)
/* Python / OpenCV (BGR) */
(12, 8, 143)

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

Accessibility — WCAG contrast

Aa
#8f080c on white: 9.51:1
AA ✓ pass · AA-large · AAA
Aa
#8f080c on black: 2.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3B3409
deuteranopia · #5A4F01
tritanopia · #9E000D

Color scale — 50 to 950

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

#FDF2F2
#FBE5E5
#F8C4C5
#F99598
#F66064
#F32A31
#E80D14
#C10B10
#8f080c
#700B0E
#460709
Base = 800Lightest = 50 · #FDF2F2Darkest = 950 · #460709
:root {
  --brand-50: #FDF2F2;
  --brand-100: #FBE5E5;
  --brand-200: #F8C4C5;
  --brand-300: #F99598;
  --brand-400: #F66064;
  --brand-500: #F32A31;
  --brand-600: #E80D14;
  --brand-700: #C10B10;
  --brand-800: #8f080c;
  --brand-900: #700B0E;
  --brand-950: #460709;
  --brand: #8f080c;
  --brand-ink: #ffffff;
}

Colors that work with #8f080c

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#EDC0C1
Hairlines and dividers
Muted text#9B4B4D
Captions on the surface
Accent#05926A
Second voice, not a rival
Dark variant#79070A
Hover, pressed, headers
Light variant#FEE7E8
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 #8f080c

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#088F8B
Analogous left#8F0850
Analogous right#8F4708
Split-complement 1#088F47
Split-complement 2#08508F
Triadic 1#0C8F08
Triadic 2#080C8F
Tetradic#508F08

RGB percentages

Red56.1%
Green3.1%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta94.4%
Yellow91.6%
Key (black)43.9%

Color previews

#8f080c text on a black background

contrast 2.21:1

Card sample

#8f080c text on a white background

contrast 9.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8f080c;
Background color
Panel with #8f080c background
background-color: #8f080c;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8f080c

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.

#8f080c 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.

#8f080c, answered

What color is #8f080c?

#8f080c is a dark electric red, closest to Dark Red (ΔE2000 2). It sits at 358° on the hue wheel with 89% saturation and 30% lightness, which reads as warm.

What is the RGB value of #8f080c?

rgb(143, 8, 12) — 143 red, 8 green and 12 blue out of 255, or 56.1% / 3.1% / 4.7% by channel.

Is #8f080c a light or a dark color?

It is a dark color. Relative luminance is 0.0604 and perceived brightness is 31%, so white text on it reaches 9.51:1.

Should I use black or white text on #8f080c?

White. It scores 9.51:1 against #8f080c, versus 2.21:1 for black — AAA at any size.

What is the complementary color of #8f080c?

#088F8B sits directly opposite on the wheel. Softer options are the split-complements #088F47 and #08508F, which give the same contrast with far less vibration.

What colors go well with #8f080c?

For interface work: #FAF4F4 as the surface, #EDC0C1 for borders, #9B4B4D for secondary text, #05926A as an accent and #79070A for hover and pressed states. For a palette, the analogous pair #8F0850 and #8F4708 stays calm, while #088F8B is the loudest partner.

What is #8f080c in CMYK for printing?

cmyk(0%, 94%, 92%, 44%). 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 #8f080c 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 #8F2B08; nudged cooler, #90063D.

Work with #8f080c in the Color Lab