#BA1F2A

Closest named color: Firebrick (#B22222). oklch(51.1% 0.188 24.2), rgb(186, 31, 42).

Aa

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

About this color

#BA1F2A is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.188 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.018 away. White text reads best on it, at 6.33:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.188)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.31:1
White text6.33:1

Values

HEX#BA1F2A
RGBrgb(186, 31, 42)
HSLhsl(356, 71%, 43%)
OKLCHoklch(51.1% 0.188 24.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 #BA1F2A 6.33:1 AA Lc -84.9 Fine for body text
Black text on #BA1F2A 3.31:1 AA large text Lc 24.3 Dividers and decoration only
#BA1F2A text on white 6.33:1 AA Lc 79.7 Fine for body text
#BA1F2A text on black 3.31:1 AA large text Lc -22.1 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

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F9CDC9

    oklch(88.5% 0.05 24.2)

  4. Step 300

    300

    #F6AAA4

    oklch(80.9% 0.091 24.3)

  5. Step 400

    400

    #EE7873

    oklch(70.7% 0.146 24)

  6. Step 500

    500

    #E44E4E

    oklch(63.1% 0.186 24.2)

  7. Step 600

    600

    #D02731

    oklch(55.7% 0.203 24.4)

  8. Step 700

    700 (this color)

    #BA1F2A

    oklch(51.1% 0.188 24.2)

  9. Step 800

    800

    #91171F

    oklch(42.6% 0.156 24.3)

  10. Step 900

    900

    #751D1F

    oklch(37.7% 0.122 24.1)

  11. Step 950

    950

    #451313

    oklch(27% 0.077 23.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA1F2A 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)#524A290.206
Deuteranopia (no green cones)#786B230.187
Tritanopia (no blue cones)#CD00250.037
Achromatopsia (no color)#6060600.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA1F2A

    #BA1F2A

    oklch(51.1% 0.188 24.2)

  • #00747D

    #00747D

    oklch(51% 0.087 204.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA1F2A

    #BA1F2A

    oklch(51.1% 0.188 24.2)

  • #B0216D

    #B0216D

    oklch(51% 0.188 354.2)

  • #9C4E00

    #9C4E00

    oklch(51.1% 0.127 54.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA1F2A

    #BA1F2A

    oklch(51.1% 0.188 24.2)

  • #007862

    #007862

    oklch(51.1% 0.097 174)

  • #006F9A

    #006F9A

    oklch(51.1% 0.107 234.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA1F2A

    #BA1F2A

    oklch(51.1% 0.188 24.2)

  • #007C19

    #007C19

    oklch(50.9% 0.164 144.3)

  • #2C5BD0

    #2C5BD0

    oklch(51.1% 0.188 264.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA1F2A

    #BA1F2A

    oklch(51.1% 0.188 24.2)

  • #666D00

    #666D00

    oklch(51.1% 0.115 114.1)

  • #00747D

    #00747D

    oklch(51% 0.087 204.3)

  • #7045C5

    #7045C5

    oklch(51% 0.189 294.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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