#B12958

Closest named color: Raspberry (#B00149). oklch(51.1% 0.174 5.4), rgb(177, 41, 88).

Aa

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

About this color

#B12958 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.174 and its hue 5°. 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.31:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.174)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.32:1
White text6.31:1

Values

HEX#B12958
RGBrgb(177, 41, 88)
HSLhsl(339, 62%, 43%)
OKLCHoklch(51.1% 0.174 5.4)

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 #B12958 6.31:1 AA Lc -85.3 Fine for body text
Black text on #B12958 3.32:1 AA large text Lc 24.0 Dividers and decoration only
#B12958 text on white 6.31:1 AA Lc 80.1 Fine for body text
#B12958 text on black 3.32: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

    #F9E4E7

    oklch(93.7% 0.023 7.7)

  3. Step 200

    200

    #F6CDD5

    oklch(88.6% 0.047 4.9)

  4. Step 300

    300

    #F0AAB9

    oklch(80.8% 0.084 5)

  5. Step 400

    400

    #E57A95

    oklch(70.7% 0.135 5)

  6. Step 500

    500

    #DA537B

    oklch(63.1% 0.172 5.1)

  7. Step 600

    600

    #C63164

    oklch(55.7% 0.187 5.4)

  8. Step 700

    700 (this color)

    #B12958

    oklch(51.1% 0.174 5.4)

  9. Step 800

    800

    #8A1F44

    oklch(42.7% 0.144 5.2)

  10. Step 900

    900

    #6F2139

    oklch(37.7% 0.112 5.4)

  11. Step 950

    950

    #421521

    oklch(27.1% 0.071 6.6)

Export this scale for Tailwind in the Tailwind colors tool

#B12958 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)#4B4F590.195
Deuteranopia (no green cones)#6F69550.176
Tritanopia (no blue cones)#C1023D0.047
Achromatopsia (no color)#6060600.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #B12958

    #B12958

    oklch(51.1% 0.174 5.4)

  • #00776D

    #00776D

    oklch(51.2% 0.09 184.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B12958

    #B12958

    oklch(51.1% 0.174 5.4)

  • #9F338C

    #9F338C

    oklch(51.1% 0.174 335.6)

  • #B43106

    #B43106

    oklch(51.2% 0.174 35.5)

Open the analogous palette in the generator

Split complementary

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

  • #B12958

    #B12958

    oklch(51.1% 0.174 5.4)

  • #007B46

    #007B46

    oklch(51.2% 0.125 155.5)

  • #007387

    #007387

    oklch(51.1% 0.091 215.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B12958

    #B12958

    oklch(51.1% 0.174 5.4)

  • #557200

    #557200

    oklch(51% 0.129 125.3)

  • #006BAB

    #006BAB

    oklch(51.1% 0.13 245.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B12958

    #B12958

    oklch(51.1% 0.174 5.4)

  • #796500

    #796500

    oklch(51.1% 0.105 95.4)

  • #00776D

    #00776D

    oklch(51.2% 0.09 184.7)

  • #4E56C7

    #4E56C7

    oklch(51.1% 0.173 275.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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