#B4171D

Closest named color: Firebrick (#B22222). oklch(49.3% 0.189 26.5), rgb(180, 23, 29).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.189)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.08:1
White text6.81:1

Values

HEX#B4171D
RGBrgb(180, 23, 29)
HSLhsl(358, 77%, 40%)
OKLCHoklch(49.3% 0.189 26.5)

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 #B4171D 6.81:1 AA Lc -86.6 Fine for body text
Black text on #B4171D 3.08:1 AA large text Lc 22.5 Dividers and decoration only
#B4171D text on white 6.81:1 AA Lc 81.5 Fine for body text
#B4171D text on black 3.08:1 AA large text Lc -20.3 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

    #F6AAA1

    oklch(80.9% 0.091 26.8)

  5. Step 400

    400

    #EE796F

    oklch(70.8% 0.146 26.4)

  6. Step 500

    500

    #E44F48

    oklch(63.1% 0.186 26.6)

  7. Step 600

    600

    #D0282A

    oklch(55.7% 0.203 26.5)

  8. Step 700

    700 (this color)

    #B4171D

    oklch(49.3% 0.189 26.5)

  9. Step 800

    800

    #91181A

    oklch(42.6% 0.156 26.3)

  10. Step 900

    900

    #751E1B

    oklch(37.8% 0.121 26.8)

  11. Step 950

    950

    #451311

    oklch(27% 0.077 26)

Export this scale for Tailwind in the Tailwind colors tool

#B4171D 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)#4E451B0.206
Deuteranopia (no green cones)#7366140.186
Tritanopia (no blue cones)#C7001C0.038
Achromatopsia (no color)#5B5B5B0.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4171D

    #B4171D

    oklch(49.3% 0.189 26.5)

  • #006E79

    #006E79

    oklch(49.2% 0.084 206.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4171D

    #B4171D

    oklch(49.3% 0.189 26.5)

  • #AC1764

    #AC1764

    oklch(49.4% 0.189 356.4)

  • #934C00

    #934C00

    oklch(49.4% 0.12 56.6)

Open the analogous palette in the generator

Split complementary

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

  • #B4171D

    #B4171D

    oklch(49.3% 0.189 26.5)

  • #007260

    #007260

    oklch(49.3% 0.092 176.7)

  • #006996

    #006996

    oklch(49.3% 0.107 236.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4171D

    #B4171D

    oklch(49.3% 0.189 26.5)

  • #007626

    #007626

    oklch(49.3% 0.148 146.6)

  • #3054CA

    #3054CA

    oklch(49.3% 0.188 266.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4171D

    #B4171D

    oklch(49.3% 0.189 26.5)

  • #5E6900

    #5E6900

    oklch(49.4% 0.114 116.7)

  • #006E79

    #006E79

    oklch(49.2% 0.084 206.9)

  • #6F3EBD

    #6F3EBD

    oklch(49.3% 0.189 296.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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