#BA2F2B

Closest named color: Firebrick (#B22222). oklch(52.3% 0.177 27), rgb(186, 47, 43).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.52:1
White text5.95:1

Values

HEX#BA2F2B
RGBrgb(186, 47, 43)
HSLhsl(2, 62%, 45%)
OKLCHoklch(52.3% 0.177 27)

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 #BA2F2B 5.95:1 AA Lc -83.7 Fine for body text
Black text on #BA2F2B 3.52:1 AA large text Lc 25.7 Dividers and decoration only
#BA2F2B text on white 5.95:1 AA Lc 78.4 Fine for body text
#BA2F2B text on black 3.52:1 AA large text Lc -23.4 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

    #FAE4E1

    oklch(93.6% 0.025 26.9)

  3. Step 200

    200

    #F7CEC8

    oklch(88.5% 0.047 27.8)

  4. Step 300

    300

    #F3ACA3

    oklch(80.9% 0.085 27.2)

  5. Step 400

    400

    #E97C71

    oklch(70.6% 0.136 27)

  6. Step 500

    500

    #DF554C

    oklch(63.1% 0.174 27)

  7. Step 600

    600

    #CB322E

    oklch(55.6% 0.19 27.1)

  8. Step 700

    700 (this color)

    #BA2F2B

    oklch(52.3% 0.177 27)

  9. Step 800

    800

    #8E201D

    oklch(42.7% 0.146 27.2)

  10. Step 900

    900

    #72221D

    oklch(37.7% 0.114 27.5)

  11. Step 950

    950

    #431512

    oklch(26.9% 0.072 26.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA2F2B 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)#5950290.190
Deuteranopia (no green cones)#7B6F250.175
Tritanopia (no blue cones)#CD00300.046
Achromatopsia (no color)#6464640.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA2F2B

    #BA2F2B

    oklch(52.3% 0.177 27)

  • #007884

    #007884

    oklch(52.3% 0.09 207)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA2F2B

    #BA2F2B

    oklch(52.3% 0.177 27)

  • #B22D6B

    #B22D6B

    oklch(52.2% 0.177 356.9)

  • #9F5300

    #9F5300

    oklch(52.4% 0.127 56.8)

Open the analogous palette in the generator

Split complementary

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

  • #BA2F2B

    #BA2F2B

    oklch(52.3% 0.177 27)

  • #007C69

    #007C69

    oklch(52.4% 0.097 177)

  • #0072A3

    #0072A3

    oklch(52.3% 0.114 237.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA2F2B

    #BA2F2B

    oklch(52.3% 0.177 27)

  • #00802C

    #00802C

    oklch(52.3% 0.155 147)

  • #3C5FCE

    #3C5FCE

    oklch(52.3% 0.176 266.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA2F2B

    #BA2F2B

    oklch(52.3% 0.177 27)

  • #657200

    #657200

    oklch(52.3% 0.121 117.3)

  • #007884

    #007884

    oklch(52.3% 0.09 207)

  • #774BC1

    #774BC1

    oklch(52.3% 0.177 297)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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