#B31E24

Closest named color: Firebrick (#B22222). oklch(49.6% 0.183 25.6), rgb(179, 30, 36).

Aa

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

About this color

#B31E24 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.183 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.005 away. White text reads best on it, at 6.71:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.183)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.12:1
White text6.71:1

Values

HEX#B31E24
RGBrgb(179, 30, 36)
HSLhsl(358, 71%, 41%)
OKLCHoklch(49.6% 0.183 25.6)

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 #B31E24 6.71:1 AA Lc -86.5 Fine for body text
Black text on #B31E24 3.12:1 AA large text Lc 22.7 Dividers and decoration only
#B31E24 text on white 6.71:1 AA Lc 81.4 Fine for body text
#B31E24 text on black 3.12:1 AA large text Lc -20.5 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

    #F8CDC9

    oklch(88.4% 0.049 24.3)

  4. Step 300

    300

    #F5ABA3

    oklch(81% 0.089 26.1)

  5. Step 400

    400

    #EC7A72

    oklch(70.7% 0.142 25.4)

  6. Step 500

    500

    #E2514D

    oklch(63.1% 0.181 25.4)

  7. Step 600

    600

    #CD2C30

    oklch(55.5% 0.197 25.4)

  8. Step 700

    700 (this color)

    #B31E24

    oklch(49.6% 0.183 25.6)

  9. Step 800

    800

    #901C1E

    oklch(42.8% 0.151 25.7)

  10. Step 900

    900

    #741F1E

    oklch(37.7% 0.119 25.5)

  11. Step 950

    950

    #441412

    oklch(27% 0.075 25.8)

Export this scale for Tailwind in the Tailwind colors tool

#B31E24 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)#4F47220.200
Deuteranopia (no green cones)#73671D0.182
Tritanopia (no blue cones)#C600230.038
Achromatopsia (no color)#5C5C5C0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #B31E24

    #B31E24

    oklch(49.6% 0.183 25.6)

  • #007079

    #007079

    oklch(49.7% 0.085 204.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B31E24

    #B31E24

    oklch(49.6% 0.183 25.6)

  • #AB1E66

    #AB1E66

    oklch(49.7% 0.184 355.8)

  • #954C00

    #954C00

    oklch(49.7% 0.122 55.8)

Open the analogous palette in the generator

Split complementary

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

  • #B31E24

    #B31E24

    oklch(49.6% 0.183 25.6)

  • #007360

    #007360

    oklch(49.6% 0.093 175.9)

  • #006A96

    #006A96

    oklch(49.6% 0.107 235.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B31E24

    #B31E24

    oklch(49.6% 0.183 25.6)

  • #007721

    #007721

    oklch(49.5% 0.153 145.6)

  • #2F56C8

    #2F56C8

    oklch(49.5% 0.183 265.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B31E24

    #B31E24

    oklch(49.6% 0.183 25.6)

  • #606900

    #606900

    oklch(49.6% 0.113 115.5)

  • #007079

    #007079

    oklch(49.7% 0.085 204.6)

  • #6E42BC

    #6E42BC

    oklch(49.7% 0.182 295.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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