Skip to content

#7b112b

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

RGB
123, 17, 43
HSL
345°, 76%, 28%
CMYK
0, 86, 65, 52
Luminance
0.0479

At a glance

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

Hex
#7b112b
Hue
345°
red
Saturation
76%
electric
Lightness
28%
dark
Brightness
48%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0479
WCAG relative
Temperature
Warm
25/100 cool
Color family
Red
Tone
Electric
Best ink
White
10.73:1
Closest name
Brown
ΔE2000 12.3
Where it sits
Hue345° of 360°
Saturation76%
Lightness28%
Temperature
Warm ← → Cool25% 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#7b112b
RGBrgb(123, 17, 43)
HSLhsl(345, 76%, 28%)
CMYKcmyk(0%, 86%, 65%, 52%)
LABlab(26.1 44.7 14.0)
LCHlch(26.1 46.8 17.4)
OKLCHoklch(0.381 0.138 14.2)
Decimal8065323
Display P3color(display-p3 0.482 0.067 0.169)

Copy-ready code

/* CSS */
color: #7b112b;
background-color: #7b112b;
/* Tailwind (arbitrary) */
class="text-[#7b112b] bg-[#7b112b]"
/* SCSS */
$brand: #7b112b;
/* SwiftUI */
Color(red: 0.482, green: 0.067, blue: 0.169)
/* Android */
Color.parseColor("#7b112b")
/* Flutter */
Color(0xFF7B112B)
/* Python / OpenCV (BGR) */
(43, 17, 123)

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

Accessibility — WCAG contrast

Aa
#7b112b on white: 10.73:1
AA ✓ pass · AA-large · AAA
Aa
#7b112b on black: 1.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #31302B
deuteranopia · #4C4628
tritanopia · #87001D

Color scale — 50 to 950

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

#FCF3F5
#F9E7EB
#F4C8D3
#F19CB1
#EB6B8A
#E43A63
#D71E4B
#B3193F
#8F1432
#7b112b
#410C19
Base = 900Lightest = 50 · #FCF3F5Darkest = 950 · #410C19
:root {
  --brand-50: #FCF3F5;
  --brand-100: #F9E7EB;
  --brand-200: #F4C8D3;
  --brand-300: #F19CB1;
  --brand-400: #EB6B8A;
  --brand-500: #E43A63;
  --brand-600: #D71E4B;
  --brand-700: #B3193F;
  --brand-800: #8F1432;
  --brand-900: #7b112b;
  --brand-950: #410C19;
  --brand: #7b112b;
  --brand-ink: #ffffff;
}

Colors that work with #7b112b

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#EDC0CB
Hairlines and dividers
Muted text#9B4B5E
Captions on the surface
Accent#0E7E47
Second voice, not a rival
Dark variant#700F27
Hover, pressed, headers
Light variant#FCE9ED
Selected rows, tints
Dark surface#241418
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 #7b112b

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#117B61
Analogous left#7B1160
Analogous right#7B2C11
Split-complement 1#117B2C
Split-complement 2#11607B
Triadic 1#2B7B11
Triadic 2#112B7B
Tetradic#607B11

RGB percentages

Red48.2%
Green6.7%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta86.2%
Yellow65.0%
Key (black)51.8%

Color previews

#7b112b text on a black background

contrast 1.96:1

Card sample

#7b112b text on a white background

contrast 10.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(123, 17, 43, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(123, 17, 43, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7b112b;
background: linear-gradient(135deg, #7b112b, #7B3E11);

Monochromatic scale

Palettes built from #7b112b

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.

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

#7b112b, answered

What color is #7b112b?

#7b112b is a dark electric red, closest to Brown (ΔE2000 12.3). It sits at 345° on the hue wheel with 76% saturation and 28% lightness, which reads as warm.

What is the RGB value of #7b112b?

rgb(123, 17, 43) — 123 red, 17 green and 43 blue out of 255, or 48.2% / 6.7% / 16.9% by channel.

Is #7b112b a light or a dark color?

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

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

White. It scores 10.73:1 against #7b112b, versus 1.96:1 for black — AAA at any size.

What is the complementary color of #7b112b?

#117B61 sits directly opposite on the wheel. Softer options are the split-complements #117B2C and #11607B, which give the same contrast with far less vibration.

What colors go well with #7b112b?

For interface work: #FAF4F6 as the surface, #EDC0CB for borders, #9B4B5E for secondary text, #0E7E47 as an accent and #700F27 for hover and pressed states. For a palette, the analogous pair #7B1160 and #7B2C11 stays calm, while #117B61 is the loudest partner.

What is #7b112b in CMYK for printing?

cmyk(0%, 86%, 65%, 52%). 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 #7b112b warm or cool?

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

Work with #7b112b in the Color Lab