#BA1F68

Closest named color: Raspberry (#B00149). oklch(52.5% 0.195 358.8), rgb(186, 31, 104).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.195)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.48:1
White text6.02:1

Values

HEX#BA1F68
RGBrgb(186, 31, 104)
HSLhsl(332, 71%, 43%)
OKLCHoklch(52.5% 0.195 358.8)

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 #BA1F68 6.02:1 AA Lc -83.7 Fine for body text
Black text on #BA1F68 3.48:1 AA large text Lc 25.6 Dividers and decoration only
#BA1F68 text on white 6.02:1 AA Lc 78.5 Fine for body text
#BA1F68 text on black 3.48:1 AA large text Lc -23.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 600.

  1. Step 50

    50

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3E9

    oklch(93.5% 0.025 359.2)

  3. Step 200

    200

    #F5CCD8

    oklch(88.4% 0.049 358.7)

  4. Step 300

    300

    #F0A9BF

    oklch(80.8% 0.088 359)

  5. Step 400

    400

    #E5789F

    oklch(70.6% 0.141 358.6)

  6. Step 500

    500

    #DA5087

    oklch(63.1% 0.179 358.9)

  7. Step 600

    600 (this color)

    #BA1F68

    oklch(52.5% 0.195 358.8)

  8. Step 700

    700

    #AA1D5F

    oklch(49.2% 0.181 358.8)

  9. Step 800

    800

    #8A1C4D

    oklch(42.7% 0.15 359.1)

  10. Step 900

    900

    #6F1F40

    oklch(37.7% 0.117 359.1)

  11. Step 950

    950

    #411426

    oklch(27% 0.073 358.3)

Export this scale for Tailwind in the Tailwind colors tool

#BA1F68 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)#46506A0.220
Deuteranopia (no green cones)#706D650.195
Tritanopia (no blue cones)#CA00420.062
Achromatopsia (no color)#6363630.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA1F68

    #BA1F68

    oklch(52.5% 0.195 358.8)

  • #007C6B

    #007C6B

    oklch(52.5% 0.096 178.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA1F68

    #BA1F68

    oklch(52.5% 0.195 358.8)

  • #A231A0

    #A231A0

    oklch(52.4% 0.194 328.7)

  • #C1221A

    #C1221A

    oklch(52.4% 0.194 28.9)

Open the analogous palette in the generator

Split complementary

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

  • #BA1F68

    #BA1F68

    oklch(52.5% 0.195 358.8)

  • #008035

    #008035

    oklch(52.4% 0.148 149)

  • #007886

    #007886

    oklch(52.4% 0.09 209)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA1F68

    #BA1F68

    oklch(52.5% 0.195 358.8)

  • #637300

    #637300

    oklch(52.4% 0.123 118.9)

  • #0072A6

    #0072A6

    oklch(52.5% 0.118 238.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA1F68

    #BA1F68

    oklch(52.5% 0.195 358.8)

  • #836600

    #836600

    oklch(52.4% 0.107 89.1)

  • #007C6B

    #007C6B

    oklch(52.5% 0.096 178.7)

  • #3E5BD8

    #3E5BD8

    oklch(52.5% 0.194 268.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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