#B7231A

Closest named color: Firebrick (#B22222). oklch(50.6% 0.185 29.1), rgb(183, 35, 26).

Aa

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

About this color

#B7231A is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.185 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.013 away. White text reads best on it, at 6.42:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.185)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.26:1
White text6.42:1

Values

HEX#B7231A
RGBrgb(183, 35, 26)
HSLhsl(3, 75%, 41%)
OKLCHoklch(50.6% 0.185 29.1)

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 #B7231A 6.42:1 AA Lc -85.4 Fine for body text
Black text on #B7231A 3.26:1 AA large text Lc 23.8 Dividers and decoration only
#B7231A text on white 6.42:1 AA Lc 80.2 Fine for body text
#B7231A text on black 3.26:1 AA large text Lc -21.6 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

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #F8CEC6

    oklch(88.5% 0.049 30.7)

  4. Step 300

    300

    #F5AB9F

    oklch(80.9% 0.09 29.4)

  5. Step 400

    400

    #EC7B6B

    oklch(70.7% 0.142 29.4)

  6. Step 500

    500

    #E35243

    oklch(63.2% 0.183 29.1)

  7. Step 600

    600

    #CE2D22

    oklch(55.6% 0.198 29.1)

  8. Step 700

    700 (this color)

    #B7231A

    oklch(50.6% 0.185 29.1)

  9. Step 800

    800

    #901C14

    oklch(42.6% 0.153 29.2)

  10. Step 900

    900

    #742018

    oklch(37.8% 0.119 29.2)

  11. Step 950

    950

    #44140F

    oklch(26.9% 0.075 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#B7231A 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)#544A160.199
Deuteranopia (no green cones)#776A100.181
Tritanopia (no blue cones)#CA00230.041
Achromatopsia (no color)#5F5F5F0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7231A

    #B7231A

    oklch(50.6% 0.185 29.1)

  • #007280

    #007280

    oklch(50.6% 0.087 209.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7231A

    #B7231A

    oklch(50.6% 0.185 29.1)

  • #B02062

    #B02062

    oklch(50.5% 0.184 359.2)

  • #965100

    #965100

    oklch(50.7% 0.12 59.1)

Open the analogous palette in the generator

Split complementary

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

  • #B7231A

    #B7231A

    oklch(50.6% 0.185 29.1)

  • #007666

    #007666

    oklch(50.7% 0.093 178.9)

  • #006C9F

    #006C9F

    oklch(50.6% 0.115 239.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7231A

    #B7231A

    oklch(50.6% 0.185 29.1)

  • #007A33

    #007A33

    oklch(50.6% 0.142 149.2)

  • #3C57CC

    #3C57CC

    oklch(50.6% 0.184 269)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7231A

    #B7231A

    oklch(50.6% 0.185 29.1)

  • #5E6E00

    #5E6E00

    oklch(50.7% 0.119 119.2)

  • #007280

    #007280

    oklch(50.6% 0.087 209.6)

  • #7642BD

    #7642BD

    oklch(50.6% 0.184 299.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #B7231A 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.