#B12881

Closest named color: Medium Violet Red (#C71585). oklch(52.5% 0.192 346.1), rgb(177, 40, 129).

Aa

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

About this color

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

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

Values

HEX#B12881
RGBrgb(177, 40, 129)
HSLhsl(321, 63%, 43%)
OKLCHoklch(52.5% 0.192 346.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 #B12881 6.01:1 AA Lc -84.0 Fine for body text
Black text on #B12881 3.48:1 AA large text Lc 25.3 Dividers and decoration only
#B12881 text on white 6.01:1 AA Lc 78.7 Fine for body text
#B12881 text on black 3.48:1 AA large text Lc -23.1 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 600.

  1. Step 50

    50

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F2CDE0

    oklch(88.5% 0.048 345.8)

  4. Step 300

    300

    #EAAACC

    oklch(80.8% 0.086 346.1)

  5. Step 400

    400

    #DD7BB3

    oklch(70.8% 0.138 345.9)

  6. Step 500

    500

    #D155A0

    oklch(63.2% 0.176 346)

  7. Step 600

    600 (this color)

    #B12881

    oklch(52.5% 0.192 346.1)

  8. Step 700

    700

    #A12475

    oklch(49% 0.178 346.1)

  9. Step 800

    800

    #832160

    oklch(42.7% 0.148 345.8)

  10. Step 900

    900

    #6A224E

    oklch(37.7% 0.115 346.3)

  11. Step 950

    950

    #3E152E

    oklch(27% 0.073 345.5)

Export this scale for Tailwind in the Tailwind colors tool

#B12881 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)#3B54830.215
Deuteranopia (no green cones)#656B7E0.186
Tritanopia (no blue cones)#BD24520.078
Achromatopsia (no color)#6363630.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #B12881

    #B12881

    oklch(52.5% 0.192 346.1)

  • #007E5C

    #007E5C

    oklch(52.6% 0.109 166.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B12881

    #B12881

    oklch(52.5% 0.192 346.1)

  • #933AB3

    #933AB3

    oklch(52.4% 0.193 315.8)

  • #BF2043

    #BF2043

    oklch(52.4% 0.191 15.9)

Open the analogous palette in the generator

Split complementary

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

  • #B12881

    #B12881

    oklch(52.5% 0.192 346.1)

  • #3B7D00

    #3B7D00

    oklch(52.5% 0.156 136)

  • #007A7B

    #007A7B

    oklch(52.5% 0.089 195.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B12881

    #B12881

    oklch(52.5% 0.192 346.1)

  • #736D00

    #736D00

    oklch(52.3% 0.112 105.9)

  • #007596

    #007596

    oklch(52.4% 0.1 226.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B12881

    #B12881

    oklch(52.5% 0.192 346.1)

  • #8E6000

    #8E6000

    oklch(52.5% 0.11 76.2)

  • #007E5C

    #007E5C

    oklch(52.6% 0.109 166.1)

  • #0066CE

    #0066CE

    oklch(52.3% 0.18 256.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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