Skip to content

#b2002b

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

RGB
178, 0, 43
HSL
346°, 100%, 35%
CMYK
0, 100, 76, 30
Luminance
0.0964

At a glance

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

Hex
#b2002b
Hue
346°
red
Saturation
100%
electric
Lightness
35%
dark
Brightness
70%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0964
WCAG relative
Temperature
Warm
25/100 cool
Color family
Red
Tone
Electric
Best ink
White
7.17:1
Closest name
Brown
ΔE2000 4.4
Where it sits
Hue346° of 360°
Saturation100%
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#b2002b
RGBrgb(178, 0, 43)
HSLhsl(346, 100%, 35%)
CMYKcmyk(0%, 100%, 76%, 30%)
LABlab(37.2 62.0 30.3)
LCHlch(37.2 69.0 26.0)
OKLCHoklch(0.483 0.194 20.4)
Decimal11665451
Display P3color(display-p3 0.698 0.000 0.169)

Copy-ready code

/* CSS */
color: #b2002b;
background-color: #b2002b;
/* Tailwind (arbitrary) */
class="text-[#b2002b] bg-[#b2002b]"
/* SCSS */
$brand: #b2002b;
/* SwiftUI */
Color(red: 0.698, green: 0.000, blue: 0.169)
/* Android */
Color.parseColor("#b2002b")
/* Flutter */
Color(0xFFB2002B)
/* Python / OpenCV (BGR) */
(43, 0, 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 #b2002b · 7.17:1
Use #ffffffAAA at every size.
Aa
White text · 7.17: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: #b2002b as text scores 7.17:1 on white and 2.93:1 on black.

Accessibility — WCAG contrast

Aa
#b2002b on white: 7.17:1
AA ✓ pass · AA-large · AAA
Aa
#b2002b on black: 2.93:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #47412B
deuteranopia · #6F6325
tritanopia · #C40019

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #b2002b 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
#FCC0CE
#FF8FAA
#FF577F
#FF1F55
#F5003B
#CC0031
#b2002b
#760520
#490314
Base = 800Lightest = 50 · #FEF1F4Darkest = 950 · #490314
:root {
  --brand-50: #FEF1F4;
  --brand-100: #FCE3E9;
  --brand-200: #FCC0CE;
  --brand-300: #FF8FAA;
  --brand-400: #FF577F;
  --brand-500: #FF1F55;
  --brand-600: #F5003B;
  --brand-700: #CC0031;
  --brand-800: #b2002b;
  --brand-900: #760520;
  --brand-950: #490314;
  --brand: #b2002b;
  --brand-ink: #ffffff;
}

Colors that work with #b2002b

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#00CC67
Second voice, not a rival
Dark variant#80001F
Hover, pressed, headers
Light variant#FFE5EC
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 #b2002b

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#00B287
Analogous left#B20084
Analogous right#B22E00
Split-complement 1#00B22E
Split-complement 2#0084B2
Triadic 1#2BB200
Triadic 2#002BB2
Tetradic#84B200

RGB percentages

Red69.8%
Green0.0%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow75.8%
Key (black)30.2%

Color previews

#b2002b text on a black background

contrast 2.93:1

Card sample

#b2002b text on a white background

contrast 7.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2002b

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.

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

#b2002b, answered

What color is #b2002b?

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

What is the RGB value of #b2002b?

rgb(178, 0, 43) — 178 red, 0 green and 43 blue out of 255, or 69.8% / 0% / 16.9% by channel.

Is #b2002b a light or a dark color?

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

Should I use black or white text on #b2002b?

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

What is the complementary color of #b2002b?

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

What colors go well with #b2002b?

For interface work: #FAF4F6 as the surface, #EDC0CB for borders, #9B4B5E for secondary text, #00CC67 as an accent and #80001F for hover and pressed states. For a palette, the analogous pair #B20084 and #B22E00 stays calm, while #00B287 is the loudest partner.

What is #b2002b in CMYK for printing?

cmyk(0%, 100%, 76%, 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 #b2002b 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 #B21600; nudged cooler, #B2006C.

Work with #b2002b in the Color Lab