#BA0712

Closest named color: Scarlet (#BE0119). oklch(49.8% 0.2 27.5), rgb(186, 7, 18).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.200)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.12:1
White text6.71:1

Values

HEX#BA0712
RGBrgb(186, 7, 18)
HSLhsl(356, 93%, 38%)
OKLCHoklch(49.8% 0.2 27.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 #BA0712 6.71:1 AA Lc -85.8 Fine for body text
Black text on #BA0712 3.12:1 AA large text Lc 23.4 Dividers and decoration only
#BA0712 text on white 6.71:1 AA Lc 80.6 Fine for body text
#BA0712 text on black 3.12:1 AA large text Lc -21.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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE3E0

    oklch(93.5% 0.028 25.9)

  3. Step 200

    200

    #FBCCC6

    oklch(88.4% 0.054 26.7)

  4. Step 300

    300

    #F9A99E

    oklch(81% 0.097 28)

  5. Step 400

    400

    #F27669

    oklch(70.8% 0.155 27.8)

  6. Step 500

    500

    #E94940

    oklch(63.1% 0.198 27.5)

  7. Step 600

    600

    #D41A1D

    oklch(55.5% 0.215 27.6)

  8. Step 700

    700 (this color)

    #BA0712

    oklch(49.8% 0.2 27.5)

  9. Step 800

    800

    #950E11

    oklch(42.7% 0.166 27.4)

  10. Step 900

    900

    #781916

    oklch(37.8% 0.13 27.4)

  11. Step 950

    950

    #46110E

    oklch(26.9% 0.082 27.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA0712 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)#4E440E0.220
Deuteranopia (no green cones)#7668000.198
Tritanopia (no blue cones)#CE00110.041
Achromatopsia (no color)#5C5C5C0.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA0712

    #BA0712

    oklch(49.8% 0.2 27.5)

  • #00707C

    #00707C

    oklch(49.9% 0.086 207.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA0712

    #BA0712

    oklch(49.8% 0.2 27.5)

  • #B20663

    #B20663

    oklch(49.8% 0.2 357.6)

  • #944E00

    #944E00

    oklch(49.9% 0.12 57.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA0712

    #BA0712

    oklch(49.8% 0.2 27.5)

  • #007362

    #007362

    oklch(49.7% 0.092 177.7)

  • #006A99

    #006A99

    oklch(49.7% 0.11 237.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA0712

    #BA0712

    oklch(49.8% 0.2 27.5)

  • #00782B

    #00782B

    oklch(49.9% 0.147 147.5)

  • #3252D2

    #3252D2

    oklch(49.7% 0.2 267.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA0712

    #BA0712

    oklch(49.8% 0.2 27.5)

  • #5E6B00

    #5E6B00

    oklch(49.9% 0.116 117.7)

  • #00707C

    #00707C

    oklch(49.9% 0.086 207.7)

  • #733BC3

    #733BC3

    oklch(49.8% 0.2 297.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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