#BA281B

Closest named color: Firebrick (#B22222). oklch(51.5% 0.184 29.8), rgb(186, 40, 27).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.40:1
White text6.16:1

Values

HEX#BA281B
RGBrgb(186, 40, 27)
HSLhsl(5, 75%, 42%)
OKLCHoklch(51.5% 0.184 29.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 #BA281B 6.16:1 AA Lc -84.4 Fine for body text
Black text on #BA281B 3.40:1 AA large text Lc 24.9 Dividers and decoration only
#BA281B text on white 6.16:1 AA Lc 79.2 Fine for body text
#BA281B text on black 3.40:1 AA large text Lc -22.6 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

    #EC7B6A

    oklch(70.7% 0.143 29.9)

  6. Step 500

    500

    #E25341

    oklch(63.1% 0.181 30.1)

  7. Step 600

    600

    #CE2E20

    oklch(55.7% 0.198 29.7)

  8. Step 700

    700 (this color)

    #BA281B

    oklch(51.5% 0.184 29.8)

  9. Step 800

    800

    #901D12

    oklch(42.7% 0.152 30)

  10. Step 900

    900

    #742017

    oklch(37.8% 0.119 29.7)

  11. Step 950

    950

    #44140F

    oklch(26.9% 0.075 28.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA281B 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)#574D170.197
Deuteranopia (no green cones)#7A6D110.180
Tritanopia (no blue cones)#CD00270.043
Achromatopsia (no color)#6161610.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA281B

    #BA281B

    oklch(51.5% 0.184 29.8)

  • #007584

    #007584

    oklch(51.5% 0.089 210.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA281B

    #BA281B

    oklch(51.5% 0.184 29.8)

  • #B42464

    #B42464

    oklch(51.6% 0.184 359.7)

  • #995300

    #995300

    oklch(51.5% 0.122 59.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA281B

    #BA281B

    oklch(51.5% 0.184 29.8)

  • #007969

    #007969

    oklch(51.6% 0.094 179.3)

  • #006FA4

    #006FA4

    oklch(51.6% 0.118 239.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA281B

    #BA281B

    oklch(51.5% 0.184 29.8)

  • #007D37

    #007D37

    oklch(51.5% 0.142 149.9)

  • #4159CF

    #4159CF

    oklch(51.5% 0.184 270)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA281B

    #BA281B

    oklch(51.5% 0.184 29.8)

  • #5F7100

    #5F7100

    oklch(51.5% 0.122 120.1)

  • #007584

    #007584

    oklch(51.5% 0.089 210.3)

  • #7A45BF

    #7A45BF

    oklch(51.6% 0.183 300)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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