#B2177D

Closest named color: Medium Violet Red (#C71585). oklch(51.4% 0.204 347.2), rgb(178, 23, 125).

Aa

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

About this color

#B2177D is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.204 and its hue 347°. 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.34:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.204)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.31:1
White text6.34:1

Values

HEX#B2177D
RGBrgb(178, 23, 125)
HSLhsl(321, 77%, 39%)
OKLCHoklch(51.4% 0.204 347.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 #B2177D 6.34:1 AA Lc -85.0 Fine for body text
Black text on #B2177D 3.31:1 AA large text Lc 24.3 Dividers and decoration only
#B2177D text on white 6.34:1 AA Lc 79.7 Fine for body text
#B2177D text on black 3.31:1 AA large text Lc -22.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 700.

  1. Step 50

    50

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #F9E3ED

    oklch(93.6% 0.027 348.3)

  3. Step 200

    200

    #F6CBE0

    oklch(88.5% 0.055 347.3)

  4. Step 300

    300

    #F0A7CD

    oklch(80.9% 0.098 347)

  5. Step 400

    400

    #E573B3

    oklch(70.6% 0.159 347.1)

  6. Step 500

    500

    #DA48A0

    oklch(63.1% 0.201 347.3)

  7. Step 600

    600

    #C51C8B

    oklch(55.5% 0.219 347.2)

  8. Step 700

    700 (this color)

    #B2177D

    oklch(51.4% 0.204 347.2)

  9. Step 800

    800

    #8A1060

    oklch(42.7% 0.169 347.3)

  10. Step 900

    900

    #6F194F

    oklch(37.7% 0.132 346.8)

  11. Step 950

    950

    #42112E

    oklch(27.1% 0.084 347.6)

Export this scale for Tailwind in the Tailwind colors tool

#B2177D 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)#344F7F0.232
Deuteranopia (no green cones)#63697A0.200
Tritanopia (no blue cones)#BF0B4B0.083
Achromatopsia (no color)#5F5F5F0.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2177D

    #B2177D

    oklch(51.4% 0.204 347.2)

  • #007A5B

    #007A5B

    oklch(51.4% 0.105 167.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2177D

    #B2177D

    oklch(51.4% 0.204 347.2)

  • #9430B2

    #9430B2

    oklch(51.4% 0.204 317.2)

  • #C0043A

    #C0043A

    oklch(51.4% 0.204 17)

Open the analogous palette in the generator

Split complementary

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

  • #B2177D

    #B2177D

    oklch(51.4% 0.204 347.2)

  • #347A00

    #347A00

    oklch(51.4% 0.156 137.1)

  • #007679

    #007679

    oklch(51.3% 0.087 197.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2177D

    #B2177D

    oklch(51.4% 0.204 347.2)

  • #6F6B00

    #6F6B00

    oklch(51.5% 0.11 107.1)

  • #007293

    #007293

    oklch(51.5% 0.099 226.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2177D

    #B2177D

    oklch(51.4% 0.204 347.2)

  • #895E00

    #895E00

    oklch(51.5% 0.107 77.6)

  • #007A5B

    #007A5B

    oklch(51.4% 0.105 167.5)

  • #0062CE

    #0062CE

    oklch(51.5% 0.184 257.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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