#B51E56

Closest named color: Raspberry (#B00149). oklch(50.9% 0.186 5.7), rgb(181, 30, 86).

Aa

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

About this color

#B51E56 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.186 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.027 away. White text reads best on it, at 6.39:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.186)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.28:1
White text6.39:1

Values

HEX#B51E56
RGBrgb(181, 30, 86)
HSLhsl(338, 72%, 41%)
OKLCHoklch(50.9% 0.186 5.7)

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 #B51E56 6.39:1 AA Lc -85.3 Fine for body text
Black text on #B51E56 3.28:1 AA large text Lc 24.0 Dividers and decoration only
#B51E56 text on white 6.39:1 AA Lc 80.1 Fine for body text
#B51E56 text on black 3.28:1 AA large text Lc -21.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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E7

    oklch(93.6% 0.026 5.7)

  3. Step 200

    200

    #F8CCD4

    oklch(88.5% 0.051 5.9)

  4. Step 300

    300

    #F3A8B8

    oklch(80.8% 0.09 5.3)

  5. Step 400

    400

    #EA7793

    oklch(70.8% 0.144 6)

  6. Step 500

    500

    #DF4D79

    oklch(63.1% 0.184 5.7)

  7. Step 600

    600

    #CA2662

    oklch(55.5% 0.2 5.6)

  8. Step 700

    700 (this color)

    #B51E56

    oklch(50.9% 0.186 5.7)

  9. Step 800

    800

    #8E1742

    oklch(42.7% 0.154 6)

  10. Step 900

    900

    #721D38

    oklch(37.7% 0.12 5.9)

  11. Step 950

    950

    #431321

    oklch(27% 0.075 5.7)

Export this scale for Tailwind in the Tailwind colors tool

#B51E56 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)#484C570.211
Deuteranopia (no green cones)#6F69520.190
Tritanopia (no blue cones)#C600380.051
Achromatopsia (no color)#5F5F5F0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #B51E56

    #B51E56

    oklch(50.9% 0.186 5.7)

  • #00766D

    #00766D

    oklch(50.9% 0.089 185.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B51E56

    #B51E56

    oklch(50.9% 0.186 5.7)

  • #A22C8E

    #A22C8E

    oklch(51% 0.186 335.7)

  • #B42F00

    #B42F00

    oklch(50.9% 0.176 35.7)

Open the analogous palette in the generator

Split complementary

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

  • #B51E56

    #B51E56

    oklch(50.9% 0.186 5.7)

  • #007A46

    #007A46

    oklch(50.9% 0.124 155.8)

  • #007287

    #007287

    oklch(50.9% 0.091 216.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B51E56

    #B51E56

    oklch(50.9% 0.186 5.7)

  • #547200

    #547200

    oklch(51% 0.129 125.7)

  • #006AAB

    #006AAB

    oklch(50.8% 0.131 246)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B51E56

    #B51E56

    oklch(50.9% 0.186 5.7)

  • #786500

    #786500

    oklch(51% 0.105 96.1)

  • #00766D

    #00766D

    oklch(50.9% 0.089 185.6)

  • #4D53CD

    #4D53CD

    oklch(51% 0.185 275.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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