#B8231A

Closest named color: Firebrick (#B22222). oklch(50.8% 0.186 29.1), rgb(184, 35, 26).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.186)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.29:1
White text6.37:1

Values

HEX#B8231A
RGBrgb(184, 35, 26)
HSLhsl(3, 75%, 41%)
OKLCHoklch(50.8% 0.186 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 #B8231A 6.37:1 AA Lc -85.2 Fine for body text
Black text on #B8231A 3.29:1 AA large text Lc 24.1 Dividers and decoration only
#B8231A text on white 6.37:1 AA Lc 80.0 Fine for body text
#B8231A text on black 3.29:1 AA large text Lc -21.8 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

    #F9CEC6

    oklch(88.6% 0.05 30.4)

  4. Step 300

    300

    #F5AB9F

    oklch(80.9% 0.09 29.4)

  5. Step 400

    400

    #EC7A6B

    oklch(70.6% 0.143 28.9)

  6. Step 500

    500

    #E35143

    oklch(63.1% 0.184 28.8)

  7. Step 600

    600

    #CE2C21

    oklch(55.5% 0.199 29.2)

  8. Step 700

    700 (this color)

    #B8231A

    oklch(50.8% 0.186 29.1)

  9. Step 800

    800

    #911B14

    oklch(42.8% 0.154 28.9)

  10. Step 900

    900

    #741F18

    oklch(37.6% 0.12 28.8)

  11. Step 950

    950

    #44140F

    oklch(26.9% 0.075 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#B8231A 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.200
Deuteranopia (no green cones)#786B100.182
Tritanopia (no blue cones)#CB00230.041
Achromatopsia (no color)#5F5F5F0.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #B8231A

    #B8231A

    oklch(50.8% 0.186 29.1)

  • #007380

    #007380

    oklch(50.8% 0.087 208.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B8231A

    #B8231A

    oklch(50.8% 0.186 29.1)

  • #B12063

    #B12063

    oklch(50.8% 0.185 359)

  • #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°).

  • #B8231A

    #B8231A

    oklch(50.8% 0.186 29.1)

  • #007667

    #007667

    oklch(50.7% 0.092 179.9)

  • #006D9F

    #006D9F

    oklch(50.8% 0.114 238.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B8231A

    #B8231A

    oklch(50.8% 0.186 29.1)

  • #007B33

    #007B33

    oklch(50.9% 0.143 149.1)

  • #3C57CE

    #3C57CE

    oklch(50.8% 0.186 269)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B8231A

    #B8231A

    oklch(50.8% 0.186 29.1)

  • #5E6E00

    #5E6E00

    oklch(50.7% 0.119 119.2)

  • #007380

    #007380

    oklch(50.8% 0.087 208.5)

  • #7742BE

    #7742BE

    oklch(50.8% 0.186 299.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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