#B31E4B

Closest named color: Raspberry (#B00149). oklch(50.3% 0.183 10.4), rgb(179, 30, 75).

Aa

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

About this color

#B31E4B is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.183 and its hue 10°. 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.55:1.

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

Values

HEX#B31E4B
RGBrgb(179, 30, 75)
HSLhsl(342, 71%, 41%)
OKLCHoklch(50.3% 0.183 10.4)

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 #B31E4B 6.55:1 AA Lc -85.9 Fine for body text
Black text on #B31E4B 3.20:1 AA large text Lc 23.3 Dividers and decoration only
#B31E4B text on white 6.55:1 AA Lc 80.8 Fine for body text
#B31E4B text on black 3.20:1 AA large text Lc -21.1 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

    #FAE3E6

    oklch(93.5% 0.026 8.6)

  3. Step 200

    200

    #F8CCD1

    oklch(88.4% 0.05 10.5)

  4. Step 300

    300

    #F3A9B3

    oklch(80.8% 0.088 10.3)

  5. Step 400

    400

    #EA788C

    oklch(70.8% 0.141 10.3)

  6. Step 500

    500

    #E04F6F

    oklch(63.2% 0.181 10.7)

  7. Step 600

    600

    #CB2958

    oklch(55.6% 0.197 10.3)

  8. Step 700

    700 (this color)

    #B31E4B

    oklch(50.3% 0.183 10.4)

  9. Step 800

    800

    #8E193B

    oklch(42.7% 0.151 10.4)

  10. Step 900

    900

    #721E33

    oklch(37.7% 0.117 10.1)

  11. Step 950

    950

    #43131E

    oklch(26.9% 0.075 9.7)

Export this scale for Tailwind in the Tailwind colors tool

#B31E4B 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)#4A4A4C0.205
Deuteranopia (no green cones)#7068470.186
Tritanopia (no blue cones)#C400320.044
Achromatopsia (no color)#5D5D5D0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #B31E4B

    #B31E4B

    oklch(50.3% 0.183 10.4)

  • #00746F

    #00746F

    oklch(50.4% 0.087 189.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B31E4B

    #B31E4B

    oklch(50.3% 0.183 10.4)

  • #A32983

    #A32983

    oklch(50.4% 0.183 340.7)

  • #AA3A00

    #AA3A00

    oklch(50.4% 0.157 40.4)

Open the analogous palette in the generator

Split complementary

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

  • #B31E4B

    #B31E4B

    oklch(50.3% 0.183 10.4)

  • #00774E

    #00774E

    oklch(50.3% 0.112 160.7)

  • #007088

    #007088

    oklch(50.4% 0.091 219.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B31E4B

    #B31E4B

    oklch(50.3% 0.183 10.4)

  • #487200

    #487200

    oklch(50.2% 0.136 130.4)

  • #0066B2

    #0066B2

    oklch(50.3% 0.144 250.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B31E4B

    #B31E4B

    oklch(50.3% 0.183 10.4)

  • #726500

    #726500

    oklch(50.4% 0.105 100.5)

  • #00746F

    #00746F

    oklch(50.4% 0.087 189.5)

  • #564EC8

    #564EC8

    oklch(50.3% 0.183 280.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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