#B5187D

Closest named color: Medium Violet Red (#C71585). oklch(52% 0.205 348.1), rgb(181, 24, 125).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.205)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.39:1
White text6.19:1

Values

HEX#B5187D
RGBrgb(181, 24, 125)
HSLhsl(321, 77%, 40%)
OKLCHoklch(52% 0.205 348.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 #B5187D 6.19:1 AA Lc -84.3 Fine for body text
Black text on #B5187D 3.39:1 AA large text Lc 25.0 Dividers and decoration only
#B5187D text on white 6.19:1 AA Lc 79.1 Fine for body text
#B5187D text on black 3.39:1 AA large text Lc -22.7 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 700.

  1. Step 50

    50

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #FAE3ED

    oklch(93.7% 0.028 349.5)

  3. Step 200

    200

    #F6CBDF

    oklch(88.5% 0.055 348.6)

  4. Step 300

    300

    #F1A6CC

    oklch(80.8% 0.1 347.8)

  5. Step 400

    400

    #E673B2

    oklch(70.7% 0.159 347.9)

  6. Step 500

    500

    #DB479E

    oklch(63.1% 0.202 348.2)

  7. Step 600

    600

    #C61A89

    oklch(55.5% 0.22 348.1)

  8. Step 700

    700 (this color)

    #B5187D

    oklch(52% 0.205 348.1)

  9. Step 800

    800

    #8B0E5F

    oklch(42.7% 0.17 348)

  10. Step 900

    900

    #70184E

    oklch(37.7% 0.133 347.9)

  11. Step 950

    950

    #42112D

    oklch(27.1% 0.083 348.8)

Export this scale for Tailwind in the Tailwind colors tool

#B5187D 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)#37507F0.233
Deuteranopia (no green cones)#656A7A0.201
Tritanopia (no blue cones)#C3084B0.083
Achromatopsia (no color)#6161610.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #B5187D

    #B5187D

    oklch(52% 0.205 348.1)

  • #007C5D

    #007C5D

    oklch(52.1% 0.106 167.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B5187D

    #B5187D

    oklch(52% 0.205 348.1)

  • #9731B3

    #9731B3

    oklch(52% 0.205 318)

  • #C30839

    #C30839

    oklch(52% 0.205 17.9)

Open the analogous palette in the generator

Split complementary

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

  • #B5187D

    #B5187D

    oklch(52% 0.205 348.1)

  • #307D00

    #307D00

    oklch(52.1% 0.161 138.1)

  • #00787B

    #00787B

    oklch(52% 0.088 197.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B5187D

    #B5187D

    oklch(52% 0.205 348.1)

  • #706D00

    #706D00

    oklch(52% 0.112 107.8)

  • #007397

    #007397

    oklch(51.9% 0.102 228.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B5187D

    #B5187D

    oklch(52% 0.205 348.1)

  • #8B6000

    #8B6000

    oklch(52.1% 0.109 78.2)

  • #007C5D

    #007C5D

    oklch(52.1% 0.106 167.8)

  • #0062D5

    #0062D5

    oklch(52% 0.193 258.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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