Skip to content

#8e0121

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

RGB
142, 1, 33
HSL
346°, 99%, 28%
CMYK
0, 99, 77, 44
Luminance
0.0588

At a glance

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

Hex
#8e0121
Hue
346°
red
Saturation
99%
electric
Lightness
28%
dark
Brightness
56%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0588
WCAG relative
Temperature
Warm
24/100 cool
Color family
Red
Tone
Electric
Best ink
White
9.65:1
Closest name
Brown
ΔE2000 7.6
Where it sits
Hue346° of 360°
Saturation99%
Lightness28%
Temperature
Warm ← → Cool24% 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#8e0121
RGBrgb(142, 1, 33)
HSLhsl(346, 99%, 28%)
CMYKcmyk(0%, 99%, 77%, 44%)
LABlab(29.1 52.4 25.3)
LCHlch(29.1 58.2 25.7)
OKLCHoklch(0.409 0.164 20.2)
Decimal9306401
Display P3color(display-p3 0.557 0.004 0.129)

Copy-ready code

/* CSS */
color: #8e0121;
background-color: #8e0121;
/* Tailwind (arbitrary) */
class="text-[#8e0121] bg-[#8e0121]"
/* SCSS */
$brand: #8e0121;
/* SwiftUI */
Color(red: 0.557, green: 0.004, blue: 0.129)
/* Android */
Color.parseColor("#8e0121")
/* Flutter */
Color(0xFF8E0121)
/* Python / OpenCV (BGR) */
(33, 1, 142)

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

Accessibility — WCAG contrast

Aa
#8e0121 on white: 9.65:1
AA ✓ pass · AA-large · AAA
Aa
#8e0121 on black: 2.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #373321
deuteranopia · #574E1C
tritanopia · #9D0012

Color scale — 50 to 950

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

#FEF1F4
#FCE3E9
#FBC0CE
#FE90A9
#FE587D
#FD2052
#F30238
#CB012F
#8e0121
#75061F
#490413
Base = 800Lightest = 50 · #FEF1F4Darkest = 950 · #490413
:root {
  --brand-50: #FEF1F4;
  --brand-100: #FCE3E9;
  --brand-200: #FBC0CE;
  --brand-300: #FE90A9;
  --brand-400: #FE587D;
  --brand-500: #FD2052;
  --brand-600: #F30238;
  --brand-700: #CB012F;
  --brand-800: #8e0121;
  --brand-900: #75061F;
  --brand-950: #490413;
  --brand: #8e0121;
  --brand-ink: #ffffff;
}

Colors that work with #8e0121

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#FAF4F6
Tinted page background
Border#EDC0CA
Hairlines and dividers
Muted text#9B4B5D
Captions on the surface
Accent#008F4B
Second voice, not a rival
Dark variant#7F011D
Hover, pressed, headers
Light variant#FFE6EB
Selected rows, tints
Dark surface#241417
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 #8e0121

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#018E6E
Analogous left#8E0167
Analogous right#8E2701
Split-complement 1#018E27
Split-complement 2#01678E
Triadic 1#218E01
Triadic 2#01218E
Tetradic#678E01

RGB percentages

Red55.7%
Green0.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta99.3%
Yellow76.8%
Key (black)44.3%

Color previews

#8e0121 text on a black background

contrast 2.18:1

Card sample

#8e0121 text on a white background

contrast 9.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8e0121

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.

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

#8e0121, answered

What color is #8e0121?

#8e0121 is a dark electric red, closest to Brown (ΔE2000 7.6). It sits at 346° on the hue wheel with 99% saturation and 28% lightness, which reads as warm.

What is the RGB value of #8e0121?

rgb(142, 1, 33) — 142 red, 1 green and 33 blue out of 255, or 55.7% / 0.4% / 12.9% by channel.

Is #8e0121 a light or a dark color?

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

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

White. It scores 9.65:1 against #8e0121, versus 2.18:1 for black — AAA at any size.

What is the complementary color of #8e0121?

#018E6E sits directly opposite on the wheel. Softer options are the split-complements #018E27 and #01678E, which give the same contrast with far less vibration.

What colors go well with #8e0121?

For interface work: #FAF4F6 as the surface, #EDC0CA for borders, #9B4B5D for secondary text, #008F4B as an accent and #7F011D for hover and pressed states. For a palette, the analogous pair #8E0167 and #8E2701 stays calm, while #018E6E is the loudest partner.

What is #8e0121 in CMYK for printing?

cmyk(0%, 99%, 77%, 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 #8e0121 warm or cool?

Warm — it scores 24 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8E1501; nudged cooler, #8F0055.

Work with #8e0121 in the Color Lab