CSS Named Color Reference

Fire Brick Color Code

Fire Brick·#B22222

Red FamilyWarmMid toneMid saturationoklch(49.7% 0.180 27)
HEX
#B22222Primary token
RGB
rgb(178, 34, 34)Screen values
HSL
hsl(0 68% 42%)Hue and lightness
CMYK
0, 81, 81, 30Print handoff
LAB
39, 56, 38Perceptual reference
OKLCH
oklch(49.7% 0.180 27)Modern perceptual

Fire Brick is a mid-tone, balanced CSS named color at #B22222. If you searched for fire brick hex code, B22222, or fire brick RGB, this page gives the exact color value, conversion formats, contrast checks, nearby colors, and links into the lookup and converter workflows.

Best text colorWhite text
Body text contrast6.68:1
Best UseAlerts, destructive actions, high-energy CTAs, and urgent interface signals

Tonal Scale

100#F1D7D7
300#DC9999
500#C04A4A
600#B22222
800#801818

Contrast Checks

White text on this color

Buttons, badges, and filled actions.

6.68:1Safe for body text

Dark text on this color

Large headings and selective UI.

2.57:1Needs more separation

This color on light surface

Links, borders, and icons on light UI.

6.34:1Safe for body text
Best text colorWhite textContrast 6.68:1

Professional Reference

OKLCHoklch(49.7% 0.180 27)
Relative Luminance0.1072
Source TypeCSS Named Color
Classification
Red FamilyWarmMid toneMid saturation
Source Context
Source Type
CSS Named Color
System
CSS
Closest Matches
Ant Design Red 8Material Red 900Tailwind Red 700
Color Notes
  • Fire Brick is kept as an exact CSS named color for #B22222.
  • Queries for fire brick color code, B22222, or fire brick RGB usually need the value first, then contrast and implementation context.

Accessibility Matrix

White text on this color

White text placed on the current color.

6.68:1AA

Dark text on this color

Dark text or headings on the current color.

2.57:1Needs more separation

This color on light surface

Use this color for links, strokes, or icons on light UI.

6.34:1AA

This color on dark surface

Use this color inside dark shells for strokes, tags, or icons.

2.57:1Needs more separation
Best text colorWhite textContrast 6.68:1 · AA

Where It Works

  • Use it for alerts, errors, destructive actions, urgent badges, and high-energy accents.
  • Keep red focused because broad red surfaces can feel heavy or stressful.
  • Pair with white, warm neutrals, deep red shades, and restrained supporting colors.

Reference Notes

Last Updated
2026-09-03
Source Library
CSS Standard Colors
Methodology
Verified source values + site guidance
Color Notes

Fire Brick is sourced from the published CSS Standard Colors library and retained here as a searchable reference swatch for product and interface reference work.

Hue Family

High-energy warm reds for editorial and alerts.

Source Collections
CSS Named Colors

Related Colors

Palette Starting Points

Implementation Snippets

CSS Variables
:root {
  --color-fire-brick: #B22222;
  --color-fire-brick-rgb: 178 34 34;
}
Utility Class
class="bg-[#B22222] text-white"
class="hover:bg-[#801818] ring-1 ring-[#B22222]"
JSON Token
{
  "fireBrick": "#B22222",
  "fireBrickRgb": [178, 34, 34],
  "fireBrickHsl": [0, 68, 42]
}