#B51A5F

Closest named color: Raspberry (#B00149). oklch(51% 0.191 1.2), rgb(181, 26, 95).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.191)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.27:1
White text6.40:1

Values

HEX#B51A5F
RGBrgb(181, 26, 95)
HSLhsl(333, 75%, 41%)
OKLCHoklch(51% 0.191 1.2)

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

  1. Step 50

    50

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3E9

    oklch(93.6% 0.026 359.9)

  3. Step 200

    200

    #F8CCD7

    oklch(88.6% 0.052 1.5)

  4. Step 300

    300

    #F3A8BD

    oklch(80.9% 0.092 1)

  5. Step 400

    400

    #EA759B

    oklch(70.7% 0.149 1.1)

  6. Step 500

    500

    #DF4B82

    oklch(63.1% 0.189 1.3)

  7. Step 600

    600

    #CA226C

    oklch(55.6% 0.206 1)

  8. Step 700

    700 (this color)

    #B51A5F

    oklch(51% 0.191 1.2)

  9. Step 800

    800

    #8E1449

    oklch(42.8% 0.159 1.6)

  10. Step 900

    900

    #721B3D

    oklch(37.7% 0.123 1.5)

  11. Step 950

    950

    #431224

    oklch(27% 0.078 1.1)

Export this scale for Tailwind in the Tailwind colors tool

#B51A5F 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)#444C600.217
Deuteranopia (no green cones)#6D695C0.193
Tritanopia (no blue cones)#C5003B0.059
Achromatopsia (no color)#5F5F5F0.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #B51A5F

    #B51A5F

    oklch(51% 0.191 1.2)

  • #007769

    #007769

    oklch(51% 0.092 180.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B51A5F

    #B51A5F

    oklch(51% 0.191 1.2)

  • #9F2C97

    #9F2C97

    oklch(51% 0.191 331)

  • #BB2009

    #BB2009

    oklch(51.1% 0.192 31.2)

Open the analogous palette in the generator

Split complementary

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

  • #B51A5F

    #B51A5F

    oklch(51% 0.191 1.2)

  • #007B3A

    #007B3A

    oklch(51% 0.137 151.1)

  • #007383

    #007383

    oklch(51% 0.089 211.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B51A5F

    #B51A5F

    oklch(51% 0.191 1.2)

  • #5C7000

    #5C7000

    oklch(51% 0.123 121.2)

  • #006DA3

    #006DA3

    oklch(51.1% 0.118 240.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B51A5F

    #B51A5F

    oklch(51% 0.191 1.2)

  • #7C6300

    #7C6300

    oklch(51% 0.104 91.4)

  • #007769

    #007769

    oklch(51% 0.092 180.9)

  • #4255D1

    #4255D1

    oklch(51% 0.191 271.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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