#B40B5A

Closest named color: Raspberry (#B00149). oklch(50% 0.197 2.3), rgb(180, 11, 90).

Aa

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

About this color

#B40B5A is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.197 and its hue 2°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.026 away. White text reads best on it, at 6.69:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.197)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.13:1
White text6.69:1

Values

HEX#B40B5A
RGBrgb(180, 11, 90)
HSLhsl(332, 88%, 37%)
OKLCHoklch(50% 0.197 2.3)

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 #B40B5A 6.69:1 AA Lc -86.0 Fine for body text
Black text on #B40B5A 3.13:1 AA large text Lc 23.2 Dividers and decoration only
#B40B5A text on white 6.69:1 AA Lc 80.9 Fine for body text
#B40B5A text on black 3.13:1 AA large text Lc -21.0 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

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FBE3E8

    oklch(93.7% 0.027 3.4)

  3. Step 200

    200

    #F9CBD6

    oklch(88.5% 0.054 2.2)

  4. Step 300

    300

    #F5A7BB

    oklch(80.9% 0.095 2.6)

  5. Step 400

    400

    #EC7499

    oklch(70.8% 0.152 2.2)

  6. Step 500

    500

    #E24780

    oklch(63.1% 0.196 2.1)

  7. Step 600

    600

    #CD1A69

    oklch(55.6% 0.212 2.3)

  8. Step 700

    700 (this color)

    #B40B5A

    oklch(50% 0.197 2.3)

  9. Step 800

    800

    #8F0E48

    oklch(42.6% 0.163 1.8)

  10. Step 900

    900

    #73193C

    oklch(37.7% 0.126 2.1)

  11. Step 950

    950

    #441123

    oklch(27% 0.08 2.5)

Export this scale for Tailwind in the Tailwind colors tool

#B40B5A 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)#41485B0.224
Deuteranopia (no green cones)#6B67560.201
Tritanopia (no blue cones)#C400350.063
Achromatopsia (no color)#5C5C5C0.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #B40B5A

    #B40B5A

    oklch(50% 0.197 2.3)

  • #007467

    #007467

    oklch(50.1% 0.09 181.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B40B5A

    #B40B5A

    oklch(50% 0.197 2.3)

  • #9E2493

    #9E2493

    oklch(50% 0.196 332.2)

  • #B61F00

    #B61F00

    oklch(50% 0.188 32.2)

Open the analogous palette in the generator

Split complementary

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

  • #B40B5A

    #B40B5A

    oklch(50% 0.197 2.3)

  • #00783C

    #00783C

    oklch(50.2% 0.131 152.3)

  • #007080

    #007080

    oklch(50% 0.087 211.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B40B5A

    #B40B5A

    oklch(50% 0.197 2.3)

  • #586D00

    #586D00

    oklch(50% 0.121 121.9)

  • #0069A1

    #0069A1

    oklch(50% 0.12 242.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B40B5A

    #B40B5A

    oklch(50% 0.197 2.3)

  • #786100

    #786100

    oklch(50.1% 0.103 92.6)

  • #007467

    #007467

    oklch(50.1% 0.09 181.5)

  • #4250D1

    #4250D1

    oklch(50.1% 0.197 272.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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