Skip to content

#b2012c

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

RGB
178, 1, 44
HSL
345°, 99%, 35%
CMYK
0, 99, 75, 30
Luminance
0.0967

At a glance

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

Hex
#b2012c
Hue
345°
red
Saturation
99%
electric
Lightness
35%
dark
Brightness
70%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0967
WCAG relative
Temperature
Warm
25/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.16:1
Closest name
Brown
ΔE2000 4.6
Where it sits
Hue345° of 360°
Saturation99%
Lightness35%
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#b2012c
RGBrgb(178, 1, 44)
HSLhsl(345, 99%, 35%)
CMYKcmyk(0%, 99%, 75%, 30%)
LABlab(37.3 62.0 29.7)
LCHlch(37.3 68.7 25.6)
OKLCHoklch(0.483 0.194 20.1)
Decimal11665708
Display P3color(display-p3 0.698 0.004 0.173)

Copy-ready code

/* CSS */
color: #b2012c;
background-color: #b2012c;
/* Tailwind (arbitrary) */
class="text-[#b2012c] bg-[#b2012c]"
/* SCSS */
$brand: #b2012c;
/* SwiftUI */
Color(red: 0.698, green: 0.004, blue: 0.173)
/* Android */
Color.parseColor("#b2012c")
/* Flutter */
Color(0xFFB2012C)
/* Python / OpenCV (BGR) */
(44, 1, 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 #b2012c · 7.16:1
Use #ffffffAAA at every size.
Aa
White text · 7.16:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.93:1
AA fail · AA large fail · AAA fail
Reading the other direction: #b2012c as text scores 7.16:1 on white and 2.93:1 on black.

Accessibility — WCAG contrast

Aa
#b2012c on white: 7.16:1
AA ✓ pass · AA-large · AAA
Aa
#b2012c on black: 2.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #47422C
deuteranopia · #6F6326
tritanopia · #C40019

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b2012c 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
#FBC0CF
#FE8FAA
#FE5880
#FE2056
#F3013C
#CB0132
#b2012c
#750621
#490314
Base = 800Lightest = 50 · #FEF1F4Darkest = 950 · #490314
:root {
  --brand-50: #FEF1F4;
  --brand-100: #FCE3E9;
  --brand-200: #FBC0CF;
  --brand-300: #FE8FAA;
  --brand-400: #FE5880;
  --brand-500: #FE2056;
  --brand-600: #F3013C;
  --brand-700: #CB0132;
  --brand-800: #b2012c;
  --brand-900: #750621;
  --brand-950: #490314;
  --brand: #b2012c;
  --brand-ink: #ffffff;
}

Colors that work with #b2012c

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#00CC68
Second voice, not a rival
Dark variant#7F011F
Hover, pressed, headers
Light variant#FFE6EC
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 #b2012c

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#01B287
Analogous left#B20185
Analogous right#B22E01
Split-complement 1#01B22E
Split-complement 2#0185B2
Triadic 1#2CB201
Triadic 2#012CB2
Tetradic#85B201

RGB percentages

Red69.8%
Green0.4%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta99.4%
Yellow75.3%
Key (black)30.2%

Color previews

#b2012c text on a black background

contrast 2.93:1

Card sample

#b2012c text on a white background

contrast 7.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2012c

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.

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

#b2012c, answered

What color is #b2012c?

#b2012c is a dark electric red, closest to Brown (ΔE2000 4.6). It sits at 345° on the hue wheel with 99% saturation and 35% lightness, which reads as warm.

What is the RGB value of #b2012c?

rgb(178, 1, 44) — 178 red, 1 green and 44 blue out of 255, or 69.8% / 0.4% / 17.3% by channel.

Is #b2012c a light or a dark color?

It is a dark color. Relative luminance is 0.0967 and perceived brightness is 39%, so white text on it reaches 7.16:1.

Should I use black or white text on #b2012c?

White. It scores 7.16:1 against #b2012c, versus 2.93:1 for black — AAA at any size.

What is the complementary color of #b2012c?

#01B287 sits directly opposite on the wheel. Softer options are the split-complements #01B22E and #0185B2, which give the same contrast with far less vibration.

What colors go well with #b2012c?

For interface work: #FAF4F6 as the surface, #EDC0CB for borders, #9B4B5E for secondary text, #00CC68 as an accent and #7F011F for hover and pressed states. For a palette, the analogous pair #B20185 and #B22E01 stays calm, while #01B287 is the loudest partner.

What is #b2012c in CMYK for printing?

cmyk(0%, 99%, 75%, 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 #b2012c 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 #B21701; nudged cooler, #B3006D.

Work with #b2012c in the Color Lab