#B22E71

Closest named color: Medium Violet Red (#C71585). oklch(52.5% 0.178 354.2), rgb(178, 46, 113).

Aa

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

About this color

#B22E71 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.178 and its hue 354°. 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 5.96:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.52:1
White text5.96:1

Values

HEX#B22E71
RGBrgb(178, 46, 113)
HSLhsl(330, 59%, 44%)
OKLCHoklch(52.5% 0.178 354.2)

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 #B22E71 5.96:1 AA Lc -83.9 Fine for body text
Black text on #B22E71 3.52:1 AA large text Lc 25.4 Dividers and decoration only
#B22E71 text on white 5.96:1 AA Lc 78.6 Fine for body text
#B22E71 text on black 3.52:1 AA large text Lc -23.2 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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F7E4EB

    oklch(93.6% 0.023 353.2)

  3. Step 200

    200

    #F2CEDB

    oklch(88.6% 0.044 354.3)

  4. Step 300

    300

    #EBACC4

    oklch(81% 0.08 354.4)

  5. Step 400

    400

    #DE7DA6

    oklch(70.7% 0.128 354.1)

  6. Step 500

    500

    #D25890

    oklch(63.1% 0.164 354.2)

  7. Step 600

    600 (this color)

    #B22E71

    oklch(52.5% 0.178 354.2)

  8. Step 700

    700

    #A22A67

    oklch(49.1% 0.165 354)

  9. Step 800

    800

    #842554

    oklch(42.8% 0.137 354.1)

  10. Step 900

    900

    #6A2445

    oklch(37.6% 0.106 354.2)

  11. Step 950

    950

    #3F1629

    oklch(27.1% 0.069 353.7)

Export this scale for Tailwind in the Tailwind colors tool

#B22E71 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)#4754730.199
Deuteranopia (no green cones)#6C6C6E0.177
Tritanopia (no blue cones)#C0214B0.062
Achromatopsia (no color)#6464640.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #B22E71

    #B22E71

    oklch(52.5% 0.178 354.2)

  • #007D66

    #007D66

    oklch(52.6% 0.1 173.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B22E71

    #B22E71

    oklch(52.5% 0.178 354.2)

  • #9A3CA3

    #9A3CA3

    oklch(52.6% 0.178 324.1)

  • #BB2E33

    #BB2E33

    oklch(52.5% 0.177 24.1)

Open the analogous palette in the generator

Split complementary

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

  • #B22E71

    #B22E71

    oklch(52.5% 0.178 354.2)

  • #008119

    #008119

    oklch(52.4% 0.169 144.1)

  • #007982

    #007982

    oklch(52.5% 0.09 203.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B22E71

    #B22E71

    oklch(52.5% 0.178 354.2)

  • #6A7100

    #6A7100

    oklch(52.5% 0.118 114)

  • #0073A0

    #0073A0

    oklch(52.4% 0.111 234.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B22E71

    #B22E71

    oklch(52.5% 0.178 354.2)

  • #876400

    #876400

    oklch(52.5% 0.108 84.5)

  • #007D66

    #007D66

    oklch(52.6% 0.1 173.8)

  • #3361CF

    #3361CF

    oklch(52.4% 0.178 264.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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