#B31145

Closest named color: Raspberry (#B00149). oklch(49.5% 0.19 11.6), rgb(179, 17, 69).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.190)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.08:1
White text6.81:1

Values

HEX#B31145
RGBrgb(179, 17, 69)
HSLhsl(341, 83%, 38%)
OKLCHoklch(49.5% 0.19 11.6)

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 #B31145 6.81:1 AA Lc -86.6 Fine for body text
Black text on #B31145 3.08:1 AA large text Lc 22.6 Dividers and decoration only
#B31145 text on white 6.81:1 AA Lc 81.5 Fine for body text
#B31145 text on black 3.08: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

    #FBE3E5

    oklch(93.6% 0.026 11.9)

  3. Step 200

    200

    #F9CCD0

    oklch(88.5% 0.051 12.1)

  4. Step 300

    300

    #F5A8B1

    oklch(80.8% 0.091 11.6)

  5. Step 400

    400

    #ED7689

    oklch(70.8% 0.147 11.6)

  6. Step 500

    500

    #E34B6C

    oklch(63.2% 0.188 11.5)

  7. Step 600

    600

    #CE2254

    oklch(55.6% 0.204 11.5)

  8. Step 700

    700 (this color)

    #B31145

    oklch(49.5% 0.19 11.6)

  9. Step 800

    800

    #901438

    oklch(42.7% 0.157 11.6)

  10. Step 900

    900

    #741B30

    oklch(37.7% 0.123 11.8)

  11. Step 950

    950

    #44121C

    oklch(26.9% 0.077 12)

Export this scale for Tailwind in the Tailwind colors tool

#B31145 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)#4746460.213
Deuteranopia (no green cones)#6E66410.194
Tritanopia (no blue cones)#C4002B0.047
Achromatopsia (no color)#5B5B5B0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #B31145

    #B31145

    oklch(49.5% 0.19 11.6)

  • #00716E

    #00716E

    oklch(49.6% 0.085 191.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B31145

    #B31145

    oklch(49.5% 0.19 11.6)

  • #A32080

    #A32080

    oklch(49.5% 0.19 341.6)

  • #A43B00

    #A43B00

    oklch(49.5% 0.15 41.8)

Open the analogous palette in the generator

Split complementary

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

  • #B31145

    #B31145

    oklch(49.5% 0.19 11.6)

  • #00744E

    #00744E

    oklch(49.4% 0.108 161.9)

  • #006D87

    #006D87

    oklch(49.6% 0.091 221.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B31145

    #B31145

    oklch(49.5% 0.19 11.6)

  • #437100

    #437100

    oklch(49.6% 0.137 131.9)

  • #0063B1

    #0063B1

    oklch(49.6% 0.146 251.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B31145

    #B31145

    oklch(49.5% 0.19 11.6)

  • #6E6300

    #6E6300

    oklch(49.5% 0.104 101.8)

  • #00716E

    #00716E

    oklch(49.6% 0.085 191.5)

  • #5649C8

    #5649C8

    oklch(49.5% 0.189 281.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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