#BA1F37

Closest named color: Lipstick Red (#C0022F). oklch(51.2% 0.187 19.8), rgb(186, 31, 55).

Aa

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

About this color

#BA1F37 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.187 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Lipstick Red (#C0022F), ΔE 0.018 away. White text reads best on it, at 6.28:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.187)
Temperaturewarm
Nearest nameLipstick Red (#C0022F)
Black text3.33:1
White text6.28:1

Values

HEX#BA1F37
RGBrgb(186, 31, 55)
HSLhsl(351, 71%, 43%)
OKLCHoklch(51.2% 0.187 19.8)

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 #BA1F37 6.28:1 AA Lc -84.8 Fine for body text
Black text on #BA1F37 3.33:1 AA large text Lc 24.5 Dividers and decoration only
#BA1F37 text on white 6.28:1 AA Lc 79.6 Fine for body text
#BA1F37 text on black 3.33:1 AA large text Lc -22.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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F9CDCC

    oklch(88.6% 0.05 19.7)

  4. Step 300

    300

    #F6A9A9

    oklch(80.9% 0.091 19.2)

  5. Step 400

    400

    #ED787B

    oklch(70.8% 0.144 19.8)

  6. Step 500

    500

    #E34D59

    oklch(63% 0.185 19.7)

  7. Step 600

    600

    #CF263F

    oklch(55.7% 0.201 19.9)

  8. Step 700

    700 (this color)

    #BA1F37

    oklch(51.2% 0.187 19.8)

  9. Step 800

    800

    #911729

    oklch(42.7% 0.155 20)

  10. Step 900

    900

    #741D26

    oklch(37.7% 0.12 19.6)

  11. Step 950

    950

    #451316

    oklch(27.1% 0.077 20.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA1F37 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)#514B370.206
Deuteranopia (no green cones)#776C320.190
Tritanopia (no blue cones)#CD002A0.038
Achromatopsia (no color)#6060600.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA1F37

    #BA1F37

    oklch(51.2% 0.187 19.8)

  • #00757A

    #00757A

    oklch(51.1% 0.087 200)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA1F37

    #BA1F37

    oklch(51.2% 0.187 19.8)

  • #AE2476

    #AE2476

    oklch(51.2% 0.188 349.7)

  • #A24A00

    #A24A00

    oklch(51.3% 0.136 50)

Open the analogous palette in the generator

Split complementary

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

  • #BA1F37

    #BA1F37

    oklch(51.2% 0.187 19.8)

  • #00795D

    #00795D

    oklch(51.2% 0.102 169.5)

  • #007196

    #007196

    oklch(51.4% 0.102 229.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA1F37

    #BA1F37

    oklch(51.2% 0.187 19.8)

  • #247B00

    #247B00

    oklch(51.1% 0.164 139.8)

  • #165FCF

    #165FCF

    oklch(51.2% 0.187 259.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA1F37

    #BA1F37

    oklch(51.2% 0.187 19.8)

  • #6B6B00

    #6B6B00

    oklch(51.1% 0.111 109.8)

  • #00757A

    #00757A

    oklch(51.1% 0.087 200)

  • #6949C8

    #6949C8

    oklch(51.1% 0.188 289.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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