#BA0F0F

Closest named color: Scarlet (#BE0119). oklch(50% 0.198 28.5), rgb(186, 15, 15).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.198)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.16:1
White text6.63:1

Values

HEX#BA0F0F
RGBrgb(186, 15, 15)
HSLhsl(0, 85%, 39%)
OKLCHoklch(50% 0.198 28.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 #BA0F0F 6.63:1 AA Lc -85.7 Fine for body text
Black text on #BA0F0F 3.16:1 AA large text Lc 23.5 Dividers and decoration only
#BA0F0F text on white 6.63:1 AA Lc 80.5 Fine for body text
#BA0F0F text on black 3.16:1 AA large text Lc -21.3 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

    #FCE3DF

    oklch(93.5% 0.028 28.5)

  3. Step 200

    200

    #FBCDC5

    oklch(88.6% 0.054 29.6)

  4. Step 300

    300

    #F8A99E

    oklch(80.8% 0.095 28.1)

  5. Step 400

    400

    #F17768

    oklch(70.8% 0.153 28.7)

  6. Step 500

    500

    #E84A3E

    oklch(63% 0.196 28.3)

  7. Step 600

    600

    #D41E1A

    oklch(55.7% 0.213 28.5)

  8. Step 700

    700 (this color)

    #BA0F0F

    oklch(50% 0.198 28.5)

  9. Step 800

    800

    #94110E

    oklch(42.6% 0.164 28.5)

  10. Step 900

    900

    #771B15

    oklch(37.7% 0.127 28.5)

  11. Step 950

    950

    #46120D

    oklch(27% 0.081 29)

Export this scale for Tailwind in the Tailwind colors tool

#BA0F0F 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)#4F460A0.218
Deuteranopia (no green cones)#7769000.194
Tritanopia (no blue cones)#CE00140.041
Achromatopsia (no color)#5C5C5C0.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA0F0F

    #BA0F0F

    oklch(50% 0.198 28.5)

  • #00707D

    #00707D

    oklch(49.9% 0.086 208.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA0F0F

    #BA0F0F

    oklch(50% 0.198 28.5)

  • #B30C62

    #B30C62

    oklch(50.1% 0.198 358.5)

  • #944F00

    #944F00

    oklch(50.1% 0.119 58.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA0F0F

    #BA0F0F

    oklch(50% 0.198 28.5)

  • #007464

    #007464

    oklch(50% 0.092 178.7)

  • #006B9B

    #006B9B

    oklch(50.1% 0.111 238)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA0F0F

    #BA0F0F

    oklch(50% 0.198 28.5)

  • #00782F

    #00782F

    oklch(50% 0.143 148.4)

  • #3653D2

    #3653D2

    oklch(50.1% 0.198 268.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA0F0F

    #BA0F0F

    oklch(50% 0.198 28.5)

  • #5D6C00

    #5D6C00

    oklch(50.1% 0.118 118.8)

  • #00707D

    #00707D

    oklch(49.9% 0.086 208.8)

  • #753CC2

    #753CC2

    oklch(50.1% 0.198 298.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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