#B31D49

Closest named color: Raspberry (#B00149). oklch(50.2% 0.183 11.1), rgb(179, 29, 73).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.183)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.18:1
White text6.58:1

Values

HEX#B31D49
RGBrgb(179, 29, 73)
HSLhsl(342, 72%, 41%)
OKLCHoklch(50.2% 0.183 11.1)

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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FAE3E5

    oklch(93.5% 0.025 11.6)

  3. Step 200

    200

    #F8CCD1

    oklch(88.4% 0.05 10.5)

  4. Step 300

    300

    #F4A9B2

    oklch(80.9% 0.089 11.3)

  5. Step 400

    400

    #EA788A

    oklch(70.7% 0.141 11.4)

  6. Step 500

    500

    #E04E6E

    oklch(63.1% 0.182 10.9)

  7. Step 600

    600

    #CB2956

    oklch(55.6% 0.196 11.1)

  8. Step 700

    700 (this color)

    #B31D49

    oklch(50.2% 0.183 11.1)

  9. Step 800

    800

    #8E193A

    oklch(42.7% 0.151 10.9)

  10. Step 900

    900

    #721E32

    oklch(37.7% 0.117 10.8)

  11. Step 950

    950

    #43131D

    oklch(26.9% 0.074 11)

Export this scale for Tailwind in the Tailwind colors tool

#B31D49 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)#4A4A4A0.205
Deuteranopia (no green cones)#7068450.187
Tritanopia (no blue cones)#C400310.043
Achromatopsia (no color)#5D5D5D0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #B31D49

    #B31D49

    oklch(50.2% 0.183 11.1)

  • #007370

    #007370

    oklch(50.2% 0.086 191.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B31D49

    #B31D49

    oklch(50.2% 0.183 11.1)

  • #A32882

    #A32882

    oklch(50.2% 0.183 341.1)

  • #A83B00

    #A83B00

    oklch(50.2% 0.154 41.1)

Open the analogous palette in the generator

Split complementary

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

  • #B31D49

    #B31D49

    oklch(50.2% 0.183 11.1)

  • #00774F

    #00774F

    oklch(50.3% 0.111 161.3)

  • #006F89

    #006F89

    oklch(50.2% 0.092 221.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B31D49

    #B31D49

    oklch(50.2% 0.183 11.1)

  • #467200

    #467200

    oklch(50% 0.137 131.1)

  • #0065B3

    #0065B3

    oklch(50.2% 0.146 251.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B31D49

    #B31D49

    oklch(50.2% 0.183 11.1)

  • #716500

    #716500

    oklch(50.3% 0.105 101.2)

  • #007370

    #007370

    oklch(50.2% 0.086 191.6)

  • #574DC7

    #574DC7

    oklch(50.2% 0.183 281.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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