#B5337F

Closest named color: Medium Violet Red (#C71585). oklch(54% 0.181 349), rgb(181, 51, 127).

Aa

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

About this color

#B5337F is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.181 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.043 away. White text reads best on it, at 5.60:1.

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

Values

HEX#B5337F
RGBrgb(181, 51, 127)
HSLhsl(325, 56%, 45%)
OKLCHoklch(54% 0.181 349)

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 #B5337F 5.60:1 AA Lc -82.3 Fine for body text
Black text on #B5337F 3.74:1 AA large text Lc 27.1 Dividers and decoration only
#B5337F text on white 5.60:1 AA Lc 76.9 Fine for body text
#B5337F text on black 3.74:1 AA large text Lc -24.8 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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F7E4EC

    oklch(93.6% 0.023 350.1)

  3. Step 200

    200

    #F1CEDE

    oklch(88.6% 0.044 348.7)

  4. Step 300

    300

    #E9ABC9

    oklch(80.8% 0.082 348.5)

  5. Step 400

    400

    #DC7DAD

    oklch(70.7% 0.13 349.3)

  6. Step 500

    500

    #CF5899

    oklch(63% 0.166 349)

  7. Step 600

    600 (this color)

    #B5337F

    oklch(54% 0.181 349)

  8. Step 700

    700

    #A02A70

    oklch(49.1% 0.168 348.7)

  9. Step 800

    800

    #82255B

    oklch(42.7% 0.139 348.8)

  10. Step 900

    900

    #69244B

    oklch(37.7% 0.109 348.6)

  11. Step 950

    950

    #3E162C

    oklch(27% 0.069 348.6)

Export this scale for Tailwind in the Tailwind colors tool

#B5337F 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)#4659810.202
Deuteranopia (no green cones)#6C707C0.178
Tritanopia (no blue cones)#C22D540.070
Achromatopsia (no color)#6868680.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #B5337F

    #B5337F

    oklch(54% 0.181 349)

  • #008264

    #008264

    oklch(53.9% 0.108 169.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B5337F

    #B5337F

    oklch(54% 0.181 349)

  • #9A42B0

    #9A42B0

    oklch(54.1% 0.182 319.1)

  • #C12F42

    #C12F42

    oklch(53.9% 0.181 19)

Open the analogous palette in the generator

Split complementary

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

  • #B5337F

    #B5337F

    oklch(54% 0.181 349)

  • #2E8400

    #2E8400

    oklch(54% 0.17 138.9)

  • #007E83

    #007E83

    oklch(53.9% 0.092 199.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B5337F

    #B5337F

    oklch(54% 0.181 349)

  • #757300

    #757300

    oklch(54% 0.117 108.5)

  • #0079A0

    #0079A0

    oklch(53.9% 0.107 229.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B5337F

    #B5337F

    oklch(54% 0.181 349)

  • #916500

    #916500

    oklch(53.9% 0.112 78.8)

  • #008264

    #008264

    oklch(53.9% 0.108 169.4)

  • #2069D5

    #2069D5

    oklch(54% 0.181 258.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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