#B31D1A

Closest named color: Firebrick (#B22222). oklch(49.5% 0.185 28), rgb(179, 29, 26).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.185)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.10:1
White text6.75:1

Values

HEX#B31D1A
RGBrgb(179, 29, 26)
HSLhsl(1, 75%, 40%)
OKLCHoklch(49.5% 0.185 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 #B31D1A 6.75:1 AA Lc -86.6 Fine for body text
Black text on #B31D1A 3.10:1 AA large text Lc 22.6 Dividers and decoration only
#B31D1A text on white 6.75:1 AA Lc 81.5 Fine for body text
#B31D1A text on black 3.10:1 AA large text Lc -20.4 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

    #F8CDC7

    oklch(88.4% 0.05 27.4)

  4. Step 300

    300

    #F5ABA0

    oklch(80.9% 0.089 28.6)

  5. Step 400

    400

    #EC7A6D

    oklch(70.6% 0.143 28)

  6. Step 500

    500

    #E35146

    oklch(63.1% 0.184 27.8)

  7. Step 600

    600

    #CE2C26

    oklch(55.6% 0.199 28.1)

  8. Step 700

    700 (this color)

    #B31D1A

    oklch(49.5% 0.185 28)

  9. Step 800

    800

    #901B17

    oklch(42.6% 0.153 28)

  10. Step 900

    900

    #741F1A

    oklch(37.7% 0.12 27.7)

  11. Step 950

    950

    #441410

    oklch(26.9% 0.075 27.9)

Export this scale for Tailwind in the Tailwind colors tool

#B31D1A 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)#5047170.200
Deuteranopia (no green cones)#7467100.182
Tritanopia (no blue cones)#C6001F0.039
Achromatopsia (no color)#5B5B5B0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #B31D1A

    #B31D1A

    oklch(49.5% 0.185 28)

  • #006F7B

    #006F7B

    oklch(49.5% 0.085 207.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B31D1A

    #B31D1A

    oklch(49.5% 0.185 28)

  • #AC1B61

    #AC1B61

    oklch(49.5% 0.185 358.2)

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

  • #B31D1A

    #B31D1A

    oklch(49.5% 0.185 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.

  • #B31D1A

    #B31D1A

    oklch(49.5% 0.185 28)

  • #00762D

    #00762D

    oklch(49.4% 0.142 148.1)

  • #3654C9

    #3654C9

    oklch(49.5% 0.185 268)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B31D1A

    #B31D1A

    oklch(49.5% 0.185 28)

  • #5C6A00

    #5C6A00

    oklch(49.5% 0.116 118.4)

  • #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 #B31D1A, closest first.

Similar named colors

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

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