#B52F7E

Closest named color: Medium Violet Red (#C71585). oklch(53.6% 0.185 349.1), rgb(181, 47, 126).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.185)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.67:1
White text5.71:1

Values

HEX#B52F7E
RGBrgb(181, 47, 126)
HSLhsl(325, 59%, 45%)
OKLCHoklch(53.6% 0.185 349.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 #B52F7E 5.71:1 AA Lc -82.7 Fine for body text
Black text on #B52F7E 3.67:1 AA large text Lc 26.7 Dividers and decoration only
#B52F7E text on white 5.71:1 AA Lc 77.4 Fine for body text
#B52F7E text on black 3.67:1 AA large text Lc -24.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

    #FCF3F7

    oklch(97.2% 0.011 348.4)

  2. Step 100

    100

    #F7E4EC

    oklch(93.6% 0.023 350.1)

  3. Step 200

    200

    #F2CDDE

    oklch(88.5% 0.047 348.7)

  4. Step 300

    300

    #EAABC9

    oklch(80.9% 0.083 349)

  5. Step 400

    400

    #DD7CAE

    oklch(70.7% 0.133 348.8)

  6. Step 500

    500

    #D15699

    oklch(63.1% 0.171 349.3)

  7. Step 600

    600 (this color)

    #B52F7E

    oklch(53.6% 0.185 349.1)

  8. Step 700

    700

    #A22770

    oklch(49.2% 0.173 349.1)

  9. Step 800

    800

    #83235B

    oklch(42.7% 0.142 349)

  10. Step 900

    900

    #6A234B

    oklch(37.7% 0.111 348.9)

  11. Step 950

    950

    #3E162C

    oklch(27% 0.069 348.6)

Export this scale for Tailwind in the Tailwind colors tool

#B52F7E 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)#4457800.207
Deuteranopia (no green cones)#6B6F7B0.183
Tritanopia (no blue cones)#C228520.072
Achromatopsia (no color)#6666660.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #B52F7E

    #B52F7E

    oklch(53.6% 0.185 349.1)

  • #008163

    #008163

    oklch(53.6% 0.107 169.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B52F7E

    #B52F7E

    oklch(53.6% 0.185 349.1)

  • #993FB0

    #993FB0

    oklch(53.6% 0.185 318.9)

  • #C12B40

    #C12B40

    oklch(53.5% 0.185 19)

Open the analogous palette in the generator

Split complementary

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

  • #B52F7E

    #B52F7E

    oklch(53.6% 0.185 349.1)

  • #2C8300

    #2C8300

    oklch(53.6% 0.17 139.2)

  • #007D81

    #007D81

    oklch(53.5% 0.091 198.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B52F7E

    #B52F7E

    oklch(53.6% 0.185 349.1)

  • #737200

    #737200

    oklch(53.5% 0.116 109.2)

  • #00789E

    #00789E

    oklch(53.6% 0.106 229.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B52F7E

    #B52F7E

    oklch(53.6% 0.185 349.1)

  • #906400

    #906400

    oklch(53.6% 0.111 78.5)

  • #008163

    #008163

    oklch(53.6% 0.107 169.2)

  • #1C67D6

    #1C67D6

    oklch(53.5% 0.185 259.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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