#B0040C

Closest named color: Rufous (#AE2012). oklch(47.7% 0.193 28), rgb(176, 4, 12).

Aa

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

About this color

#B0040C is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.193 and its hue 28°. Its hue sits on the warm side of the wheel. The nearest named color is Rufous (#AE2012), ΔE 0.018 away. White text reads best on it, at 7.32:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.193)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text2.86:1
White text7.32:1

Values

HEX#B0040C
RGBrgb(176, 4, 12)
HSLhsl(357, 96%, 35%)
OKLCHoklch(47.7% 0.193 28)

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 #B0040C 7.32:1 AAA Lc -87.9 Fine for body text
Black text on #B0040C 2.86:1 Fails Lc 21.2 Dividers and decoration only
#B0040C text on white 7.32:1 AAA Lc 82.9 Fine for body text
#B0040C text on black 2.86:1 Fails Lc -19.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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE4E0

    oklch(93.7% 0.027 28.9)

  3. Step 200

    200

    #FACDC6

    oklch(88.5% 0.052 28.5)

  4. Step 300

    300

    #F7AA9F

    oklch(80.9% 0.093 28.3)

  5. Step 400

    400

    #EF786B

    oklch(70.7% 0.149 27.8)

  6. Step 500

    500

    #E64D42

    oklch(63.1% 0.191 27.9)

  7. Step 600

    600

    #D22420

    oklch(55.7% 0.208 28.1)

  8. Step 700

    700 (this color)

    #B0040C

    oklch(47.7% 0.193 28)

  9. Step 800

    800

    #931513

    oklch(42.7% 0.16 28)

  10. Step 900

    900

    #761C17

    oklch(37.7% 0.125 28)

  11. Step 950

    950

    #46130F

    oklch(27.1% 0.079 28)

Export this scale for Tailwind in the Tailwind colors tool

#B0040C 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)#4940070.213
Deuteranopia (no green cones)#6F62000.190
Tritanopia (no blue cones)#C3000D0.040
Achromatopsia (no color)#5656560.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #B0040C

    #B0040C

    oklch(47.7% 0.193 28)

  • #006975

    #006975

    oklch(47.7% 0.082 208.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B0040C

    #B0040C

    oklch(47.7% 0.193 28)

  • #A9025C

    #A9025C

    oklch(47.8% 0.194 358.3)

  • #8B4900

    #8B4900

    oklch(47.7% 0.114 57.8)

Open the analogous palette in the generator

Split complementary

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

  • #B0040C

    #B0040C

    oklch(47.7% 0.193 28)

  • #006D5D

    #006D5D

    oklch(47.8% 0.088 177.9)

  • #006491

    #006491

    oklch(47.8% 0.106 237.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B0040C

    #B0040C

    oklch(47.7% 0.193 28)

  • #00712A

    #00712A

    oklch(47.8% 0.139 147.9)

  • #304DC7

    #304DC7

    oklch(47.8% 0.192 267.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B0040C

    #B0040C

    oklch(47.7% 0.193 28)

  • #586400

    #586400

    oklch(47.6% 0.11 117.6)

  • #006975

    #006975

    oklch(47.7% 0.082 208.5)

  • #6D36B8

    #6D36B8

    oklch(47.6% 0.193 298)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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