#B31E1B

Closest named color: Firebrick (#B22222). oklch(49.5% 0.184 28), rgb(179, 30, 27).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.11:1
White text6.73:1

Values

HEX#B31E1B
RGBrgb(179, 30, 27)
HSLhsl(1, 74%, 40%)
OKLCHoklch(49.5% 0.184 28)

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 #B31E1B 6.73:1 AA Lc -86.5 Fine for body text
Black text on #B31E1B 3.11:1 AA large text Lc 22.6 Dividers and decoration only
#B31E1B text on white 6.73:1 AA Lc 81.4 Fine for body text
#B31E1B text on black 3.11: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

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #F8CEC7

    oklch(88.6% 0.049 29.1)

  4. Step 300

    300

    #F5ABA1

    oklch(80.9% 0.089 27.7)

  5. Step 400

    400

    #EC7A6D

    oklch(70.6% 0.143 28)

  6. Step 500

    500

    #E25246

    oklch(63.1% 0.181 28.1)

  7. Step 600

    600

    #CE2D27

    oklch(55.7% 0.198 28)

  8. Step 700

    700 (this color)

    #B31E1B

    oklch(49.5% 0.184 28)

  9. Step 800

    800

    #901C18

    oklch(42.7% 0.152 27.9)

  10. Step 900

    900

    #74201A

    oklch(37.8% 0.119 28.2)

  11. Step 950

    950

    #441410

    oklch(26.9% 0.075 27.9)

Export this scale for Tailwind in the Tailwind colors tool

#B31E1B 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)#5047180.200
Deuteranopia (no green cones)#7467120.181
Tritanopia (no blue cones)#C600200.039
Achromatopsia (no color)#5C5C5C0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #B31E1B

    #B31E1B

    oklch(49.5% 0.184 28)

  • #006F7B

    #006F7B

    oklch(49.5% 0.085 207.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B31E1B

    #B31E1B

    oklch(49.5% 0.184 28)

  • #AC1C61

    #AC1C61

    oklch(49.6% 0.184 358.3)

  • #924D00

    #924D00

    oklch(49.4% 0.119 57.8)

Open the analogous palette in the generator

Split complementary

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

  • #B31E1B

    #B31E1B

    oklch(49.5% 0.184 28)

  • #007262

    #007262

    oklch(49.4% 0.091 178.5)

  • #006998

    #006998

    oklch(49.4% 0.109 237.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B31E1B

    #B31E1B

    oklch(49.5% 0.184 28)

  • #00772D

    #00772D

    oklch(49.6% 0.144 148)

  • #3654C8

    #3654C8

    oklch(49.4% 0.184 267.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B31E1B

    #B31E1B

    oklch(49.5% 0.184 28)

  • #5D6A00

    #5D6A00

    oklch(49.6% 0.115 117.8)

  • #006F7B

    #006F7B

    oklch(49.5% 0.085 207.8)

  • #713FBA

    #713FBA

    oklch(49.4% 0.184 298)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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