#B40051

Closest named color: Raspberry (#B00149). oklch(49.5% 0.199 5.7), rgb(180, 0, 81).

Aa

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

About this color

#B40051 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.199 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.014 away. White text reads best on it, at 6.86:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.199)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.05:1
White text6.86:1

Values

HEX#B40051
RGBrgb(180, 0, 81)
HSLhsl(333, 100%, 35%)
OKLCHoklch(49.5% 0.199 5.7)

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 #B40051 6.86:1 AA Lc -86.3 Fine for body text
Black text on #B40051 3.05:1 AA large text Lc 22.9 Dividers and decoration only
#B40051 text on white 6.86:1 AA Lc 81.2 Fine for body text
#B40051 text on black 3.05:1 AA large text Lc -20.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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FBE3E7

    oklch(93.6% 0.027 6.2)

  3. Step 200

    200

    #F9CBD4

    oklch(88.4% 0.053 5.1)

  4. Step 300

    300

    #F6A7B7

    oklch(80.9% 0.095 6.1)

  5. Step 400

    400

    #EE7392

    oklch(70.7% 0.154 5.9)

  6. Step 500

    500

    #E44678

    oklch(63.1% 0.196 5.6)

  7. Step 600

    600

    #CF1661

    oklch(55.6% 0.214 5.5)

  8. Step 700

    700 (this color)

    #B40051

    oklch(49.5% 0.199 5.7)

  9. Step 800

    800

    #910B42

    oklch(42.7% 0.165 5.4)

  10. Step 900

    900

    #751837

    oklch(37.8% 0.128 6.2)

  11. Step 950

    950

    #451021

    oklch(27% 0.082 5)

Export this scale for Tailwind in the Tailwind colors tool

#B40051 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)#4146520.226
Deuteranopia (no green cones)#6C664D0.203
Tritanopia (no blue cones)#C5002E0.062
Achromatopsia (no color)#5A5A5A0.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #B40051

    #B40051

    oklch(49.5% 0.199 5.7)

  • #007169

    #007169

    oklch(49.4% 0.086 186.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B40051

    #B40051

    oklch(49.5% 0.199 5.7)

  • #A01D8C

    #A01D8C

    oklch(49.4% 0.199 335.6)

  • #AD2D00

    #AD2D00

    oklch(49.5% 0.17 35.8)

Open the analogous palette in the generator

Split complementary

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

  • #B40051

    #B40051

    oklch(49.5% 0.199 5.7)

  • #007543

    #007543

    oklch(49.4% 0.12 155.8)

  • #006E81

    #006E81

    oklch(49.5% 0.088 215.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B40051

    #B40051

    oklch(49.5% 0.199 5.7)

  • #506D00

    #506D00

    oklch(49.4% 0.125 125.8)

  • #0066A4

    #0066A4

    oklch(49.4% 0.126 245.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B40051

    #B40051

    oklch(49.5% 0.199 5.7)

  • #736100

    #736100

    oklch(49.5% 0.102 96.4)

  • #007169

    #007169

    oklch(49.4% 0.086 186.3)

  • #494BCF

    #494BCF

    oklch(49.5% 0.199 275.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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