#B40027

Closest named color: Scarlet (#BE0119). oklch(48.6% 0.196 21.9), rgb(180, 0, 39).

Aa

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

About this color

#B40027 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.196 and its hue 22°. Its hue sits on the warm side of the wheel. The nearest named color is Scarlet (#BE0119), ΔE 0.025 away. White text reads best on it, at 7.07:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.196)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text2.96:1
White text7.07:1

Values

HEX#B40027
RGBrgb(180, 0, 39)
HSLhsl(347, 100%, 35%)
OKLCHoklch(48.6% 0.196 21.9)

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 #B40027 7.07:1 AAA Lc -87.0 Fine for body text
Black text on #B40027 2.96:1 Fails Lc 22.2 Dividers and decoration only
#B40027 text on white 7.07:1 AAA Lc 81.9 Fine for body text
#B40027 text on black 2.96:1 Fails Lc -20.0 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FACCCA

    oklch(88.4% 0.052 21.1)

  4. Step 300

    300

    #F8A8A5

    oklch(80.8% 0.095 21.8)

  5. Step 400

    400

    #F07675

    oklch(70.7% 0.151 22.1)

  6. Step 500

    500

    #E74951

    oklch(63.1% 0.194 22)

  7. Step 600

    600

    #D21C36

    oklch(55.5% 0.21 21.7)

  8. Step 700

    700 (this color)

    #B40027

    oklch(48.6% 0.196 21.9)

  9. Step 800

    800

    #931023

    oklch(42.6% 0.162 21.7)

  10. Step 900

    900

    #761A21

    oklch(37.6% 0.126 21.9)

  11. Step 950

    950

    #461214

    oklch(27.1% 0.08 22)

Export this scale for Tailwind in the Tailwind colors tool

#B40027 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)#4842260.219
Deuteranopia (no green cones)#7065200.199
Tritanopia (no blue cones)#C700170.043
Achromatopsia (no color)#5858580.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #B40027

    #B40027

    oklch(48.6% 0.196 21.9)

  • #006D73

    #006D73

    oklch(48.7% 0.083 201.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B40027

    #B40027

    oklch(48.6% 0.196 21.9)

  • #A90C6B

    #A90C6B

    oklch(48.6% 0.196 351.9)

  • #944600

    #944600

    oklch(48.5% 0.125 51.9)

Open the analogous palette in the generator

Split complementary

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

  • #B40027

    #B40027

    oklch(48.6% 0.196 21.9)

  • #007059

    #007059

    oklch(48.6% 0.094 172)

  • #00688D

    #00688D

    oklch(48.6% 0.099 231.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B40027

    #B40027

    oklch(48.6% 0.196 21.9)

  • #0C7400

    #0C7400

    oklch(48.6% 0.163 141.9)

  • #1654CC

    #1654CC

    oklch(48.7% 0.196 261.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B40027

    #B40027

    oklch(48.6% 0.196 21.9)

  • #626500

    #626500

    oklch(48.8% 0.108 111.8)

  • #006D73

    #006D73

    oklch(48.7% 0.083 201.5)

  • #663DC2

    #663DC2

    oklch(48.6% 0.195 291.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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