#B5151F

Closest named color: Firebrick (#B22222). oklch(49.4% 0.19 25.8), rgb(181, 21, 31).

Aa

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

About this color

#B5151F is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.190 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.79:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.190)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.09:1
White text6.79:1

Values

HEX#B5151F
RGBrgb(181, 21, 31)
HSLhsl(356, 79%, 40%)
OKLCHoklch(49.4% 0.19 25.8)

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

    #FEF2F1

    oklch(97% 0.013 23.2)

  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

    #F7AAA2

    oklch(81% 0.092 25.9)

  5. Step 400

    400

    #EE786F

    oklch(70.6% 0.147 25.9)

  6. Step 500

    500

    #E54E49

    oklch(63.1% 0.188 25.9)

  7. Step 600

    600

    #D0252B

    oklch(55.5% 0.205 25.8)

  8. Step 700

    700 (this color)

    #B5151F

    oklch(49.4% 0.19 25.8)

  9. Step 800

    800

    #92171B

    oklch(42.7% 0.157 25.8)

  10. Step 900

    900

    #751D1C

    oklch(37.7% 0.122 25.8)

  11. Step 950

    950

    #451311

    oklch(27% 0.077 26)

Export this scale for Tailwind in the Tailwind colors tool

#B5151F 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)#4E451D0.208
Deuteranopia (no green cones)#7467160.189
Tritanopia (no blue cones)#C8001C0.038
Achromatopsia (no color)#5B5B5B0.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #B5151F

    #B5151F

    oklch(49.4% 0.19 25.8)

  • #006F79

    #006F79

    oklch(49.5% 0.085 205.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B5151F

    #B5151F

    oklch(49.4% 0.19 25.8)

  • #AC1665

    #AC1665

    oklch(49.4% 0.19 355.9)

  • #944B00

    #944B00

    oklch(49.4% 0.122 55.5)

Open the analogous palette in the generator

Split complementary

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

  • #B5151F

    #B5151F

    oklch(49.4% 0.19 25.8)

  • #00725F

    #00725F

    oklch(49.3% 0.092 175.8)

  • #006A95

    #006A95

    oklch(49.5% 0.106 235.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B5151F

    #B5151F

    oklch(49.4% 0.19 25.8)

  • #007722

    #007722

    oklch(49.5% 0.152 145.8)

  • #2D54CC

    #2D54CC

    oklch(49.4% 0.191 265.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B5151F

    #B5151F

    oklch(49.4% 0.19 25.8)

  • #5F6900

    #5F6900

    oklch(49.5% 0.113 116.1)

  • #006F79

    #006F79

    oklch(49.5% 0.085 205.7)

  • #6E3EBF

    #6E3EBF

    oklch(49.3% 0.191 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 #B5151F, closest first.

Similar named colors

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

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