#BA2212

Closest named color: Firebrick (#B22222). oklch(51% 0.189 30.4), rgb(186, 34, 18).

Aa

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

About this color

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

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

Values

HEX#BA2212
RGBrgb(186, 34, 18)
HSLhsl(6, 82%, 40%)
OKLCHoklch(51% 0.189 30.4)

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 #BA2212 6.31:1 AA Lc -84.9 Fine for body text
Black text on #BA2212 3.32:1 AA large text Lc 24.4 Dividers and decoration only
#BA2212 text on white 6.31:1 AA Lc 79.7 Fine for body text
#BA2212 text on black 3.32:1 AA large text Lc -22.2 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

    #FEF3F1

    oklch(97.2% 0.012 29.9)

  2. Step 100

    100

    #FBE4DF

    oklch(93.6% 0.026 32.2)

  3. Step 200

    200

    #F9CDC5

    oklch(88.4% 0.051 30.1)

  4. Step 300

    300

    #F6AB9D

    oklch(81% 0.091 30.9)

  5. Step 400

    400

    #ED7A68

    oklch(70.7% 0.145 30.3)

  6. Step 500

    500

    #E4503D

    oklch(63% 0.187 30.3)

  7. Step 600

    600

    #D02A18

    oklch(55.7% 0.203 30.4)

  8. Step 700

    700 (this color)

    #BA2212

    oklch(51% 0.189 30.4)

  9. Step 800

    800

    #911A0D

    oklch(42.6% 0.156 30.5)

  10. Step 900

    900

    #751F14

    oklch(37.8% 0.122 30.7)

  11. Step 950

    950

    #45140D

    oklch(27.1% 0.077 30.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA2212 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)#554A0C0.203
Deuteranopia (no green cones)#796C020.185
Tritanopia (no blue cones)#CE00210.043
Achromatopsia (no color)#6060600.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA2212

    #BA2212

    oklch(51% 0.189 30.4)

  • #007382

    #007382

    oklch(50.9% 0.088 210.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA2212

    #BA2212

    oklch(51% 0.189 30.4)

  • #B41D61

    #B41D61

    oklch(51% 0.189 0.4)

  • #965300

    #965300

    oklch(51.1% 0.119 60.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA2212

    #BA2212

    oklch(51% 0.189 30.4)

  • #007769

    #007769

    oklch(51% 0.092 180.9)

  • #006DA2

    #006DA2

    oklch(51% 0.117 240.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA2212

    #BA2212

    oklch(51% 0.189 30.4)

  • #007B38

    #007B38

    oklch(51% 0.139 150.5)

  • #4056D0

    #4056D0

    oklch(51% 0.189 270.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA2212

    #BA2212

    oklch(51% 0.189 30.4)

  • #5D7000

    #5D7000

    oklch(51.1% 0.122 120.7)

  • #007382

    #007382

    oklch(50.9% 0.088 210.5)

  • #7A41BF

    #7A41BF

    oklch(51% 0.189 300.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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