#B40956

Closest named color: Raspberry (#B00149). oklch(49.9% 0.197 3.9), rgb(180, 9, 86).

Aa

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

About this color

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

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

Values

HEX#B40956
RGBrgb(180, 9, 86)
HSLhsl(333, 90%, 37%)
OKLCHoklch(49.9% 0.197 3.9)

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 #B40956 6.74:1 AA Lc -86.2 Fine for body text
Black text on #B40956 3.11:1 AA large text Lc 23.0 Dividers and decoration only
#B40956 text on white 6.74:1 AA Lc 81.0 Fine for body text
#B40956 text on black 3.11:1 AA large text Lc -20.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 700.

  1. Step 50

    50

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FBE3E8

    oklch(93.7% 0.027 3.4)

  3. Step 200

    200

    #F9CBD5

    oklch(88.5% 0.053 3.6)

  4. Step 300

    300

    #F5A7B9

    oklch(80.9% 0.094 4.3)

  5. Step 400

    400

    #EC7496

    oklch(70.7% 0.151 3.8)

  6. Step 500

    500

    #E2477C

    oklch(63% 0.194 3.8)

  7. Step 600

    600

    #CE1A65

    oklch(55.7% 0.212 4)

  8. Step 700

    700 (this color)

    #B40956

    oklch(49.9% 0.197 3.9)

  9. Step 800

    800

    #900E45

    oklch(42.7% 0.163 3.7)

  10. Step 900

    900

    #74193A

    oklch(37.8% 0.127 3.9)

  11. Step 950

    950

    #441122

    oklch(27% 0.08 3.7)

Export this scale for Tailwind in the Tailwind colors tool

#B40956 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)#4147570.224
Deuteranopia (no green cones)#6C66520.199
Tritanopia (no blue cones)#C500320.062
Achromatopsia (no color)#5B5B5B0.199

Harmonies

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

Complementary

The opposite hue (180°).

  • #B40956

    #B40956

    oklch(49.9% 0.197 3.9)

  • #007368

    #007368

    oklch(49.9% 0.089 183.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B40956

    #B40956

    oklch(49.9% 0.197 3.9)

  • #9F2290

    #9F2290

    oklch(49.8% 0.197 333.7)

  • #B22700

    #B22700

    oklch(49.9% 0.18 33.9)

Open the analogous palette in the generator

Split complementary

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

  • #B40956

    #B40956

    oklch(49.9% 0.197 3.9)

  • #007740

    #007740

    oklch(50% 0.126 154)

  • #006F81

    #006F81

    oklch(49.8% 0.088 214)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B40956

    #B40956

    oklch(49.9% 0.197 3.9)

  • #556E00

    #556E00

    oklch(50% 0.124 123.8)

  • #0068A3

    #0068A3

    oklch(49.8% 0.123 244)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B40956

    #B40956

    oklch(49.9% 0.197 3.9)

  • #766100

    #766100

    oklch(49.9% 0.102 94.1)

  • #007368

    #007368

    oklch(49.9% 0.089 183.4)

  • #464ED0

    #464ED0

    oklch(49.9% 0.197 274)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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