#BA255D

Closest named color: Ruby (#CA0147). oklch(52.5% 0.186 4.4), rgb(186, 37, 93).

Aa

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

About this color

#BA255D is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.186 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.043 away. White text reads best on it, at 5.98:1.

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.186)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.51:1
White text5.98:1

Values

HEX#BA255D
RGBrgb(186, 37, 93)
HSLhsl(337, 67%, 44%)
OKLCHoklch(52.5% 0.186 4.4)

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 #BA255D 5.98:1 AA Lc -83.7 Fine for body text
Black text on #BA255D 3.51:1 AA large text Lc 25.7 Dividers and decoration only
#BA255D text on white 5.98:1 AA Lc 78.4 Fine for body text
#BA255D text on black 3.51:1 AA large text Lc -23.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 600.

  1. Step 50

    50

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #F9E4E8

    oklch(93.7% 0.024 4.5)

  3. Step 200

    200

    #F5CDD5

    oklch(88.5% 0.046 4.6)

  4. Step 300

    300

    #F0AABA

    oklch(80.9% 0.084 4.1)

  5. Step 400

    400

    #E57A96

    oklch(70.7% 0.135 4.5)

  6. Step 500

    500

    #DA537D

    oklch(63.1% 0.172 4.2)

  7. Step 600

    600 (this color)

    #BA255D

    oklch(52.5% 0.186 4.4)

  8. Step 700

    700

    #AA2254

    oklch(49.2% 0.173 4.8)

  9. Step 800

    800

    #8A1F45

    oklch(42.7% 0.144 4.6)

  10. Step 900

    900

    #6F213A

    oklch(37.7% 0.112 4.6)

  11. Step 950

    950

    #411522

    oklch(27% 0.07 4.6)

Export this scale for Tailwind in the Tailwind colors tool

#BA255D 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)#4C515E0.210
Deuteranopia (no green cones)#736E590.190
Tritanopia (no blue cones)#CB003E0.052
Achromatopsia (no color)#6363630.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA255D

    #BA255D

    oklch(52.5% 0.186 4.4)

  • #007B71

    #007B71

    oklch(52.4% 0.092 185)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA255D

    #BA255D

    oklch(52.5% 0.186 4.4)

  • #A63295

    #A63295

    oklch(52.5% 0.187 334.4)

  • #BE2D01

    #BE2D01

    oklch(52.6% 0.187 34.4)

Open the analogous palette in the generator

Split complementary

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

  • #BA255D

    #BA255D

    oklch(52.5% 0.186 4.4)

  • #007F46

    #007F46

    oklch(52.4% 0.131 154.5)

  • #00778B

    #00778B

    oklch(52.4% 0.092 214.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA255D

    #BA255D

    oklch(52.5% 0.186 4.4)

  • #5A7600

    #5A7600

    oklch(52.4% 0.131 124.4)

  • #0070B0

    #0070B0

    oklch(52.6% 0.131 244.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA255D

    #BA255D

    oklch(52.5% 0.186 4.4)

  • #7F6900

    #7F6900

    oklch(52.7% 0.108 94.5)

  • #007B71

    #007B71

    oklch(52.4% 0.092 185)

  • #4E58D3

    #4E58D3

    oklch(52.4% 0.187 274.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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