#BA2831

Closest named color: Firebrick (#B22222). oklch(51.8% 0.181 23.5), rgb(186, 40, 49).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.181)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.43:1
White text6.11:1

Values

HEX#BA2831
RGBrgb(186, 40, 49)
HSLhsl(356, 65%, 44%)
OKLCHoklch(51.8% 0.181 23.5)

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 #BA2831 6.11:1 AA Lc -84.2 Fine for body text
Black text on #BA2831 3.43:1 AA large text Lc 25.1 Dividers and decoration only
#BA2831 text on white 6.11:1 AA Lc 79.0 Fine for body text
#BA2831 text on black 3.43:1 AA large text Lc -22.8 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

    #FDF3F2

    oklch(97.2% 0.011 24.3)

  2. Step 100

    100

    #FBE4E2

    oklch(93.7% 0.025 23.6)

  3. Step 200

    200

    #F8CDCA

    oklch(88.4% 0.049 22.8)

  4. Step 300

    300

    #F4ABA6

    oklch(81% 0.087 23.5)

  5. Step 400

    400

    #EB7A76

    oklch(70.7% 0.14 23.4)

  6. Step 500

    500

    #E15252

    oklch(63.1% 0.179 23.8)

  7. Step 600

    600

    #CD2D37

    oklch(55.7% 0.195 23.5)

  8. Step 700

    700 (this color)

    #BA2831

    oklch(51.8% 0.181 23.5)

  9. Step 800

    800

    #8F1C23

    oklch(42.6% 0.15 23.6)

  10. Step 900

    900

    #731F21

    oklch(37.6% 0.117 23.6)

  11. Step 950

    950

    #441414

    oklch(27% 0.074 23.5)

Export this scale for Tailwind in the Tailwind colors tool

#BA2831 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)#554E300.198
Deuteranopia (no green cones)#796D2C0.181
Tritanopia (no blue cones)#CD002D0.039
Achromatopsia (no color)#6262620.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA2831

    #BA2831

    oklch(51.8% 0.181 23.5)

  • #00777F

    #00777F

    oklch(51.9% 0.088 203)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA2831

    #BA2831

    oklch(51.8% 0.181 23.5)

  • #B02970

    #B02970

    oklch(51.7% 0.181 353.5)

  • #A04F00

    #A04F00

    oklch(51.8% 0.13 53.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA2831

    #BA2831

    oklch(51.8% 0.181 23.5)

  • #007A63

    #007A63

    oklch(51.7% 0.099 173.4)

  • #00719C

    #00719C

    oklch(51.7% 0.108 233.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA2831

    #BA2831

    oklch(51.8% 0.181 23.5)

  • #007F12

    #007F12

    oklch(51.8% 0.17 143.5)

  • #2E5FCF

    #2E5FCF

    oklch(51.8% 0.182 263.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA2831

    #BA2831

    oklch(51.8% 0.181 23.5)

  • #696F00

    #696F00

    oklch(51.9% 0.116 113.5)

  • #00777F

    #00777F

    oklch(51.9% 0.088 203)

  • #714AC4

    #714AC4

    oklch(51.7% 0.181 293.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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