Skip to content

#b23213

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

RGB
178, 50, 19
HSL
12°, 81%, 39%
CMYK
0, 72, 89, 30
Luminance
0.1179

At a glance

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

Hex
#b23213
Hue
12°
red
Saturation
81%
electric
Lightness
39%
dark
Brightness
70%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1179
WCAG relative
Temperature
Warm
10/100 cool
Color family
Red
Tone
Electric
Best ink
White
6.25:1
Closest name
Firebrick
ΔE2000 6.2
Where it sits
Hue12° of 360°
Saturation81%
Lightness39%
Temperature
Warm ← → Cool10% 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#b23213
RGBrgb(178, 50, 19)
HSLhsl(12, 81%, 39%)
CMYKcmyk(0%, 72%, 89%, 30%)
LABlab(40.9 50.3 46.6)
LCHlch(40.9 68.5 42.8)
OKLCHoklch(0.510 0.170 34.2)
Decimal11678227
Display P3color(display-p3 0.698 0.196 0.075)

Copy-ready code

/* CSS */
color: #b23213;
background-color: #b23213;
/* Tailwind (arbitrary) */
class="text-[#b23213] bg-[#b23213]"
/* SCSS */
$brand: #b23213;
/* SwiftUI */
Color(red: 0.698, green: 0.196, blue: 0.075)
/* Android */
Color.parseColor("#b23213")
/* Flutter */
Color(0xFFB23213)
/* Python / OpenCV (BGR) */
(19, 50, 178)

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 #b23213 · 6.25:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.25:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.36:1
AA fail · AA large pass · AAA fail
Reading the other direction: #b23213 as text scores 6.25:1 on white and 3.36:1 on black.

Accessibility — WCAG contrast

Aa
#b23213 on white: 6.25:1
AA ✓ pass · AA-large · AAA
Aa
#b23213 on black: 3.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #594E0C
deuteranopia · #786B08
tritanopia · #C5002D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b23213 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF4F3
#F9EAE6
#F5CFC6
#F4AB9A
#EF8167
#E95834
#DD3E18
#b23213
#932910
#6B2110
#43150A
Base = 700Lightest = 50 · #FCF4F3Darkest = 950 · #43150A
:root {
  --brand-50: #FCF4F3;
  --brand-100: #F9EAE6;
  --brand-200: #F5CFC6;
  --brand-300: #F4AB9A;
  --brand-400: #EF8167;
  --brand-500: #E95834;
  --brand-600: #DD3E18;
  --brand-700: #b23213;
  --brand-800: #932910;
  --brand-900: #6B2110;
  --brand-950: #43150A;
  --brand: #b23213;
  --brand-ink: #ffffff;
}

Colors that work with #b23213

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#FAF5F4
Tinted page background
Border#EDC9C0
Hairlines and dividers
Muted text#9B5A4B
Captions on the surface
Accent#10BCB3
Second voice, not a rival
Dark variant#73200C
Hover, pressed, headers
Light variant#FDECE8
Selected rows, tints
Dark surface#241714
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 #b23213

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
  • 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#1393B2
Analogous left#B21343
Analogous right#B28113
Split-complement 1#13B281
Split-complement 2#1343B2
Triadic 1#13B232
Triadic 2#3213B2
Tetradic#43B213

RGB percentages

Red69.8%
Green19.6%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta71.9%
Yellow89.3%
Key (black)30.2%

Color previews

#b23213 text on a black background

contrast 3.36:1

Card sample

#b23213 text on a white background

contrast 6.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b23213

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.

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

#b23213, answered

What color is #b23213?

#b23213 is a dark electric red, closest to Firebrick (ΔE2000 6.2). It sits at 12° on the hue wheel with 81% saturation and 39% lightness, which reads as warm.

What is the RGB value of #b23213?

rgb(178, 50, 19) — 178 red, 50 green and 19 blue out of 255, or 69.8% / 19.6% / 7.5% by channel.

Is #b23213 a light or a dark color?

It is a dark color. Relative luminance is 0.1179 and perceived brightness is 41%, so white text on it reaches 6.25:1.

Should I use black or white text on #b23213?

White. It scores 6.25:1 against #b23213, versus 3.36:1 for black — AA at any size.

What is the complementary color of #b23213?

#1393B2 sits directly opposite on the wheel. Softer options are the split-complements #13B281 and #1343B2, which give the same contrast with far less vibration.

What colors go well with #b23213?

For interface work: #FAF5F4 as the surface, #EDC9C0 for borders, #9B5A4B for secondary text, #10BCB3 as an accent and #73200C for hover and pressed states. For a palette, the analogous pair #B21343 and #B28113 stays calm, while #1393B2 is the loudest partner.

What is #b23213 in CMYK for printing?

cmyk(0%, 72%, 89%, 30%). 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 #b23213 warm or cool?

Warm — it scores 10 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B24713; nudged cooler, #B4112D.

Work with #b23213 in the Color Lab