#B40D4C

Closest named color: Raspberry (#B00149). oklch(49.7% 0.193 8.5), rgb(180, 13, 76).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.193)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.10:1
White text6.76:1

Values

HEX#B40D4C
RGBrgb(180, 13, 76)
HSLhsl(337, 87%, 38%)
OKLCHoklch(49.7% 0.193 8.5)

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 #B40D4C 6.76:1 AA Lc -86.3 Fine for body text
Black text on #B40D4C 3.10:1 AA large text Lc 22.9 Dividers and decoration only
#B40D4C text on white 6.76:1 AA Lc 81.2 Fine for body text
#B40D4C text on black 3.10: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

    #FBE3E6

    oklch(93.6% 0.027 9)

  3. Step 200

    200

    #F9CCD2

    oklch(88.6% 0.051 9.2)

  4. Step 300

    300

    #F6A8B4

    oklch(81% 0.093 9.2)

  5. Step 400

    400

    #ED758E

    oklch(70.8% 0.149 8.5)

  6. Step 500

    500

    #E34972

    oklch(63.1% 0.191 8.5)

  7. Step 600

    600

    #CE1E5B

    oklch(55.6% 0.207 8.3)

  8. Step 700

    700 (this color)

    #B40D4C

    oklch(49.7% 0.193 8.5)

  9. Step 800

    800

    #90113D

    oklch(42.6% 0.159 8.5)

  10. Step 900

    900

    #741A34

    oklch(37.7% 0.124 8.6)

  11. Step 950

    950

    #44111F

    oklch(26.9% 0.079 7.5)

Export this scale for Tailwind in the Tailwind colors tool

#B40D4C 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)#45474D0.218
Deuteranopia (no green cones)#6E66480.196
Tritanopia (no blue cones)#C5002E0.053
Achromatopsia (no color)#5B5B5B0.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #B40D4C

    #B40D4C

    oklch(49.7% 0.193 8.5)

  • #00726C

    #00726C

    oklch(49.8% 0.086 188.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B40D4C

    #B40D4C

    oklch(49.7% 0.193 8.5)

  • #A22187

    #A22187

    oklch(49.8% 0.193 338.3)

  • #AA3500

    #AA3500

    oklch(49.8% 0.161 38.6)

Open the analogous palette in the generator

Split complementary

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

  • #B40D4C

    #B40D4C

    oklch(49.7% 0.193 8.5)

  • #007549

    #007549

    oklch(49.6% 0.115 158.7)

  • #006E85

    #006E85

    oklch(49.7% 0.09 219)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B40D4C

    #B40D4C

    oklch(49.7% 0.193 8.5)

  • #4B7000

    #4B7000

    oklch(49.8% 0.132 128.8)

  • #0065AB

    #0065AB

    oklch(49.6% 0.136 248.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B40D4C

    #B40D4C

    oklch(49.7% 0.193 8.5)

  • #726200

    #726200

    oklch(49.7% 0.103 98)

  • #00726C

    #00726C

    oklch(49.8% 0.086 188.4)

  • #504BCC

    #504BCC

    oklch(49.7% 0.193 278.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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