#B40E75

Closest named color: Medium Violet Red (#C71585). oklch(51.1% 0.206 350.8), rgb(180, 14, 117).

Aa

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

About this color

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

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

Values

HEX#B40E75
RGBrgb(180, 14, 117)
HSLhsl(323, 86%, 38%)
OKLCHoklch(51.1% 0.206 350.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 #B40E75 6.44:1 AA Lc -85.1 Fine for body text
Black text on #B40E75 3.26:1 AA large text Lc 24.1 Dividers and decoration only
#B40E75 text on white 6.44:1 AA Lc 79.9 Fine for body text
#B40E75 text on black 3.26:1 AA large text Lc -21.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 700.

  1. Step 50

    50

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE2EC

    oklch(93.5% 0.029 350.5)

  3. Step 200

    200

    #F7CBDE

    oklch(88.5% 0.055 350.5)

  4. Step 300

    300

    #F3A6C9

    oklch(81% 0.1 350.7)

  5. Step 400

    400

    #E872AD

    oklch(70.6% 0.159 350.7)

  6. Step 500

    500

    #DE4599

    oklch(63.1% 0.204 350.8)

  7. Step 600

    600

    #C91683

    oklch(55.6% 0.221 351)

  8. Step 700

    700 (this color)

    #B40E75

    oklch(51.1% 0.206 350.8)

  9. Step 800

    800

    #8D0B5B

    oklch(42.8% 0.171 350.7)

  10. Step 900

    900

    #71174A

    oklch(37.6% 0.133 350.9)

  11. Step 950

    950

    #43102C

    oklch(27.1% 0.085 350.4)

Export this scale for Tailwind in the Tailwind colors tool

#B40E75 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)#374D770.235
Deuteranopia (no green cones)#6568720.204
Tritanopia (no blue cones)#C200450.080
Achromatopsia (no color)#5E5E5E0.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #B40E75

    #B40E75

    oklch(51.1% 0.206 350.8)

  • #00785E

    #00785E

    oklch(51% 0.1 170.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B40E75

    #B40E75

    oklch(51.1% 0.206 350.8)

  • #982BAC

    #982BAC

    oklch(51.2% 0.206 320.9)

  • #C0002E

    #C0002E

    oklch(51.1% 0.205 20.8)

Open the analogous palette in the generator

Split complementary

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

  • #B40E75

    #B40E75

    oklch(51.1% 0.206 350.8)

  • #1C7C00

    #1C7C00

    oklch(51.2% 0.168 140.8)

  • #00757B

    #00757B

    oklch(51.2% 0.087 201.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B40E75

    #B40E75

    oklch(51.1% 0.206 350.8)

  • #6A6B00

    #6A6B00

    oklch(51% 0.112 110.4)

  • #007096

    #007096

    oklch(51.1% 0.103 230.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B40E75

    #B40E75

    oklch(51.1% 0.206 350.8)

  • #855F00

    #855F00

    oklch(51.2% 0.106 81.3)

  • #00785E

    #00785E

    oklch(51% 0.1 170.8)

  • #0D5BD9

    #0D5BD9

    oklch(51.1% 0.206 260.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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