#B7307E

Closest named color: Medium Violet Red (#C71585). oklch(54% 0.186 349.8), rgb(183, 48, 126).

Aa

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

About this color

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

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

Values

HEX#B7307E
RGBrgb(183, 48, 126)
HSLhsl(325, 58%, 45%)
OKLCHoklch(54% 0.186 349.8)

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 #B7307E 5.61:1 AA Lc -82.2 Fine for body text
Black text on #B7307E 3.73:1 AA large text Lc 27.2 Dividers and decoration only
#B7307E text on white 5.61:1 AA Lc 76.9 Fine for body text
#B7307E text on black 3.73:1 AA large text Lc -24.9 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

    #F7E4EC

    oklch(93.6% 0.023 350.1)

  3. Step 200

    200

    #F2CDDD

    oklch(88.4% 0.046 350.2)

  4. Step 300

    300

    #EBABC8

    oklch(80.9% 0.083 350.3)

  5. Step 400

    400

    #DE7CAD

    oklch(70.8% 0.134 349.7)

  6. Step 500

    500

    #D15698

    oklch(63% 0.17 349.8)

  7. Step 600

    600 (this color)

    #B7307E

    oklch(54% 0.186 349.8)

  8. Step 700

    700

    #A2276F

    oklch(49.1% 0.172 349.6)

  9. Step 800

    800

    #84225A

    oklch(42.7% 0.144 349.9)

  10. Step 900

    900

    #6A234A

    oklch(37.7% 0.111 349.7)

  11. Step 950

    950

    #3F152B

    oklch(27% 0.072 350.4)

Export this scale for Tailwind in the Tailwind colors tool

#B7307E 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)#4658800.207
Deuteranopia (no green cones)#6D707B0.183
Tritanopia (no blue cones)#C428530.070
Achromatopsia (no color)#6767670.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7307E

    #B7307E

    oklch(54% 0.186 349.8)

  • #008265

    #008265

    oklch(54% 0.107 170.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7307E

    #B7307E

    oklch(54% 0.186 349.8)

  • #9B40B0

    #9B40B0

    oklch(54% 0.185 319.7)

  • #C32C3F

    #C32C3F

    oklch(53.9% 0.186 19.8)

Open the analogous palette in the generator

Split complementary

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

  • #B7307E

    #B7307E

    oklch(54% 0.186 349.8)

  • #288500

    #288500

    oklch(54.1% 0.173 139.8)

  • #007E83

    #007E83

    oklch(53.9% 0.092 199.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7307E

    #B7307E

    oklch(54% 0.186 349.8)

  • #747400

    #747400

    oklch(54.1% 0.118 109.8)

  • #0079A1

    #0079A1

    oklch(54% 0.108 230.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7307E

    #B7307E

    oklch(54% 0.186 349.8)

  • #906600

    #906600

    oklch(54% 0.112 80.3)

  • #008265

    #008265

    oklch(54% 0.107 170.1)

  • #2168D8

    #2168D8

    oklch(54% 0.186 259.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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