#B31208

Closest named color: Rufous (#AE2012). oklch(48.8% 0.192 29.6), rgb(179, 18, 8).

Aa

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

About this color

#B31208 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.192 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Rufous (#AE2012), ΔE 0.013 away. White text reads best on it, at 6.98:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.192)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text3.00:1
White text6.98:1

Values

HEX#B31208
RGBrgb(179, 18, 8)
HSLhsl(4, 91%, 37%)
OKLCHoklch(48.8% 0.192 29.6)

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 #B31208 6.98:1 AA Lc -87.1 Fine for body text
Black text on #B31208 3.00:1 AA large text Lc 22.0 Dividers and decoration only
#B31208 text on white 6.98:1 AA Lc 82.0 Fine for body text
#B31208 text on black 3.00:1 AA large text Lc -19.9 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

    #FEF3F1

    oklch(97.2% 0.012 29.9)

  2. Step 100

    100

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #F9CDC5

    oklch(88.4% 0.051 30.1)

  4. Step 300

    300

    #F7AA9E

    oklch(80.9% 0.093 29.1)

  5. Step 400

    400

    #EF7968

    oklch(70.8% 0.149 29.7)

  6. Step 500

    500

    #E54F3E

    oklch(63.1% 0.189 29.7)

  7. Step 600

    600

    #D1271A

    oklch(55.7% 0.206 29.6)

  8. Step 700

    700 (this color)

    #B31208

    oklch(48.8% 0.192 29.6)

  9. Step 800

    800

    #92170E

    oklch(42.6% 0.159 29.6)

  10. Step 900

    900

    #751D15

    oklch(37.6% 0.123 29.3)

  11. Step 950

    950

    #45130D

    oklch(26.9% 0.078 29.9)

Export this scale for Tailwind in the Tailwind colors tool

#B31208 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)#4D43020.209
Deuteranopia (no green cones)#7365000.185
Tritanopia (no blue cones)#C600140.039
Achromatopsia (no color)#5959590.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #B31208

    #B31208

    oklch(48.8% 0.192 29.6)

  • #006C7A

    #006C7A

    oklch(48.7% 0.084 210.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B31208

    #B31208

    oklch(48.8% 0.192 29.6)

  • #AC0D5C

    #AC0D5C

    oklch(48.7% 0.191 359.5)

  • #8E4D00

    #8E4D00

    oklch(48.8% 0.115 59.7)

Open the analogous palette in the generator

Split complementary

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

  • #B31208

    #B31208

    oklch(48.8% 0.192 29.6)

  • #007061

    #007061

    oklch(48.8% 0.089 179.2)

  • #006697

    #006697

    oklch(48.6% 0.111 239.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B31208

    #B31208

    oklch(48.8% 0.192 29.6)

  • #007431

    #007431

    oklch(48.8% 0.136 149.4)

  • #384FCA

    #384FCA

    oklch(48.8% 0.192 269.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B31208

    #B31208

    oklch(48.8% 0.192 29.6)

  • #586800

    #586800

    oklch(48.7% 0.115 119.7)

  • #006C7A

    #006C7A

    oklch(48.7% 0.084 210.3)

  • #7239BA

    #7239BA

    oklch(48.7% 0.192 299.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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