#B31B2B

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

Aa

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

About this color

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

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

Values

HEX#B31B2B
RGBrgb(179, 27, 43)
HSLhsl(354, 74%, 40%)
OKLCHoklch(49.5% 0.184 22.9)

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 #B31B2B 6.75:1 AA Lc -86.6 Fine for body text
Black text on #B31B2B 3.10:1 AA large text Lc 22.6 Dividers and decoration only
#B31B2B text on white 6.75:1 AA Lc 81.5 Fine for body text
#B31B2B 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

    #FDF3F2

    oklch(97.2% 0.011 24.3)

  2. Step 100

    100

    #FBE4E2

    oklch(93.7% 0.025 23.6)

  3. Step 200

    200

    #F9CDCA

    oklch(88.5% 0.05 22.7)

  4. Step 300

    300

    #F5AAA6

    oklch(80.9% 0.089 22.6)

  5. Step 400

    400

    #EC7976

    oklch(70.7% 0.143 22.9)

  6. Step 500

    500

    #E25053

    oklch(63% 0.182 22.8)

  7. Step 600

    600

    #CE2A37

    oklch(55.6% 0.198 23)

  8. Step 700

    700 (this color)

    #B31B2B

    oklch(49.5% 0.184 22.9)

  9. Step 800

    800

    #901A24

    oklch(42.7% 0.152 22.8)

  10. Step 900

    900

    #741E22

    oklch(37.7% 0.119 22.6)

  11. Step 950

    950

    #441414

    oklch(27% 0.074 23.5)

Export this scale for Tailwind in the Tailwind colors tool

#B31B2B 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)#4E472A0.202
Deuteranopia (no green cones)#7267250.186
Tritanopia (no blue cones)#C500230.035
Achromatopsia (no color)#5B5B5B0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #B31B2B

    #B31B2B

    oklch(49.5% 0.184 22.9)

  • #007077

    #007077

    oklch(49.6% 0.084 202.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B31B2B

    #B31B2B

    oklch(49.5% 0.184 22.9)

  • #A91E6B

    #A91E6B

    oklch(49.5% 0.184 352.9)

  • #974900

    #974900

    oklch(49.5% 0.126 52.9)

Open the analogous palette in the generator

Split complementary

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

  • #B31B2B

    #B31B2B

    oklch(49.5% 0.184 22.9)

  • #00735D

    #00735D

    oklch(49.5% 0.095 173.3)

  • #006B92

    #006B92

    oklch(49.6% 0.102 232.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B31B2B

    #B31B2B

    oklch(49.5% 0.184 22.9)

  • #007807

    #007807

    oklch(49.6% 0.167 142.9)

  • #2458C8

    #2458C8

    oklch(49.5% 0.183 262.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B31B2B

    #B31B2B

    oklch(49.5% 0.184 22.9)

  • #636800

    #636800

    oklch(49.6% 0.111 113)

  • #007077

    #007077

    oklch(49.6% 0.084 202.4)

  • #6A43BF

    #6A43BF

    oklch(49.6% 0.184 292.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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