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
Fire Brick in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #b22222 | |
|---|---|---|
| RGB | rgb(178 34 34) | |
| RGB legacy | rgb(178, 34, 34) | |
| RGB percent | rgb(69.8% 13.33% 13.33%) | |
| HSL | hsl(0 67.9% 41.6%) | |
| HSL legacy | hsl(0, 67.9%, 41.6%) | |
| HSV / HSB | hsv(0, 80.9%, 69.8%) | |
| HWB | hwb(0 13.3% 30.2%) | |
| Nearest name | firebrick | |
| CMYK | cmyk(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.
| OKLCh | oklch(49.677% 0.17969 26.815)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(49.677% 0.16037 0.08106) | |
| CIE LCh | lch(39.831% 68.832 34.701) | |
| CIE Lab | lab(39.831% 56.589 39.186) | |
| Display P3 | color(display-p3 0.6414 0.1906 0.1654) | |
| Rec. 2020 | color(rec2020 0.5259 0.1748 0.1022) | |
| srgb-linear | color(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 — sRGB | vec3(0.698, 0.133, 0.133)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.445, 0.016, 0.016)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.698, 0.133, 0.133, 1.0) | |
| GLSL vec4 — linear | vec4(0.445, 0.016, 0.016, 1.0) | |
| GLSL ivec3 | ivec3(178, 34, 34) | |
| HLSL float3 — sRGB | float3(0.698, 0.133, 0.133) | |
| HLSL float3 — linear | float3(0.445, 0.016, 0.016) | |
| HLSL float4 — sRGB | float4(0.698, 0.133, 0.133, 1.0) | |
| HLSL half4 — sRGB | half4(0.698, 0.133, 0.133, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.698, 0.133, 0.133) | |
| WGSL vec4f — sRGB | vec4f(0.698, 0.133, 0.133, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.445, 0.016, 0.016) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new 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 Color32 | new Color32(178, 34, 34, 255) | |
| Unreal FLinearColor | FLinearColor(0.4452f, 0.016f, 0.016f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(178, 34, 34, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.698, 0.133, 0.133, 1) | |
| Flutter Color | Color(0xFFB22222)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(178, 34, 34) | |
| SwiftUI Color | Color(red: 0.698, green: 0.133, blue: 0.133) | |
| UIKit UIColor | UIColor(red: 0.698, green: 0.133, blue: 0.133, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xB22222 | |
|---|---|---|
| 0x hex (ARGB) | 0xFFB22222 | |
| Array 0–1 | [0.698, 0.133, 0.133] | |
| Array 0–255 | [178, 34, 34] | |
| Decimal integer | 11674146 |
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.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Fire Brick on white | 6.68:1 | AA | Lc 81 | Body text, 18px and up |
| Fire Brick on black | 3.14:1 | AA Large | Lc 21 | Not 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 matchbrownΔEok 0.026siennaΔEok 0.084crimsonΔEok 0.089saddlebrownΔEok 0.093darkredΔEok 0.098