#B42017

Closest named color: Firebrick (#B22222). oklch(49.8% 0.184 29.2), rgb(180, 32, 23).

Aa

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

About this color

#B42017 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.184 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.009 away. White text reads best on it, at 6.64:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.15:1
White text6.64:1

Values

HEX#B42017
RGBrgb(180, 32, 23)
HSLhsl(3, 77%, 40%)
OKLCHoklch(49.8% 0.184 29.2)

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 #B42017 6.64:1 AA Lc -86.2 Fine for body text
Black text on #B42017 3.15:1 AA large text Lc 23.0 Dividers and decoration only
#B42017 text on white 6.64:1 AA Lc 81.1 Fine for body text
#B42017 text on black 3.15:1 AA large text Lc -20.8 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

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #F8CEC6

    oklch(88.5% 0.049 30.7)

  4. Step 300

    300

    #F5AB9F

    oklch(80.9% 0.09 29.4)

  5. Step 400

    400

    #EC7B6B

    oklch(70.7% 0.142 29.4)

  6. Step 500

    500

    #E25243

    oklch(63% 0.182 29.1)

  7. Step 600

    600

    #CE2D22

    oklch(55.6% 0.198 29.1)

  8. Step 700

    700 (this color)

    #B42017

    oklch(49.8% 0.184 29.2)

  9. Step 800

    800

    #901C14

    oklch(42.6% 0.153 29.2)

  10. Step 900

    900

    #742018

    oklch(37.8% 0.119 29.2)

  11. Step 950

    950

    #44140F

    oklch(26.9% 0.075 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#B42017 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)#5148130.200
Deuteranopia (no green cones)#75680C0.180
Tritanopia (no blue cones)#C700200.040
Achromatopsia (no color)#5C5C5C0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #B42017

    #B42017

    oklch(49.8% 0.184 29.2)

  • #00707D

    #00707D

    oklch(49.9% 0.086 208.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B42017

    #B42017

    oklch(49.8% 0.184 29.2)

  • #AD1D60

    #AD1D60

    oklch(49.8% 0.184 359.1)

  • #924F00

    #924F00

    oklch(49.8% 0.117 59.4)

Open the analogous palette in the generator

Split complementary

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

  • #B42017

    #B42017

    oklch(49.8% 0.184 29.2)

  • #007364

    #007364

    oklch(49.8% 0.091 179.5)

  • #006A9B

    #006A9B

    oklch(49.9% 0.112 238.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B42017

    #B42017

    oklch(49.8% 0.184 29.2)

  • #007732

    #007732

    oklch(49.7% 0.139 149.3)

  • #3A54C9

    #3A54C9

    oklch(49.7% 0.184 269.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B42017

    #B42017

    oklch(49.8% 0.184 29.2)

  • #5C6B00

    #5C6B00

    oklch(49.8% 0.117 118.9)

  • #00707D

    #00707D

    oklch(49.9% 0.086 208.8)

  • #7440BA

    #7440BA

    oklch(49.9% 0.183 299.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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