#B21F20

Closest named color: Firebrick (#B22222). oklch(49.4% 0.182 26.8), rgb(178, 31, 32).

Aa

White text reads best on this color (6.75:1).

About this color

#B21F20 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.182 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.003 away. White text reads best on it, at 6.75:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.182)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.10:1
White text6.75:1

Values

HEX#B21F20
RGBrgb(178, 31, 32)
HSLhsl(360, 70%, 41%)
OKLCHoklch(49.4% 0.182 26.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #B21F20 6.75:1 AA Lc -86.7 Fine for body text
Black text on #B21F20 3.10:1 AA large text Lc 22.5 Dividers and decoration only
#B21F20 text on white 6.75:1 AA Lc 81.5 Fine for body text
#B21F20 text on black 3.10:1 AA large text Lc -20.3 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F8CEC8

    oklch(88.6% 0.048 27.6)

  4. Step 300

    300

    #F4ABA2

    oklch(80.9% 0.088 27)

  5. Step 400

    400

    #EB7B70

    oklch(70.7% 0.14 27)

  6. Step 500

    500

    #E2524A

    oklch(63.1% 0.181 26.7)

  7. Step 600

    600

    #CD2E2C

    oklch(55.6% 0.196 26.9)

  8. Step 700

    700 (this color)

    #B21F20

    oklch(49.4% 0.182 26.8)

  9. Step 800

    800

    #901D1C

    oklch(42.8% 0.151 26.8)

  10. Step 900

    900

    #73201C

    oklch(37.6% 0.117 27.1)

  11. Step 950

    950

    #441411

    oklch(26.9% 0.075 26.9)

Export this scale for Tailwind in the Tailwind colors tool

#B21F20 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#50471E0.197
Deuteranopia (no green cones)#7367180.181
Tritanopia (no blue cones)#C500220.038
Achromatopsia (no color)#5B5B5B0.183

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #B21F20

    #B21F20

    oklch(49.4% 0.182 26.8)

  • #006F7A

    #006F7A

    oklch(49.5% 0.085 206.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B21F20

    #B21F20

    oklch(49.4% 0.182 26.8)

  • #AA1E63

    #AA1E63

    oklch(49.4% 0.182 356.9)

  • #934C00

    #934C00

    oklch(49.4% 0.12 56.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #B21F20

    #B21F20

    oklch(49.4% 0.182 26.8)

  • #007260

    #007260

    oklch(49.3% 0.092 176.7)

  • #006997

    #006997

    oklch(49.4% 0.108 237.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B21F20

    #B21F20

    oklch(49.4% 0.182 26.8)

  • #007727

    #007727

    oklch(49.6% 0.149 146.7)

  • #3355C7

    #3355C7

    oklch(49.4% 0.182 266.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B21F20

    #B21F20

    oklch(49.4% 0.182 26.8)

  • #5E6900

    #5E6900

    oklch(49.4% 0.114 116.7)

  • #006F7A

    #006F7A

    oklch(49.5% 0.085 206.8)

  • #6F41BA

    #6F41BA

    oklch(49.5% 0.181 296.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B21F20, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #B21F20 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.