#B40045

Closest named color: Raspberry (#B00149). oklch(49.2% 0.197 10.8), rgb(180, 0, 69).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.197)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.02:1
White text6.93:1

Values

HEX#B40045
RGBrgb(180, 0, 69)
HSLhsl(337, 100%, 35%)
OKLCHoklch(49.2% 0.197 10.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 #B40045 6.93:1 AA Lc -86.6 Fine for body text
Black text on #B40045 3.02:1 AA large text Lc 22.6 Dividers and decoration only
#B40045 text on white 6.93:1 AA Lc 81.4 Fine for body text
#B40045 text on black 3.02:1 AA large text Lc -20.4 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

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FCE3E5

    oklch(93.7% 0.028 12.1)

  3. Step 200

    200

    #FACBD1

    oklch(88.4% 0.054 9.6)

  4. Step 300

    300

    #F7A7B2

    oklch(80.9% 0.095 10.4)

  5. Step 400

    400

    #EF7489

    oklch(70.8% 0.152 11.1)

  6. Step 500

    500

    #E5476C

    oklch(63.1% 0.194 10.9)

  7. Step 600

    600

    #D01954

    oklch(55.5% 0.211 10.9)

  8. Step 700

    700 (this color)

    #B40045

    oklch(49.2% 0.197 10.8)

  9. Step 800

    800

    #920D39

    oklch(42.7% 0.163 10.6)

  10. Step 900

    900

    #751831

    oklch(37.6% 0.127 10.5)

  11. Step 950

    950

    #45111D

    oklch(27% 0.08 10.5)

Export this scale for Tailwind in the Tailwind colors tool

#B40045 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)#4444460.222
Deuteranopia (no green cones)#6D65410.201
Tritanopia (no blue cones)#C600270.055
Achromatopsia (no color)#5A5A5A0.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #B40045

    #B40045

    oklch(49.2% 0.197 10.8)

  • #00706C

    #00706C

    oklch(49.2% 0.085 190.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B40045

    #B40045

    oklch(49.2% 0.197 10.8)

  • #A31981

    #A31981

    oklch(49.1% 0.196 341)

  • #A43900

    #A43900

    oklch(49.2% 0.152 40.9)

Open the analogous palette in the generator

Split complementary

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

  • #B40045

    #B40045

    oklch(49.2% 0.197 10.8)

  • #00734C

    #00734C

    oklch(49.1% 0.109 161.2)

  • #006C85

    #006C85

    oklch(49.2% 0.09 221.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B40045

    #B40045

    oklch(49.2% 0.197 10.8)

  • #456F00

    #456F00

    oklch(49.2% 0.134 130.8)

  • #0062AE

    #0062AE

    oklch(49.1% 0.143 251.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B40045

    #B40045

    oklch(49.2% 0.197 10.8)

  • #6E6200

    #6E6200

    oklch(49.2% 0.103 101)

  • #00706C

    #00706C

    oklch(49.2% 0.085 190.4)

  • #5447CB

    #5447CB

    oklch(49.3% 0.196 280.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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