#B12876

Closest named color: Medium Violet Red (#C71585). oklch(52% 0.186 350.9), rgb(177, 40, 118).

Aa

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

About this color

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

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

Values

HEX#B12876
RGBrgb(177, 40, 118)
HSLhsl(326, 63%, 43%)
OKLCHoklch(52% 0.186 350.9)

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 #B12876 6.11:1 AA Lc -84.4 Fine for body text
Black text on #B12876 3.43:1 AA large text Lc 24.9 Dividers and decoration only
#B12876 text on white 6.11:1 AA Lc 79.2 Fine for body text
#B12876 text on black 3.43:1 AA large text Lc -22.6 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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F9E3EC

    oklch(93.6% 0.027 350.9)

  3. Step 200

    200

    #F4CCDD

    oklch(88.4% 0.05 350.7)

  4. Step 300

    300

    #EEA9C8

    oklch(80.9% 0.09 350.7)

  5. Step 400

    400

    #E278AC

    oklch(70.7% 0.144 350.6)

  6. Step 500

    500

    #D75097

    oklch(63.2% 0.184 351)

  7. Step 600

    600

    #C22C82

    oklch(55.6% 0.2 350.8)

  8. Step 700

    700 (this color)

    #B12876

    oklch(52% 0.186 350.9)

  9. Step 800

    800

    #881B59

    oklch(42.7% 0.154 351.2)

  10. Step 900

    900

    #6D1F49

    oklch(37.7% 0.119 351.1)

  11. Step 950

    950

    #40132B

    oklch(26.9% 0.076 350.4)

Export this scale for Tailwind in the Tailwind colors tool

#B12876 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)#4152780.208
Deuteranopia (no green cones)#686B730.185
Tritanopia (no blue cones)#BF1D4C0.069
Achromatopsia (no color)#6262620.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #B12876

    #B12876

    oklch(52% 0.186 350.9)

  • #007B61

    #007B61

    oklch(51.9% 0.101 171.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B12876

    #B12876

    oklch(52% 0.186 350.9)

  • #9638A8

    #9638A8

    oklch(51.9% 0.186 320.8)

  • #BC2437

    #BC2437

    oklch(51.9% 0.186 20.8)

Open the analogous palette in the generator

Split complementary

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

  • #B12876

    #B12876

    oklch(52% 0.186 350.9)

  • #1B7F00

    #1B7F00

    oklch(52% 0.171 141)

  • #00787E

    #00787E

    oklch(52.1% 0.089 200.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B12876

    #B12876

    oklch(52% 0.186 350.9)

  • #6C6E00

    #6C6E00

    oklch(51.9% 0.114 111)

  • #00739A

    #00739A

    oklch(52.1% 0.105 230.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B12876

    #B12876

    oklch(52% 0.186 350.9)

  • #886100

    #886100

    oklch(52% 0.107 81.1)

  • #007B61

    #007B61

    oklch(51.9% 0.101 171.3)

  • #2161D2

    #2161D2

    oklch(52.1% 0.186 260.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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