#BA5174

Closest named color: Deep Rose (#C74767). oklch(57.8% 0.14 1.5), rgb(186, 81, 116).

Aa

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

About this color

#BA5174 is a medium-dark, moderately saturated red. In OKLCH its lightness is 58%, its chroma 0.140 and its hue 2°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Rose (#C74767), ΔE 0.031 away. White text reads best on it, at 4.64:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.140)
Temperaturewarm
Nearest nameDeep Rose (#C74767)
Black text4.51:1
White text4.64:1

Values

HEX#BA5174
RGBrgb(186, 81, 116)
HSLhsl(340, 43%, 52%)
OKLCHoklch(57.8% 0.14 1.5)

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 #BA5174 4.64:1 AA Lc -77.2 Fine for body text
Black text on #BA5174 4.51:1 AA Lc 32.4 Non-text elements, placeholder text
#BA5174 text on white 4.64:1 AA Lc 71.7 Content text, not long reading
#BA5174 text on black 4.51:1 AA Lc -29.9 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

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F5E5E9

    oklch(93.6% 0.018 0.4)

  3. Step 200

    200

    #EED0D7

    oklch(88.5% 0.035 2)

  4. Step 300

    300

    #E4B0BE

    oklch(80.8% 0.063 0.8)

  5. Step 400

    400

    #D5869C

    oklch(70.8% 0.1 1.9)

  6. Step 500

    500

    #C76584

    oklch(63% 0.129 1.4)

  7. Step 600

    600 (this color)

    #BA5174

    oklch(57.8% 0.14 1.5)

  8. Step 700

    700

    #993B5B

    oklch(49.1% 0.129 1.9)

  9. Step 800

    800

    #7C314B

    oklch(42.6% 0.108 1.1)

  10. Step 900

    900

    #652C3E

    oklch(37.7% 0.085 2.1)

  11. Step 950

    950

    #3B1A25

    oklch(26.9% 0.054 0.2)

Export this scale for Tailwind in the Tailwind colors tool

#BA5174 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)#6368750.155
Deuteranopia (no green cones)#7F7C720.141
Tritanopia (no blue cones)#C8475E0.039
Achromatopsia (no color)#7474740.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #BA5174

    #BA5174

    oklch(57.8% 0.14 1.5)

  • #008D7E

    #008D7E

    oklch(57.7% 0.103 181.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BA5174

    #BA5174

    oklch(57.8% 0.14 1.5)

  • #A8579F

    #A8579F

    oklch(57.9% 0.14 331.5)

  • #BE5543

    #BE5543

    oklch(57.9% 0.139 31.5)

Open the analogous palette in the generator

Split complementary

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

  • #BA5174

    #BA5174

    oklch(57.8% 0.14 1.5)

  • #23904D

    #23904D

    oklch(57.7% 0.139 151.5)

  • #00899C

    #00899C

    oklch(57.8% 0.101 211.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BA5174

    #BA5174

    oklch(57.8% 0.14 1.5)

  • #6D8600

    #6D8600

    oklch(57.9% 0.14 121.8)

  • #0081C2

    #0081C2

    oklch(57.7% 0.136 241.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BA5174

    #BA5174

    oklch(57.8% 0.14 1.5)

  • #937600

    #937600

    oklch(57.7% 0.118 91.6)

  • #008D7E

    #008D7E

    oklch(57.7% 0.103 181.9)

  • #5D72CC

    #5D72CC

    oklch(57.9% 0.14 271.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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