#B3151F

Closest named color: Firebrick (#B22222). oklch(49.1% 0.188 25.7), rgb(179, 21, 31).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.188)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.04:1
White text6.89:1

Values

HEX#B3151F
RGBrgb(179, 21, 31)
HSLhsl(356, 79%, 39%)
OKLCHoklch(49.1% 0.188 25.7)

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 #B3151F 6.89:1 AA Lc -86.9 Fine for body text
Black text on #B3151F 3.04:1 AA large text Lc 22.2 Dividers and decoration only
#B3151F text on white 6.89:1 AA Lc 81.8 Fine for body text
#B3151F text on black 3.04:1 AA large text Lc -20.1 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

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F9CDC8

    oklch(88.5% 0.05 25.7)

  4. Step 300

    300

    #F6AAA2

    oklch(80.9% 0.091 25.9)

  5. Step 400

    400

    #EE7970

    oklch(70.8% 0.146 25.9)

  6. Step 500

    500

    #E44F4A

    oklch(63.1% 0.186 25.9)

  7. Step 600

    600

    #D0272C

    oklch(55.6% 0.203 25.8)

  8. Step 700

    700 (this color)

    #B3151F

    oklch(49.1% 0.188 25.7)

  9. Step 800

    800

    #91181C

    oklch(42.6% 0.155 25.6)

  10. Step 900

    900

    #751D1D

    oklch(37.7% 0.122 25.2)

  11. Step 950

    950

    #451311

    oklch(27% 0.077 26)

Export this scale for Tailwind in the Tailwind colors tool

#B3151F 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)#4D451D0.206
Deuteranopia (no green cones)#7266160.188
Tritanopia (no blue cones)#C6001C0.038
Achromatopsia (no color)#5A5A5A0.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #B3151F

    #B3151F

    oklch(49.1% 0.188 25.7)

  • #006E78

    #006E78

    oklch(49.1% 0.084 205.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B3151F

    #B3151F

    oklch(49.1% 0.188 25.7)

  • #AA1664

    #AA1664

    oklch(49% 0.188 355.8)

  • #924A00

    #924A00

    oklch(48.9% 0.12 55.5)

Open the analogous palette in the generator

Split complementary

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

  • #B3151F

    #B3151F

    oklch(49.1% 0.188 25.7)

  • #00715E

    #00715E

    oklch(49% 0.092 175.6)

  • #006894

    #006894

    oklch(49% 0.106 236.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B3151F

    #B3151F

    oklch(49.1% 0.188 25.7)

  • #007521

    #007521

    oklch(48.9% 0.151 145.7)

  • #2D54C9

    #2D54C9

    oklch(49.1% 0.187 265.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B3151F

    #B3151F

    oklch(49.1% 0.188 25.7)

  • #5E6700

    #5E6700

    oklch(48.9% 0.111 115.6)

  • #006E78

    #006E78

    oklch(49.1% 0.084 205.8)

  • #6D3EBD

    #6D3EBD

    oklch(49.1% 0.189 295.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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