#BA1F34

Closest named color: Lipstick Red (#C0022F). oklch(51.2% 0.188 20.9), rgb(186, 31, 52).

Aa

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

About this color

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

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

Values

HEX#BA1F34
RGBrgb(186, 31, 52)
HSLhsl(352, 71%, 43%)
OKLCHoklch(51.2% 0.188 20.9)

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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E2

    oklch(93.5% 0.026 20.5)

  3. Step 200

    200

    #F9CDCB

    oklch(88.6% 0.05 21.2)

  4. Step 300

    300

    #F6A9A7

    oklch(80.8% 0.091 20.9)

  5. Step 400

    400

    #ED7879

    oklch(70.7% 0.145 20.9)

  6. Step 500

    500

    #E44E57

    oklch(63.2% 0.186 20.8)

  7. Step 600

    600

    #CF263C

    oklch(55.6% 0.202 20.9)

  8. Step 700

    700 (this color)

    #BA1F34

    oklch(51.2% 0.188 20.9)

  9. Step 800

    800

    #911727

    oklch(42.7% 0.155 20.9)

  10. Step 900

    900

    #751D24

    oklch(37.8% 0.121 21)

  11. Step 950

    950

    #451315

    oklch(27.1% 0.077 21.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA1F34 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)#514B330.207
Deuteranopia (no green cones)#776B2F0.188
Tritanopia (no blue cones)#CD00290.038
Achromatopsia (no color)#6060600.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA1F34

    #BA1F34

    oklch(51.2% 0.188 20.9)

  • #00757B

    #00757B

    oklch(51.2% 0.087 201.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA1F34

    #BA1F34

    oklch(51.2% 0.188 20.9)

  • #AF2374

    #AF2374

    oklch(51.2% 0.188 350.9)

  • #A04B00

    #A04B00

    oklch(51.2% 0.133 51.2)

Open the analogous palette in the generator

Split complementary

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

  • #BA1F34

    #BA1F34

    oklch(51.2% 0.188 20.9)

  • #00795F

    #00795F

    oklch(51.3% 0.1 171)

  • #007097

    #007097

    oklch(51.2% 0.104 231.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA1F34

    #BA1F34

    oklch(51.2% 0.188 20.9)

  • #1B7C00

    #1B7C00

    oklch(51.2% 0.168 140.9)

  • #1D5ED0

    #1D5ED0

    oklch(51.2% 0.188 260.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA1F34

    #BA1F34

    oklch(51.2% 0.188 20.9)

  • #6A6C00

    #6A6C00

    oklch(51.2% 0.113 111)

  • #00757B

    #00757B

    oklch(51.2% 0.087 201.1)

  • #6B48C7

    #6B48C7

    oklch(51.1% 0.188 290.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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