#B45F9A

Closest named color: Dark Lilac (#9C6DA5). oklch(60.4% 0.132 340), rgb(180, 95, 154).

Aa

Black text reads best on this color (5.04:1).

About this color

#B45F9A is a medium-dark, moderately saturated pink. In OKLCH its lightness is 60%, its chroma 0.132 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.050 away. Black text reads best on it, at 5.04:1.

Hue familyPinks
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.132)
Temperaturewarm
Nearest nameDark Lilac (#9C6DA5)
Black text5.04:1
White text4.16:1

Values

HEX#B45F9A
RGBrgb(180, 95, 154)
HSLhsl(318, 36%, 54%)
OKLCHoklch(60.4% 0.132 340)

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 #B45F9A 4.16:1 AA large text Lc -73.8 Content text, not long reading
Black text on #B45F9A 5.04:1 AA Lc 35.8 Non-text elements, placeholder text
#B45F9A text on white 4.16:1 AA large text Lc 68.3 Content text, not long reading
#B45F9A text on black 5.04:1 AA Lc -33.3 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F3E5EE

    oklch(93.6% 0.019 338.7)

  3. Step 200

    200

    #EAD0E1

    oklch(88.4% 0.037 338.7)

  4. Step 300

    300

    #DEB1CE

    oklch(80.9% 0.064 339.8)

  5. Step 400

    400

    #CC87B5

    oklch(70.8% 0.103 340)

  6. Step 500

    500 (this color)

    #B45F9A

    oklch(60.4% 0.132 340)

  7. Step 600

    600

    #A84D8D

    oklch(55.6% 0.142 340.2)

  8. Step 700

    700

    #903D78

    oklch(49.1% 0.133 340.1)

  9. Step 800

    800

    #753362

    oklch(42.7% 0.111 339.8)

  10. Step 900

    900

    #5F2D50

    oklch(37.7% 0.087 339.9)

  11. Step 950

    950

    #381B2F

    oklch(27.1% 0.055 339.9)

Export this scale for Tailwind in the Tailwind colors tool

#B45F9A 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)#63749C0.136
Deuteranopia (no green cones)#7981980.124
Tritanopia (no blue cones)#BD61750.061
Achromatopsia (no color)#7C7C7C0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #B45F9A

    #B45F9A

    oklch(60.4% 0.132 340)

  • #159965

    #159965

    oklch(60.5% 0.132 159.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B45F9A

    #B45F9A

    oklch(60.4% 0.132 340)

  • #9969BC

    #9969BC

    oklch(60.4% 0.132 309.6)

  • #C25C6F

    #C25C6F

    oklch(60.4% 0.131 10.2)

Open the analogous palette in the generator

Split complementary

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

  • #B45F9A

    #B45F9A

    oklch(60.4% 0.132 340)

  • #679032

    #679032

    oklch(60.3% 0.131 129.7)

  • #00958F

    #00958F

    oklch(60.4% 0.104 189.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B45F9A

    #B45F9A

    oklch(60.4% 0.132 340)

  • #938200

    #938200

    oklch(60.4% 0.126 100.1)

  • #0090AF

    #0090AF

    oklch(60.4% 0.11 220.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B45F9A

    #B45F9A

    oklch(60.4% 0.132 340)

  • #B27100

    #B27100

    oklch(60.4% 0.131 70.1)

  • #159965

    #159965

    oklch(60.5% 0.132 159.7)

  • #3A85CD

    #3A85CD

    oklch(60.4% 0.133 250.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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