#BA0062

Closest named color: Raspberry (#B00149). oklch(51.1% 0.207 359.8), rgb(186, 0, 98).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.207)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.26:1
White text6.43:1

Values

HEX#BA0062
RGBrgb(186, 0, 98)
HSLhsl(328, 100%, 36%)
OKLCHoklch(51.1% 0.207 359.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 #BA0062 6.43:1 AA Lc -84.6 Fine for body text
Black text on #BA0062 3.26:1 AA large text Lc 24.7 Dividers and decoration only
#BA0062 text on white 6.43:1 AA Lc 79.4 Fine for body text
#BA0062 text on black 3.26:1 AA large text Lc -22.4 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

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FCE2E9

    oklch(93.6% 0.03 359.5)

  3. Step 200

    200

    #FACAD8

    oklch(88.5% 0.057 359)

  4. Step 300

    300

    #F7A5BE

    oklch(80.9% 0.101 359.8)

  5. Step 400

    400

    #EE719D

    oklch(70.8% 0.16 359.8)

  6. Step 500

    500

    #E44285

    oklch(63.1% 0.204 359.7)

  7. Step 600

    600

    #CF076E

    oklch(55.5% 0.223 359.9)

  8. Step 700

    700 (this color)

    #BA0062

    oklch(51.1% 0.207 359.8)

  9. Step 800

    800

    #91024B

    oklch(42.6% 0.172 359.9)

  10. Step 900

    900

    #75153F

    oklch(37.8% 0.134 359.9)

  11. Step 950

    950

    #450F25

    oklch(27% 0.085 359.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA0062 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)#3F4A640.237
Deuteranopia (no green cones)#6D6A5E0.210
Tritanopia (no blue cones)#CB00380.073
Achromatopsia (no color)#5F5F5F0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA0062

    #BA0062

    oklch(51.1% 0.207 359.8)

  • #007768

    #007768

    oklch(51% 0.093 180)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA0062

    #BA0062

    oklch(51.1% 0.207 359.8)

  • #A2239D

    #A2239D

    oklch(51.1% 0.207 329.9)

  • #C10900

    #C10900

    oklch(51.2% 0.207 29.7)

Open the analogous palette in the generator

Split complementary

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

  • #BA0062

    #BA0062

    oklch(51.1% 0.207 359.8)

  • #007C36

    #007C36

    oklch(51.2% 0.142 149.7)

  • #007482

    #007482

    oklch(51.2% 0.088 209.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA0062

    #BA0062

    oklch(51.1% 0.207 359.8)

  • #5E7000

    #5E7000

    oklch(51.2% 0.122 120.1)

  • #006DA2

    #006DA2

    oklch(51% 0.117 240.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA0062

    #BA0062

    oklch(51.1% 0.207 359.8)

  • #7E6300

    #7E6300

    oklch(51.2% 0.105 90)

  • #007768

    #007768

    oklch(51% 0.093 180)

  • #3C53DB

    #3C53DB

    oklch(51.1% 0.208 269.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #BA0062.

Similar named colors

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

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