#BA1F64

Closest named color: Raspberry (#B00149). oklch(52.3% 0.193 0.6), rgb(186, 31, 100).

Aa

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

About this color

#BA1F64 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.193 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.046 away. White text reads best on it, at 6.05:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.193)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.46:1
White text6.05:1

Values

HEX#BA1F64
RGBrgb(186, 31, 100)
HSLhsl(333, 71%, 43%)
OKLCHoklch(52.3% 0.193 0.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 #BA1F64 6.05:1 AA Lc -83.8 Fine for body text
Black text on #BA1F64 3.46:1 AA large text Lc 25.5 Dividers and decoration only
#BA1F64 text on white 6.05:1 AA Lc 78.6 Fine for body text
#BA1F64 text on black 3.46:1 AA large text Lc -23.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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3E9

    oklch(93.6% 0.026 359.9)

  3. Step 200

    200

    #F8CCD7

    oklch(88.6% 0.052 1.5)

  4. Step 300

    300

    #F4A7BD

    oklch(80.9% 0.094 0.8)

  5. Step 400

    400

    #EA759C

    oklch(70.8% 0.15 0.5)

  6. Step 500

    500

    #DF4A83

    oklch(63.1% 0.19 0.7)

  7. Step 600

    600

    #CB206D

    oklch(55.7% 0.208 0.7)

  8. Step 700

    700 (this color)

    #BA1F64

    oklch(52.3% 0.193 0.6)

  9. Step 800

    800

    #8E134A

    oklch(42.7% 0.16 0.9)

  10. Step 900

    900

    #721A3E

    oklch(37.6% 0.125 0.5)

  11. Step 950

    950

    #431224

    oklch(27% 0.078 1.1)

Export this scale for Tailwind in the Tailwind colors tool

#BA1F64 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)#4750660.219
Deuteranopia (no green cones)#706D610.196
Tritanopia (no blue cones)#CA00400.059
Achromatopsia (no color)#6262620.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA1F64

    #BA1F64

    oklch(52.3% 0.193 0.6)

  • #007B6C

    #007B6C

    oklch(52.2% 0.095 180.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA1F64

    #BA1F64

    oklch(52.3% 0.193 0.6)

  • #A3309C

    #A3309C

    oklch(52.3% 0.193 330.5)

  • #C02412

    #C02412

    oklch(52.3% 0.193 30.6)

Open the analogous palette in the generator

Split complementary

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

  • #BA1F64

    #BA1F64

    oklch(52.3% 0.193 0.6)

  • #00803B

    #00803B

    oklch(52.5% 0.142 150.6)

  • #007787

    #007787

    oklch(52.2% 0.091 211)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA1F64

    #BA1F64

    oklch(52.3% 0.193 0.6)

  • #607400

    #607400

    oklch(52.4% 0.125 120.9)

  • #0071A8

    #0071A8

    oklch(52.4% 0.121 240.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA1F64

    #BA1F64

    oklch(52.3% 0.193 0.6)

  • #816600

    #816600

    oklch(52.2% 0.107 90.5)

  • #007B6C

    #007B6C

    oklch(52.2% 0.095 180.4)

  • #4359D7

    #4359D7

    oklch(52.3% 0.194 270.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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