#B22222 color codes
- HEX
- #B22222
- HEX8
- #B22222FF
- HEX8 (Android)
- #FFB22222
- RGB
- rgb(178, 34, 34)
- RGB (%)
- 70%, 13%, 13%
- HSL
- hsl(0, 68%, 42%)
- HSV / HSB
- hsv(0, 81%, 70%)
- CMYK
- cmyk(0%, 81%, 81%, 30%)
- OKLCH
- oklch(0.4968 0.1797 26.81)
- OKLCH (%)
- oklch(49.68% 0.1797 26.81)
- Decimal
- 11674146
What color is #B22222?
#B22222 sits at 50% lightness and 0.1797 chroma in OKLCH, hue 26.81°. Its nearest named color is FireBrick (an exact match).
Shades and tints of #B22222
Tints
Shades
Tones
#B22222 color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #B22222 in CSS
.text { color: #B22222; }
.background { background-color: #B22222; }
.border { border: 2px solid #B22222; }
/* Modern, perceptually uniform */
.text { color: oklch(0.4968 0.1797 26.81); }
/* #B22222 at 50% transparency */
.overlay { background-color: #B2222280; }Is #B22222 accessible?
#B22222 on white text scores 6.68:1; on black text it scores 3.14:1. White text passes WCAG AA for normal text on #B22222. Recommended text color on a #B22222 background: white.
A 3.14:1 vs black
A 6.68:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Fail
- AAA large ≥ 4.5 Pass
Recommended text color: white
CSS
contrast-color() contrast-color(#B22222) → white APCA Lc experimental 86.4 Lc · body text (white text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
See more in the brown family on the colors hub.
Frequently asked questions
- What color is #B22222?
- #B22222 is FireBrick. In RGB it is rgb(178, 34, 34), and in HSL hsl(0, 68%, 42%).
- What is #B22222 in RGB?
- #B22222 converts to rgb(178, 34, 34) — red 178, green 34, blue 34.
- What text color is readable on #B22222?
- White text — it has the higher contrast ratio (6.68:1) against #B22222. White text passes WCAG AA for normal text on #B22222.