#B02788

Closest named color: Medium Violet Red (#C71585). oklch(52.6% 0.196 342.7), rgb(176, 39, 136).

Aa

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

About this color

#B02788 is a medium-dark, vivid pink. In OKLCH its lightness is 53%, its chroma 0.196 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.045 away. White text reads best on it, at 6.01:1.

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

Values

HEX#B02788
RGBrgb(176, 39, 136)
HSLhsl(318, 64%, 42%)
OKLCHoklch(52.6% 0.196 342.7)

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 #B02788 6.01:1 AA Lc -84.0 Fine for body text
Black text on #B02788 3.49:1 AA large text Lc 25.4 Dividers and decoration only
#B02788 text on white 6.01:1 AA Lc 78.7 Fine for body text
#B02788 text on black 3.49: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

    #F7E3EE

    oklch(93.5% 0.026 343.3)

  3. Step 200

    200

    #F1CDE2

    oklch(88.5% 0.049 342.3)

  4. Step 300

    300

    #E9AAD0

    oklch(80.8% 0.088 342.4)

  5. Step 400

    400

    #DC7AB8

    oklch(70.7% 0.142 342.7)

  6. Step 500

    500

    #CF54A6

    oklch(63.1% 0.18 342.7)

  7. Step 600

    600 (this color)

    #B02788

    oklch(52.6% 0.196 342.7)

  8. Step 700

    700

    #A0237C

    oklch(49% 0.183 342.5)

  9. Step 800

    800

    #822065

    oklch(42.7% 0.152 342.4)

  10. Step 900

    900

    #692152

    oklch(37.6% 0.118 342.6)

  11. Step 950

    950

    #3E1530

    oklch(27.1% 0.074 342.9)

Export this scale for Tailwind in the Tailwind colors tool

#B02788 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)#36558B0.219
Deuteranopia (no green cones)#616B850.189
Tritanopia (no blue cones)#BB28550.086
Achromatopsia (no color)#6363630.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #B02788

    #B02788

    oklch(52.6% 0.196 342.7)

  • #007E57

    #007E57

    oklch(52.5% 0.113 163)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B02788

    #B02788

    oklch(52.6% 0.196 342.7)

  • #903BB9

    #903BB9

    oklch(52.5% 0.196 312.6)

  • #C11B4A

    #C11B4A

    oklch(52.7% 0.196 12.8)

Open the analogous palette in the generator

Split complementary

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

  • #B02788

    #B02788

    oklch(52.6% 0.196 342.7)

  • #477B00

    #477B00

    oklch(52.6% 0.147 132.6)

  • #007B79

    #007B79

    oklch(52.7% 0.09 192.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B02788

    #B02788

    oklch(52.6% 0.196 342.7)

  • #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.

  • #B02788

    #B02788

    oklch(52.6% 0.196 342.7)

  • #915E00

    #915E00

    oklch(52.5% 0.112 72.6)

  • #007E57

    #007E57

    oklch(52.5% 0.113 163)

  • #006AC3

    #006AC3

    oklch(52.4% 0.161 252.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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