#BA1507

Closest named color: Scarlet (#BE0119). oklch(50.2% 0.196 30), rgb(186, 21, 7).

Aa

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

About this color

#BA1507 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.196 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Scarlet (#BE0119), ΔE 0.016 away. White text reads best on it, at 6.56:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.196)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.19:1
White text6.56:1

Values

HEX#BA1507
RGBrgb(186, 21, 7)
HSLhsl(5, 93%, 38%)
OKLCHoklch(50.2% 0.196 30)

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 #BA1507 6.56:1 AA Lc -85.5 Fine for body text
Black text on #BA1507 3.19:1 AA large text Lc 23.7 Dividers and decoration only
#BA1507 text on white 6.56:1 AA Lc 80.3 Fine for body text
#BA1507 text on black 3.19:1 AA large text Lc -21.5 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

    #FEF3F0

    oklch(97.2% 0.013 35.7)

  2. Step 100

    100

    #FCE4DF

    oklch(93.7% 0.027 31.7)

  3. Step 200

    200

    #FACDC5

    oklch(88.5% 0.052 29.9)

  4. Step 300

    300

    #F8AA9C

    oklch(81% 0.095 30.5)

  5. Step 400

    400

    #F07866

    oklch(70.7% 0.151 30.1)

  6. Step 500

    500

    #E74C3A

    oklch(63% 0.194 30)

  7. Step 600

    600

    #D32112

    oklch(55.6% 0.212 29.9)

  8. Step 700

    700 (this color)

    #BA1507

    oklch(50.2% 0.196 30)

  9. Step 800

    800

    #941409

    oklch(42.8% 0.163 30)

  10. Step 900

    900

    #771C12

    oklch(37.8% 0.127 30.2)

  11. Step 950

    950

    #46120C

    oklch(27% 0.081 29.8)

Export this scale for Tailwind in the Tailwind colors tool

#BA1507 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)#5147000.214
Deuteranopia (no green cones)#7869000.189
Tritanopia (no blue cones)#CE00160.041
Achromatopsia (no color)#5D5D5D0.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA1507

    #BA1507

    oklch(50.2% 0.196 30)

  • #00717F

    #00717F

    oklch(50.3% 0.087 209.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA1507

    #BA1507

    oklch(50.2% 0.196 30)

  • #B30F5F

    #B30F5F

    oklch(50.1% 0.196 0)

  • #935100

    #935100

    oklch(50.3% 0.117 60.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA1507

    #BA1507

    oklch(50.2% 0.196 30)

  • #007566

    #007566

    oklch(50.4% 0.092 179.8)

  • #006B9E

    #006B9E

    oklch(50.3% 0.115 239.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA1507

    #BA1507

    oklch(50.2% 0.196 30)

  • #007935

    #007935

    oklch(50.3% 0.139 149.9)

  • #3C52D2

    #3C52D2

    oklch(50.2% 0.197 270.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA1507

    #BA1507

    oklch(50.2% 0.196 30)

  • #5C6D00

    #5C6D00

    oklch(50.3% 0.119 119.8)

  • #00717F

    #00717F

    oklch(50.3% 0.087 209.7)

  • #783CC0

    #783CC0

    oklch(50.2% 0.196 300.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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