#B2008F

Closest named color: Medium Violet Red (#C71585). oklch(51.6% 0.224 339.9), rgb(178, 0, 143).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (52%)
Chromavivid (0.224)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.28:1
White text6.38:1

Values

HEX#B2008F
RGBrgb(178, 0, 143)
HSLhsl(312, 100%, 35%)
OKLCHoklch(51.6% 0.224 339.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 #B2008F 6.38:1 AA Lc -84.5 Fine for body text
Black text on #B2008F 3.28:1 AA large text Lc 24.8 Dividers and decoration only
#B2008F text on white 6.38:1 AA Lc 79.3 Fine for body text
#B2008F text on black 3.28:1 AA large text Lc -22.5 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

    #FDF2F9

    oklch(97.2% 0.015 338.9)

  2. Step 100

    100

    #F9E2F1

    oklch(93.6% 0.032 338.6)

  3. Step 200

    200

    #F5CAE6

    oklch(88.4% 0.06 339.3)

  4. Step 300

    300

    #F0A5D7

    oklch(80.9% 0.109 339.8)

  5. Step 400

    400

    #E570C2

    oklch(70.7% 0.173 340.1)

  6. Step 500

    500

    #DA40B3

    oklch(63.2% 0.222 339.9)

  7. Step 600

    600

    #C5029E

    oklch(55.6% 0.241 340.1)

  8. Step 700

    700 (this color)

    #B2008F

    oklch(51.6% 0.224 339.9)

  9. Step 800

    800

    #8A006E

    oklch(42.8% 0.186 340)

  10. Step 900

    900

    #6F1459

    oklch(37.8% 0.144 340)

  11. Step 950

    950

    #410F34

    oklch(27% 0.091 339.9)

Export this scale for Tailwind in the Tailwind colors tool

#B2008F 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)#1C4F920.257
Deuteranopia (no green cones)#59688C0.215
Tritanopia (no blue cones)#BD11530.104
Achromatopsia (no color)#5F5F5F0.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2008F

    #B2008F

    oklch(51.6% 0.224 339.9)

  • #007B50

    #007B50

    oklch(51.4% 0.116 160.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2008F

    #B2008F

    oklch(51.6% 0.224 339.9)

  • #8E2BC5

    #8E2BC5

    oklch(51.5% 0.225 309.7)

  • #C0004C

    #C0004C

    oklch(51.6% 0.206 10)

Open the analogous palette in the generator

Split complementary

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

  • #B2008F

    #B2008F

    oklch(51.6% 0.224 339.9)

  • #4C7600

    #4C7600

    oklch(51.5% 0.139 130)

  • #007873

    #007873

    oklch(51.7% 0.089 189.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2008F

    #B2008F

    oklch(51.6% 0.224 339.9)

  • #776800

    #776800

    oklch(51.6% 0.107 99.3)

  • #00748D

    #00748D

    oklch(51.7% 0.094 219.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2008F

    #B2008F

    oklch(51.6% 0.224 339.9)

  • #905A00

    #905A00

    oklch(51.6% 0.112 69.7)

  • #007B50

    #007B50

    oklch(51.4% 0.116 160.3)

  • #006AB7

    #006AB7

    oklch(51.6% 0.146 249.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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