#B12488

Closest named color: Medium Violet Red (#C71585). oklch(52.5% 0.2 342.9), rgb(177, 36, 136).

Aa

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

About this color

#B12488 is a medium-dark, vivid pink. In OKLCH its lightness is 53%, its chroma 0.200 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.044 away. White text reads best on it, at 6.03:1.

Hue familyPinks
Lightnessmedium-dark (53%)
Chromavivid (0.200)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.47:1
White text6.03:1

Values

HEX#B12488
RGBrgb(177, 36, 136)
HSLhsl(317, 66%, 42%)
OKLCHoklch(52.5% 0.2 342.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 #B12488 6.03:1 AA Lc -84.0 Fine for body text
Black text on #B12488 3.47:1 AA large text Lc 25.3 Dividers and decoration only
#B12488 text on white 6.03:1 AA Lc 78.7 Fine for body text
#B12488 text on black 3.47: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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F7E3EE

    oklch(93.5% 0.026 343.3)

  3. Step 200

    200

    #F2CDE2

    oklch(88.6% 0.05 343.1)

  4. Step 300

    300

    #EAAAD0

    oklch(80.9% 0.089 342.9)

  5. Step 400

    400

    #DD7AB8

    oklch(70.8% 0.143 343.1)

  6. Step 500

    500

    #D152A6

    oklch(63.1% 0.184 343.2)

  7. Step 600

    600 (this color)

    #B12488

    oklch(52.5% 0.2 342.9)

  8. Step 700

    700

    #A1217C

    oklch(49.1% 0.185 342.7)

  9. Step 800

    800

    #831F65

    oklch(42.7% 0.153 342.7)

  10. Step 900

    900

    #6A2052

    oklch(37.7% 0.121 343)

  11. Step 950

    950

    #3E1430

    oklch(26.9% 0.076 342.7)

Export this scale for Tailwind in the Tailwind colors tool

#B12488 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)#35548B0.223
Deuteranopia (no green cones)#616B850.193
Tritanopia (no blue cones)#BD25540.088
Achromatopsia (no color)#6363630.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #B12488

    #B12488

    oklch(52.5% 0.2 342.9)

  • #007E57

    #007E57

    oklch(52.5% 0.113 163)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B12488

    #B12488

    oklch(52.5% 0.2 342.9)

  • #9139BA

    #9139BA

    oklch(52.5% 0.2 312.9)

  • #C21649

    #C21649

    oklch(52.6% 0.2 12.8)

Open the analogous palette in the generator

Split complementary

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

  • #B12488

    #B12488

    oklch(52.5% 0.2 342.9)

  • #467B00

    #467B00

    oklch(52.5% 0.148 132.9)

  • #007A79

    #007A79

    oklch(52.4% 0.09 193.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B12488

    #B12488

    oklch(52.5% 0.2 342.9)

  • #776C00

    #776C00

    oklch(52.5% 0.11 102.4)

  • #007693

    #007693

    oklch(52.5% 0.098 222.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B12488

    #B12488

    oklch(52.5% 0.2 342.9)

  • #915E00

    #915E00

    oklch(52.5% 0.112 72.6)

  • #007E57

    #007E57

    oklch(52.5% 0.113 163)

  • #006AC4

    #006AC4

    oklch(52.5% 0.162 253.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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