#BA172F

Closest named color: Lipstick Red (#C0022F). oklch(50.7% 0.192 21.6), rgb(186, 23, 47).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.192)
Temperaturewarm
Nearest nameLipstick Red (#C0022F)
Black text3.25:1
White text6.45:1

Values

HEX#BA172F
RGBrgb(186, 23, 47)
HSLhsl(351, 78%, 41%)
OKLCHoklch(50.7% 0.192 21.6)

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 #BA172F 6.45:1 AA Lc -85.3 Fine for body text
Black text on #BA172F 3.25:1 AA large text Lc 24.0 Dividers and decoration only
#BA172F text on white 6.45:1 AA Lc 80.1 Fine for body text
#BA172F text on black 3.25:1 AA large text Lc -21.8 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

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FACCCA

    oklch(88.4% 0.052 21.1)

  4. Step 300

    300

    #F7A9A6

    oklch(80.9% 0.093 21.8)

  5. Step 400

    400

    #EF7676

    oklch(70.6% 0.15 21.6)

  6. Step 500

    500

    #E64B53

    oklch(63.1% 0.191 21.7)

  7. Step 600

    600

    #D12138

    oklch(55.6% 0.207 21.6)

  8. Step 700

    700 (this color)

    #BA172F

    oklch(50.7% 0.192 21.6)

  9. Step 800

    800

    #921324

    oklch(42.6% 0.159 21.6)

  10. Step 900

    900

    #761B22

    oklch(37.7% 0.125 21.6)

  11. Step 950

    950

    #451214

    oklch(26.9% 0.078 21.9)

Export this scale for Tailwind in the Tailwind colors tool

#BA172F 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)#4F492E0.213
Deuteranopia (no green cones)#766A290.193
Tritanopia (no blue cones)#CD00230.038
Achromatopsia (no color)#5E5E5E0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA172F

    #BA172F

    oklch(50.7% 0.192 21.6)

  • #00737A

    #00737A

    oklch(50.6% 0.086 202.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA172F

    #BA172F

    oklch(50.7% 0.192 21.6)

  • #AF1C71

    #AF1C71

    oklch(50.7% 0.193 351.7)

  • #9D4A00

    #9D4A00

    oklch(50.6% 0.131 51.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA172F

    #BA172F

    oklch(50.7% 0.192 21.6)

  • #00775E

    #00775E

    oklch(50.7% 0.099 171.4)

  • #006E95

    #006E95

    oklch(50.5% 0.103 231.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA172F

    #BA172F

    oklch(50.7% 0.192 21.6)

  • #127B00

    #127B00

    oklch(50.7% 0.169 141.6)

  • #1D5BD1

    #1D5BD1

    oklch(50.7% 0.193 261.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA172F

    #BA172F

    oklch(50.7% 0.192 21.6)

  • #686B00

    #686B00

    oklch(50.8% 0.112 111.7)

  • #00737A

    #00737A

    oklch(50.6% 0.086 202.2)

  • #6B45C7

    #6B45C7

    oklch(50.6% 0.192 291.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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