#BA438A

Closest named color: Medium Violet Red (#C71585). oklch(56.9% 0.171 347.1), rgb(186, 67, 138).

Aa

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

About this color

#BA438A is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.171 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.054 away. White text reads best on it, at 4.93:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.171)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.25:1
White text4.93:1

Values

HEX#BA438A
RGBrgb(186, 67, 138)
HSLhsl(324, 47%, 50%)
OKLCHoklch(56.9% 0.171 347.1)

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 #BA438A 4.93:1 AA Lc -78.8 Fine for body text
Black text on #BA438A 4.25:1 AA large text Lc 30.7 Non-text elements, placeholder text
#BA438A text on white 4.93:1 AA Lc 73.3 Content text, not long reading
#BA438A text on black 4.25:1 AA large text Lc -28.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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #F0CEDE

    oklch(88.5% 0.043 348)

  4. Step 300

    300

    #E6ADCA

    oklch(80.9% 0.076 347)

  5. Step 400

    400

    #D880AF

    oklch(70.8% 0.122 347.4)

  6. Step 500

    500

    #CB5C9C

    oklch(63.1% 0.158 346.9)

  7. Step 600

    600 (this color)

    #BA438A

    oklch(56.9% 0.171 347.1)

  8. Step 700

    700

    #9C3072

    oklch(49.1% 0.159 346.9)

  9. Step 800

    800

    #7F295D

    oklch(42.7% 0.132 346.9)

  10. Step 900

    900

    #66274C

    oklch(37.7% 0.102 346.8)

  11. Step 950

    950

    #3C182C

    oklch(27% 0.063 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#BA438A 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)#51638C0.186
Deuteranopia (no green cones)#7378870.167
Tritanopia (no blue cones)#C640610.067
Achromatopsia (no color)#7070700.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA438A

    #BA438A

    oklch(56.9% 0.171 347.1)

  • #008C68

    #008C68

    oklch(56.8% 0.117 166.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA438A

    #BA438A

    oklch(56.9% 0.171 347.1)

  • #9E50B8

    #9E50B8

    oklch(56.9% 0.17 317)

  • #C74051

    #C74051

    oklch(56.9% 0.17 17.3)

Open the analogous palette in the generator

Split complementary

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

  • #BA438A

    #BA438A

    oklch(56.9% 0.171 347.1)

  • #3E8C05

    #3E8C05

    oklch(56.8% 0.17 137.1)

  • #00888B

    #00888B

    oklch(56.9% 0.097 197.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA438A

    #BA438A

    oklch(56.9% 0.171 347.1)

  • #807B00

    #807B00

    oklch(56.9% 0.122 106.9)

  • #0083A9

    #0083A9

    oklch(56.9% 0.11 227.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA438A

    #BA438A

    oklch(56.9% 0.171 347.1)

  • #9E6C00

    #9E6C00

    oklch(56.9% 0.119 76.8)

  • #008C68

    #008C68

    oklch(56.8% 0.117 166.9)

  • #2874D9

    #2874D9

    oklch(56.8% 0.171 257.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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