#B31B32

Closest named color: Firebrick (#B22222). oklch(49.6% 0.184 20.4), rgb(179, 27, 50).

Aa

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

About this color

#B31B32 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.184 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.021 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#B31B32
RGBrgb(179, 27, 50)
HSLhsl(351, 74%, 40%)
OKLCHoklch(49.6% 0.184 20.4)

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

    #FDF2F2

    oklch(97% 0.012 17.4)

  2. Step 100

    100

    #FBE4E3

    oklch(93.7% 0.025 20.6)

  3. Step 200

    200

    #F8CDCB

    oklch(88.5% 0.049 21.2)

  4. Step 300

    300

    #F5AAA8

    oklch(80.9% 0.089 20.9)

  5. Step 400

    400

    #EC797A

    oklch(70.7% 0.142 20.8)

  6. Step 500

    500

    #E24F59

    oklch(63% 0.182 20.2)

  7. Step 600

    600

    #CD2A3E

    oklch(55.6% 0.197 20.6)

  8. Step 700

    700 (this color)

    #B31B32

    oklch(49.6% 0.184 20.4)

  9. Step 800

    800

    #901A29

    oklch(42.8% 0.152 20.5)

  10. Step 900

    900

    #741E25

    oklch(37.7% 0.119 20.6)

  11. Step 950

    950

    #441316

    oklch(26.9% 0.075 20.3)

Export this scale for Tailwind in the Tailwind colors tool

#B31B32 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)#4D47310.203
Deuteranopia (no green cones)#72672D0.185
Tritanopia (no blue cones)#C500260.036
Achromatopsia (no color)#5C5C5C0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #B31B32

    #B31B32

    oklch(49.6% 0.184 20.4)

  • #007075

    #007075

    oklch(49.6% 0.084 200.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B31B32

    #B31B32

    oklch(49.6% 0.184 20.4)

  • #A82070

    #A82070

    oklch(49.7% 0.184 350.4)

  • #9A4700

    #9A4700

    oklch(49.6% 0.13 50.6)

Open the analogous palette in the generator

Split complementary

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

  • #B31B32

    #B31B32

    oklch(49.6% 0.184 20.4)

  • #00745A

    #00745A

    oklch(49.7% 0.098 170.2)

  • #006B90

    #006B90

    oklch(49.5% 0.1 231.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B31B32

    #B31B32

    oklch(49.6% 0.184 20.4)

  • #1D7600

    #1D7600

    oklch(49.5% 0.161 140.5)

  • #175AC8

    #175AC8

    oklch(49.6% 0.184 260.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B31B32

    #B31B32

    oklch(49.6% 0.184 20.4)

  • #666700

    #666700

    oklch(49.6% 0.109 110.4)

  • #007075

    #007075

    oklch(49.6% 0.084 200.2)

  • #6645C0

    #6645C0

    oklch(49.6% 0.183 290.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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