#BB228A

Closest named color: Medium Violet Red (#C71585). oklch(54.1% 0.209 345), rgb(187, 34, 138).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.209)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.70:1
White text5.66:1

Values

HEX#BB228A
RGBrgb(187, 34, 138)
HSLhsl(319, 69%, 43%)
OKLCHoklch(54.1% 0.209 345)

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 #BB228A 5.66:1 AA Lc -82.1 Fine for body text
Black text on #BB228A 3.70:1 AA large text Lc 27.3 Dividers and decoration only
#BB228A text on white 5.66:1 AA Lc 76.7 Fine for body text
#BB228A text on black 3.70:1 AA large text Lc -25.0 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

    #F8E3EE

    oklch(93.6% 0.027 344.6)

  3. Step 200

    200

    #F4CCE1

    oklch(88.5% 0.052 345.3)

  4. Step 300

    300

    #EDA8CE

    oklch(80.8% 0.094 345.2)

  5. Step 400

    400

    #E177B6

    oklch(70.8% 0.15 345)

  6. Step 500

    500

    #D54EA3

    oklch(63.1% 0.191 345.2)

  7. Step 600

    600 (this color)

    #BB228A

    oklch(54.1% 0.209 345)

  8. Step 700

    700

    #A51879

    oklch(49.1% 0.194 345)

  9. Step 800

    800

    #861963

    oklch(42.7% 0.161 344.7)

  10. Step 900

    900

    #6C1D50

    oklch(37.6% 0.125 345.1)

  11. Step 950

    950

    #40132F

    oklch(27.1% 0.079 345.4)

Export this scale for Tailwind in the Tailwind colors tool

#BB228A 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)#39578D0.234
Deuteranopia (no green cones)#6870870.202
Tritanopia (no blue cones)#C81F550.088
Achromatopsia (no color)#6767670.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #BB228A

    #BB228A

    oklch(54.1% 0.209 345)

  • #00835E

    #00835E

    oklch(54% 0.114 165)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BB228A

    #BB228A

    oklch(54.1% 0.209 345)

  • #9B39C0

    #9B39C0

    oklch(54.2% 0.209 315.1)

  • #CB1346

    #CB1346

    oklch(54.1% 0.208 15)

Open the analogous palette in the generator

Split complementary

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

  • #BB228A

    #BB228A

    oklch(54.1% 0.209 345)

  • #428200

    #428200

    oklch(54.2% 0.158 135)

  • #007F80

    #007F80

    oklch(54% 0.092 195.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BB228A

    #BB228A

    oklch(54.1% 0.209 345)

  • #797200

    #797200

    oklch(54.1% 0.115 105.4)

  • #007B9C

    #007B9C

    oklch(54.2% 0.103 225)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BB228A

    #BB228A

    oklch(54.1% 0.209 345)

  • #956400

    #956400

    oklch(54.2% 0.114 75.4)

  • #00835E

    #00835E

    oklch(54% 0.114 165)

  • #006CD3

    #006CD3

    oklch(54% 0.179 255.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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