#BA331F

Closest named color: Sinopia (#BB3E03). oklch(52.6% 0.175 31.5), rgb(186, 51, 31).

Aa

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

About this color

#BA331F is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.175 and its hue 31°. Its hue sits on the warm side of the wheel. The nearest named color is Sinopia (#BB3E03), ΔE 0.027 away. White text reads best on it, at 5.86:1.

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameSinopia (#BB3E03)
Black text3.58:1
White text5.86:1

Values

HEX#BA331F
RGBrgb(186, 51, 31)
HSLhsl(8, 71%, 43%)
OKLCHoklch(52.6% 0.175 31.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 #BA331F 5.86:1 AA Lc -83.3 Fine for body text
Black text on #BA331F 3.58:1 AA large text Lc 26.0 Dividers and decoration only
#BA331F text on white 5.86:1 AA Lc 78.0 Fine for body text
#BA331F text on black 3.58:1 AA large text Lc -23.7 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 600.

  1. Step 50

    50

    #FCF3F1

    oklch(97.1% 0.01 32.5)

  2. Step 100

    100

    #F9E5E1

    oklch(93.7% 0.023 31.1)

  3. Step 200

    200

    #F5CFC8

    oklch(88.5% 0.044 30.2)

  4. Step 300

    300

    #EFAEA1

    oklch(80.8% 0.079 31.6)

  5. Step 400

    400

    #E4816F

    oklch(70.7% 0.126 31.3)

  6. Step 500

    500

    #D95D48

    oklch(63.1% 0.16 31.6)

  7. Step 600

    600 (this color)

    #BA331F

    oklch(52.6% 0.175 31.5)

  8. Step 700

    700

    #A92E1C

    oklch(49% 0.162 31.4)

  9. Step 800

    800

    #8A2819

    oklch(42.8% 0.135 31.5)

  10. Step 900

    900

    #6F271B

    oklch(37.8% 0.105 31.7)

  11. Step 950

    950

    #411811

    oklch(27% 0.066 31.5)

Export this scale for Tailwind in the Tailwind colors tool

#BA331F 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)#5C521B0.185
Deuteranopia (no green cones)#7D6F180.167
Tritanopia (no blue cones)#CD00300.054
Achromatopsia (no color)#6565650.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA331F

    #BA331F

    oklch(52.6% 0.175 31.5)

  • #007889

    #007889

    oklch(52.6% 0.092 211.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA331F

    #BA331F

    oklch(52.6% 0.175 31.5)

  • #B52E64

    #B52E64

    oklch(52.6% 0.176 1.2)

  • #9B5700

    #9B5700

    oklch(52.5% 0.121 61.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA331F

    #BA331F

    oklch(52.6% 0.175 31.5)

  • #007C6E

    #007C6E

    oklch(52.6% 0.095 181.4)

  • #0071AB

    #0071AB

    oklch(52.5% 0.124 241.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA331F

    #BA331F

    oklch(52.6% 0.175 31.5)

  • #00803E

    #00803E

    oklch(52.5% 0.14 151.5)

  • #495DCE

    #495DCE

    oklch(52.6% 0.175 271.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA331F

    #BA331F

    oklch(52.6% 0.175 31.5)

  • #5F7500

    #5F7500

    oklch(52.6% 0.127 121.8)

  • #007889

    #007889

    oklch(52.6% 0.092 211.8)

  • #7E4ABD

    #7E4ABD

    oklch(52.6% 0.175 301.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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