CSS named colour

Fire Brick

#b22222

A CSS named colour: firebrick is valid anywhere a colour is expected.

RGB
rgb(178 34 34)
HSL
0°, 68%, 42%
OKLCh
49.7% 0.180 26.8

Open in the picker

Fire Brick in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#b22222
RGBrgb(178 34 34)
RGB legacyrgb(178, 34, 34)
RGB percentrgb(69.8% 13.33% 13.33%)
HSLhsl(0 67.9% 41.6%)
HSL legacyhsl(0, 67.9%, 41.6%)
HSV / HSBhsv(0, 80.9%, 69.8%)
HWBhwb(0 13.3% 30.2%)
Nearest namefirebrick
CMYKcmyk(0%, 80.9%, 80.9%, 30.2%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.

OKLChoklch(49.677% 0.17969 26.815)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(49.677% 0.16037 0.08106)
CIE LChlch(39.831% 68.832 34.701)
CIE Lablab(39.831% 56.589 39.186)
Display P3color(display-p3 0.6414 0.1906 0.1654)
Rec. 2020color(rec2020 0.5259 0.1748 0.1022)
srgb-linearcolor(srgb-linear 0.4452 0.016 0.016)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.1922 0.1073 0.0257)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 — sRGBvec3(0.698, 0.133, 0.133)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.445, 0.016, 0.016)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.698, 0.133, 0.133, 1.0)
GLSL vec4 — linearvec4(0.445, 0.016, 0.016, 1.0)
GLSL ivec3ivec3(178, 34, 34)
HLSL float3 — sRGBfloat3(0.698, 0.133, 0.133)
HLSL float3 — linearfloat3(0.445, 0.016, 0.016)
HLSL float4 — sRGBfloat4(0.698, 0.133, 0.133, 1.0)
HLSL half4 — sRGBhalf4(0.698, 0.133, 0.133, 1.0)
WGSL vec3f — sRGBvec3f(0.698, 0.133, 0.133)
WGSL vec4f — sRGBvec4f(0.698, 0.133, 0.133, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.445, 0.016, 0.016)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(0.698f, 0.133f, 0.133f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(178, 34, 34, 255)
Unreal FLinearColorFLinearColor(0.4452f, 0.016f, 0.016f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(178, 34, 34, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.698, 0.133, 0.133, 1)
Flutter ColorColor(0xFFB22222)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(178, 34, 34)
SwiftUI ColorColor(red: 0.698, green: 0.133, blue: 0.133)
UIKit UIColorUIColor(red: 0.698, green: 0.133, blue: 0.133, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0xB22222
0x hex (ARGB)0xFFB22222
Array 0–1[0.698, 0.133, 0.133]
Array 0–255[178, 34, 34]
Decimal integer11674146

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Fire Brick on white6.68:1AALc 81Body text, 18px and up
Fire Brick on black3.14:1AA LargeLc 21Not usable for text

Fire Brick text on a white background

Fire Brick text on a black background

White text on Fire Brick

Black text on Fire Brick

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#fff0ec
  • 100#ffe2dc
  • 200#ffc9c1
  • 300#ffa69b
  • 400#ff776c
  • 500#e4544c
  • 600#c33a35
  • 700#a32321
  • 800#880d12
  • 900#700005
  • 950#490000

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#c35048
  • Tint 2#d3756b
  • Tint 3#e1988f
  • Tint 4#edbab3
  • Tint 5#f7dcd9
  • Shade 1#8b1818
  • Shade 2#660f0f
  • Shade 3#430707
  • Shade 4#230202
  • Shade 5#070000

Colours that work with Fire Brick

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #007280
  • #007b0e
  • #3456c7
  • #aa2164
  • #9c4700

Closest CSS names

  • firebrickexact match
  • brownΔEok 0.026
  • siennaΔEok 0.084
  • crimsonΔEok 0.089
  • saddlebrownΔEok 0.093
  • darkredΔEok 0.098