#B1397F

Closest named color: Medium Violet Red (#C71585). oklch(53.9% 0.171 348.4), rgb(177, 57, 127).

Aa

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

About this color

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

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

Values

HEX#B1397F
RGBrgb(177, 57, 127)
HSLhsl(325, 51%, 46%)
OKLCHoklch(53.9% 0.171 348.4)

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 #B1397F 5.58:1 AA Lc -82.3 Fine for body text
Black text on #B1397F 3.76:1 AA large text Lc 27.1 Dividers and decoration only
#B1397F text on white 5.58:1 AA Lc 77.0 Fine for body text
#B1397F text on black 3.76:1 AA large text Lc -24.8 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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4EC

    oklch(93.6% 0.022 348.8)

  3. Step 200

    200

    #F0CEDE

    oklch(88.5% 0.043 348)

  4. Step 300

    300

    #E7ADC9

    oklch(80.9% 0.077 348.4)

  5. Step 400

    400

    #D87FAE

    oklch(70.6% 0.123 347.8)

  6. Step 500

    500

    #CC5C99

    oklch(63.1% 0.157 348.7)

  7. Step 600

    600 (this color)

    #B1397F

    oklch(53.9% 0.171 348.4)

  8. Step 700

    700

    #9D2F70

    oklch(49.1% 0.16 348.2)

  9. Step 800

    800

    #7F295B

    oklch(42.6% 0.131 348.2)

  10. Step 900

    900

    #67274B

    oklch(37.8% 0.102 348.2)

  11. Step 950

    950

    #3D172C

    oklch(27% 0.066 348.1)

Export this scale for Tailwind in the Tailwind colors tool

#B1397F 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)#495B810.188
Deuteranopia (no green cones)#6B707C0.169
Tritanopia (no blue cones)#BD34570.065
Achromatopsia (no color)#6868680.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #B1397F

    #B1397F

    oklch(53.9% 0.171 348.4)

  • #008263

    #008263

    oklch(53.9% 0.108 168.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B1397F

    #B1397F

    oklch(53.9% 0.171 348.4)

  • #9646AD

    #9646AD

    oklch(53.9% 0.171 318.1)

  • #BD3646

    #BD3646

    oklch(53.9% 0.171 18.6)

Open the analogous palette in the generator

Split complementary

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

  • #B1397F

    #B1397F

    oklch(53.9% 0.171 348.4)

  • #318300

    #318300

    oklch(53.8% 0.168 138.4)

  • #007E82

    #007E82

    oklch(53.9% 0.092 198.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B1397F

    #B1397F

    oklch(53.9% 0.171 348.4)

  • #757300

    #757300

    oklch(54% 0.117 108.5)

  • #00799F

    #00799F

    oklch(53.9% 0.106 228.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B1397F

    #B1397F

    oklch(53.9% 0.171 348.4)

  • #916500

    #916500

    oklch(53.9% 0.112 78.8)

  • #008263

    #008263

    oklch(53.9% 0.108 168.7)

  • #246ACF

    #246ACF

    oklch(53.8% 0.171 258.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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