#BA0126

Closest named color: Scarlet (#BE0119). oklch(49.8% 0.201 22.7), rgb(186, 1, 38).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.201)
Temperaturewarm
Nearest nameScarlet (#BE0119)
Black text3.12:1
White text6.73:1

Values

HEX#BA0126
RGBrgb(186, 1, 38)
HSLhsl(348, 99%, 37%)
OKLCHoklch(49.8% 0.201 22.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 #BA0126 6.73:1 AA Lc -85.7 Fine for body text
Black text on #BA0126 3.12:1 AA large text Lc 23.5 Dividers and decoration only
#BA0126 text on white 6.73:1 AA Lc 80.5 Fine for body text
#BA0126 text on black 3.12: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

    #FCE3E1

    oklch(93.6% 0.028 23.2)

  3. Step 200

    200

    #FBCCC9

    oklch(88.5% 0.054 22.5)

  4. Step 300

    300

    #F9A8A4

    oklch(80.9% 0.096 22.5)

  5. Step 400

    400

    #F27472

    oklch(70.7% 0.156 22.8)

  6. Step 500

    500

    #E9474E

    oklch(63.1% 0.198 22.6)

  7. Step 600

    600

    #D41531

    oklch(55.5% 0.215 22.7)

  8. Step 700

    700 (this color)

    #BA0126

    oklch(49.8% 0.201 22.7)

  9. Step 800

    800

    #950B1F

    oklch(42.7% 0.166 22.8)

  10. Step 900

    900

    #78181F

    oklch(37.8% 0.13 22.6)

  11. Step 950

    950

    #461113

    oklch(26.9% 0.081 22.4)

Export this scale for Tailwind in the Tailwind colors tool

#BA0126 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)#4B44250.224
Deuteranopia (no green cones)#74681E0.202
Tritanopia (no blue cones)#CD00170.042
Achromatopsia (no color)#5C5C5C0.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA0126

    #BA0126

    oklch(49.8% 0.201 22.7)

  • #007178

    #007178

    oklch(50% 0.085 202.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA0126

    #BA0126

    oklch(49.8% 0.201 22.7)

  • #AF0C6D

    #AF0C6D

    oklch(49.8% 0.2 352.7)

  • #994A00

    #994A00

    oklch(50% 0.127 52.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA0126

    #BA0126

    oklch(49.8% 0.201 22.7)

  • #00745D

    #00745D

    oklch(49.8% 0.096 172.6)

  • #006C93

    #006C93

    oklch(49.9% 0.102 232.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA0126

    #BA0126

    oklch(49.8% 0.201 22.7)

  • #007903

    #007903

    oklch(49.9% 0.169 142.7)

  • #1C56D2

    #1C56D2

    oklch(49.8% 0.2 262.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA0126

    #BA0126

    oklch(49.8% 0.201 22.7)

  • #646800

    #646800

    oklch(49.7% 0.11 112.4)

  • #007178

    #007178

    oklch(50% 0.085 202.3)

  • #6B3EC8

    #6B3EC8

    oklch(49.8% 0.201 292.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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