#B9271A

Closest named color: Firebrick (#B22222). oklch(51.3% 0.184 29.8), rgb(185, 39, 26).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.36:1
White text6.23:1

Values

HEX#B9271A
RGBrgb(185, 39, 26)
HSLhsl(5, 75%, 41%)
OKLCHoklch(51.3% 0.184 29.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 #B9271A 6.23:1 AA Lc -84.7 Fine for body text
Black text on #B9271A 3.36:1 AA large text Lc 24.6 Dividers and decoration only
#B9271A text on white 6.23:1 AA Lc 79.5 Fine for body text
#B9271A text on black 3.36:1 AA large text Lc -22.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

    #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

    #EC7B6A

    oklch(70.7% 0.143 29.9)

  6. Step 500

    500

    #E25341

    oklch(63.1% 0.181 30.1)

  7. Step 600

    600

    #CE2E20

    oklch(55.7% 0.198 29.7)

  8. Step 700

    700 (this color)

    #B9271A

    oklch(51.3% 0.184 29.8)

  9. Step 800

    800

    #901D12

    oklch(42.7% 0.152 30)

  10. Step 900

    900

    #742017

    oklch(37.8% 0.119 29.7)

  11. Step 950

    950

    #44140F

    oklch(26.9% 0.075 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#B9271A 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)#564C160.197
Deuteranopia (no green cones)#7A6C100.178
Tritanopia (no blue cones)#CC00260.043
Achromatopsia (no color)#6161610.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #B9271A

    #B9271A

    oklch(51.3% 0.184 29.8)

  • #007483

    #007483

    oklch(51.2% 0.089 210.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B9271A

    #B9271A

    oklch(51.3% 0.184 29.8)

  • #B32363

    #B32363

    oklch(51.3% 0.184 359.8)

  • #985300

    #985300

    oklch(51.4% 0.121 59.8)

Open the analogous palette in the generator

Split complementary

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

  • #B9271A

    #B9271A

    oklch(51.3% 0.184 29.8)

  • #007869

    #007869

    oklch(51.3% 0.093 180.1)

  • #006EA3

    #006EA3

    oklch(51.3% 0.118 240)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B9271A

    #B9271A

    oklch(51.3% 0.184 29.8)

  • #007C36

    #007C36

    oklch(51.2% 0.142 149.7)

  • #4058CE

    #4058CE

    oklch(51.2% 0.184 269.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B9271A

    #B9271A

    oklch(51.3% 0.184 29.8)

  • #5F7000

    #5F7000

    oklch(51.3% 0.121 119.6)

  • #007483

    #007483

    oklch(51.2% 0.089 210.4)

  • #7944BE

    #7944BE

    oklch(51.3% 0.183 299.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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