#BA173A

Closest named color: Rose Red (#BE013C). oklch(50.9% 0.192 17.7), rgb(186, 23, 58).

Aa

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

About this color

#BA173A is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.192 and its hue 18°. Its hue sits on the warm side of the wheel. The nearest named color is Rose Red (#BE013C), ΔE 0.013 away. White text reads best on it, at 6.41:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.192)
Temperaturewarm
Nearest nameRose Red (#BE013C)
Black text3.27:1
White text6.41:1

Values

HEX#BA173A
RGBrgb(186, 23, 58)
HSLhsl(347, 78%, 41%)
OKLCHoklch(50.9% 0.192 17.7)

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 #BA173A 6.41:1 AA Lc -85.1 Fine for body text
Black text on #BA173A 3.27:1 AA large text Lc 24.1 Dividers and decoration only
#BA173A text on white 6.41:1 AA Lc 79.9 Fine for body text
#BA173A text on black 3.27:1 AA large text Lc -21.9 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

    #FCE3E3

    oklch(93.6% 0.028 17.7)

  3. Step 200

    200

    #FACCCC

    oklch(88.5% 0.052 18.2)

  4. Step 300

    300

    #F7A8AA

    oklch(80.9% 0.094 17.7)

  5. Step 400

    400

    #EE767E

    oklch(70.7% 0.148 17.5)

  6. Step 500

    500

    #E54A5D

    oklch(63.1% 0.19 17.6)

  7. Step 600

    600

    #D02043

    oklch(55.5% 0.206 17.8)

  8. Step 700

    700 (this color)

    #BA173A

    oklch(50.9% 0.192 17.7)

  9. Step 800

    800

    #92122C

    oklch(42.7% 0.159 17.8)

  10. Step 900

    900

    #751B28

    oklch(37.7% 0.123 17.6)

  11. Step 950

    950

    #451218

    oklch(27% 0.078 17.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA173A 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)#4D493A0.215
Deuteranopia (no green cones)#756A350.194
Tritanopia (no blue cones)#CD00280.041
Achromatopsia (no color)#5F5F5F0.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA173A

    #BA173A

    oklch(50.9% 0.192 17.7)

  • #007477

    #007477

    oklch(50.7% 0.086 197.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA173A

    #BA173A

    oklch(50.9% 0.192 17.7)

  • #AD2079

    #AD2079

    oklch(50.9% 0.192 347.8)

  • #A34600

    #A34600

    oklch(50.9% 0.14 47.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA173A

    #BA173A

    oklch(50.9% 0.192 17.7)

  • #00785A

    #00785A

    oklch(50.9% 0.103 167.9)

  • #007092

    #007092

    oklch(50.9% 0.099 227.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA173A

    #BA173A

    oklch(50.9% 0.192 17.7)

  • #317900

    #317900

    oklch(51% 0.156 137.6)

  • #0060CD

    #0060CD

    oklch(51% 0.186 257.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA173A

    #BA173A

    oklch(50.9% 0.192 17.7)

  • #6D6900

    #6D6900

    oklch(50.8% 0.109 107.1)

  • #007477

    #007477

    oklch(50.7% 0.086 197.9)

  • #6548CB

    #6548CB

    oklch(50.8% 0.193 287.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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