Skip to content

#b02a02

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

RGB
176, 42, 2
HSL
14°, 98%, 35%
CMYK
0, 76, 99, 31
Luminance
0.1089

At a glance

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

Hex
#b02a02
Hue
14°
red
Saturation
98%
electric
Lightness
35%
dark
Brightness
69%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1089
WCAG relative
Temperature
Warm
9/100 cool
Color family
Red
Tone
Electric
Best ink
White
6.61:1
Closest name
Firebrick
ΔE2000 7.5
Where it sits
Hue14° of 360°
Saturation98%
Lightness35%
Temperature
Warm ← → Cool9% 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#b02a02
RGBrgb(176, 42, 2)
HSLhsl(14, 98%, 35%)
CMYKcmyk(0%, 76%, 99%, 31%)
LABlab(39.4 52.3 51.4)
LCHlch(39.4 73.3 44.5)
OKLCHoklch(0.498 0.175 34.5)
Decimal11545090
Display P3color(display-p3 0.690 0.165 0.008)

Copy-ready code

/* CSS */
color: #b02a02;
background-color: #b02a02;
/* Tailwind (arbitrary) */
class="text-[#b02a02] bg-[#b02a02]"
/* SCSS */
$brand: #b02a02;
/* SwiftUI */
Color(red: 0.690, green: 0.165, blue: 0.008)
/* Android */
Color.parseColor("#b02a02")
/* Flutter */
Color(0xFFB02A02)
/* Python / OpenCV (BGR) */
(2, 42, 176)

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

Accessibility — WCAG contrast

Aa
#b02a02 on white: 6.61:1
AA ✓ pass · AA-large · AAA
Aa
#b02a02 on black: 3.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #554A00
deuteranopia · #756800
tritanopia · #C30025

Color scale — 50 to 950

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

#FDF4F1
#FCE9E3
#FBCEC1
#FEA990
#FD7E59
#FD5421
#F23A03
#CA3002
#b02a02
#741F06
#491404
Base = 800Lightest = 50 · #FDF4F1Darkest = 950 · #491404
:root {
  --brand-50: #FDF4F1;
  --brand-100: #FCE9E3;
  --brand-200: #FBCEC1;
  --brand-300: #FEA990;
  --brand-400: #FD7E59;
  --brand-500: #FD5421;
  --brand-600: #F23A03;
  --brand-700: #CA3002;
  --brand-800: #b02a02;
  --brand-900: #741F06;
  --brand-950: #491404;
  --brand: #b02a02;
  --brand-ink: #ffffff;
}

Colors that work with #b02a02

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#FAF6F4
Tinted page background
Border#EDCAC0
Hairlines and dividers
Muted text#9B5D4B
Captions on the surface
Accent#00CCC8
Second voice, not a rival
Dark variant#7E1E01
Hover, pressed, headers
Light variant#FFECE6
Selected rows, tints
Dark surface#241814
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 #b02a02

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#0288B0
Analogous left#B00231
Analogous right#B08102
Split-complement 1#02B081
Split-complement 2#0231B0
Triadic 1#02B02A
Triadic 2#2A02B0
Tetradic#31B002

RGB percentages

Red69.0%
Green16.5%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta76.1%
Yellow98.9%
Key (black)31.0%

Color previews

#b02a02 text on a black background

contrast 3.18:1

Card sample

#b02a02 text on a white background

contrast 6.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(176, 42, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 42, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b02a02;
background: linear-gradient(135deg, #b02a02, #B09E02);

Monochromatic scale

Palettes built from #b02a02

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.

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

#b02a02, answered

What color is #b02a02?

#b02a02 is a dark electric red, closest to Firebrick (ΔE2000 7.5). It sits at 14° on the hue wheel with 98% saturation and 35% lightness, which reads as warm.

What is the RGB value of #b02a02?

rgb(176, 42, 2) — 176 red, 42 green and 2 blue out of 255, or 69% / 16.5% / 0.8% by channel.

Is #b02a02 a light or a dark color?

It is a dark color. Relative luminance is 0.1089 and perceived brightness is 40%, so white text on it reaches 6.61:1.

Should I use black or white text on #b02a02?

White. It scores 6.61:1 against #b02a02, versus 3.18:1 for black — AA at any size.

What is the complementary color of #b02a02?

#0288B0 sits directly opposite on the wheel. Softer options are the split-complements #02B081 and #0231B0, which give the same contrast with far less vibration.

What colors go well with #b02a02?

For interface work: #FAF6F4 as the surface, #EDCAC0 for borders, #9B5D4B for secondary text, #00CCC8 as an accent and #7E1E01 for hover and pressed states. For a palette, the analogous pair #B00231 and #B08102 stays calm, while #0288B0 is the loudest partner.

What is #b02a02 in CMYK for printing?

cmyk(0%, 76%, 99%, 31%). 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 #b02a02 warm or cool?

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

Work with #b02a02 in the Color Lab