#B81271

Closest named color: Medium Violet Red (#C71585). oklch(51.8% 0.205 353.6), rgb(184, 18, 113).

Aa

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

About this color

#B81271 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.205 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.042 away. White text reads best on it, at 6.24:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.205)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.36:1
White text6.24:1

Values

HEX#B81271
RGBrgb(184, 18, 113)
HSLhsl(326, 82%, 40%)
OKLCHoklch(51.8% 0.205 353.6)

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 #B81271 6.24:1 AA Lc -84.4 Fine for body text
Black text on #B81271 3.36:1 AA large text Lc 24.9 Dividers and decoration only
#B81271 text on white 6.24:1 AA Lc 79.1 Fine for body text
#B81271 text on black 3.36:1 AA large text Lc -22.7 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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE2EB

    oklch(93.5% 0.029 352.9)

  3. Step 200

    200

    #F8CBDC

    oklch(88.6% 0.055 353.6)

  4. Step 300

    300

    #F4A6C5

    oklch(80.9% 0.099 354)

  5. Step 400

    400

    #EA72A8

    oklch(70.7% 0.159 353.7)

  6. Step 500

    500

    #DF4593

    oklch(63.1% 0.202 353.4)

  7. Step 600

    600

    #CA147D

    oklch(55.5% 0.22 353.4)

  8. Step 700

    700 (this color)

    #B81271

    oklch(51.8% 0.205 353.6)

  9. Step 800

    800

    #8E0A56

    oklch(42.8% 0.17 353.6)

  10. Step 900

    900

    #721747

    oklch(37.7% 0.132 353.4)

  11. Step 950

    950

    #431029

    oklch(26.9% 0.083 354)

Export this scale for Tailwind in the Tailwind colors tool

#B81271 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)#3C4E730.234
Deuteranopia (no green cones)#6A6B6E0.205
Tritanopia (no blue cones)#C700430.076
Achromatopsia (no color)#6060600.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #B81271

    #B81271

    oklch(51.8% 0.205 353.6)

  • #007A64

    #007A64

    oklch(51.7% 0.098 174.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B81271

    #B81271

    oklch(51.8% 0.205 353.6)

  • #9D2CA9

    #9D2CA9

    oklch(51.8% 0.205 323.7)

  • #C30B27

    #C30B27

    oklch(51.8% 0.205 23.6)

Open the analogous palette in the generator

Split complementary

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

  • #B81271

    #B81271

    oklch(51.8% 0.205 353.6)

  • #007F13

    #007F13

    oklch(51.8% 0.17 143.6)

  • #00777F

    #00777F

    oklch(51.9% 0.088 203)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B81271

    #B81271

    oklch(51.8% 0.205 353.6)

  • #696F00

    #696F00

    oklch(51.9% 0.116 113.5)

  • #00719C

    #00719C

    oklch(51.7% 0.108 233.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B81271

    #B81271

    oklch(51.8% 0.205 353.6)

  • #856200

    #856200

    oklch(51.8% 0.106 84.1)

  • #007A64

    #007A64

    oklch(51.7% 0.098 174.3)

  • #255BDC

    #255BDC

    oklch(51.8% 0.206 263.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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