#B8312D

Closest named color: Firebrick (#B22222). oklch(52.2% 0.173 26.9), rgb(184, 49, 45).

Aa

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

About this color

#B8312D is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.173 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.026 away. White text reads best on it, at 5.97:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.173)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.51:1
White text5.97:1

Values

HEX#B8312D
RGBrgb(184, 49, 45)
HSLhsl(2, 61%, 45%)
OKLCHoklch(52.2% 0.173 26.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 #B8312D 5.97:1 AA Lc -83.8 Fine for body text
Black text on #B8312D 3.51:1 AA large text Lc 25.5 Dividers and decoration only
#B8312D text on white 5.97:1 AA Lc 78.6 Fine for body text
#B8312D text on black 3.51:1 AA large text Lc -23.2 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

    #FAE4E1

    oklch(93.6% 0.025 26.9)

  3. Step 200

    200

    #F7CEC9

    oklch(88.5% 0.047 26.2)

  4. Step 300

    300

    #F2ACA4

    oklch(80.9% 0.084 26.4)

  5. Step 400

    400

    #E87D73

    oklch(70.7% 0.134 26.5)

  6. Step 500

    500

    #DE574E

    oklch(63.2% 0.171 26.9)

  7. Step 600

    600

    #C93531

    oklch(55.6% 0.186 26.9)

  8. Step 700

    700 (this color)

    #B8312D

    oklch(52.2% 0.173 26.9)

  9. Step 800

    800

    #8D221F

    oklch(42.7% 0.143 26.9)

  10. Step 900

    900

    #71231F

    oklch(37.7% 0.111 26.7)

  11. Step 950

    950

    #431613

    oklch(27.1% 0.071 26.6)

Export this scale for Tailwind in the Tailwind colors tool

#B8312D 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)#59512B0.185
Deuteranopia (no green cones)#7B6E280.169
Tritanopia (no blue cones)#CB00320.048
Achromatopsia (no color)#6363630.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #B8312D

    #B8312D

    oklch(52.2% 0.173 26.9)

  • #007783

    #007783

    oklch(52% 0.089 207.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B8312D

    #B8312D

    oklch(52.2% 0.173 26.9)

  • #B02F6B

    #B02F6B

    oklch(52% 0.173 356.7)

  • #9E5300

    #9E5300

    oklch(52.2% 0.126 57.2)

Open the analogous palette in the generator

Split complementary

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

  • #B8312D

    #B8312D

    oklch(52.2% 0.173 26.9)

  • #007B68

    #007B68

    oklch(52.1% 0.097 176.9)

  • #0072A2

    #0072A2

    oklch(52.3% 0.113 236.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B8312D

    #B8312D

    oklch(52.2% 0.173 26.9)

  • #00802B

    #00802B

    oklch(52.2% 0.156 146.8)

  • #3C5FCB

    #3C5FCB

    oklch(52.1% 0.172 266.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B8312D

    #B8312D

    oklch(52.2% 0.173 26.9)

  • #657100

    #657100

    oklch(52% 0.12 116.8)

  • #007783

    #007783

    oklch(52% 0.089 207.1)

  • #764CBF

    #764CBF

    oklch(52.2% 0.173 296.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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