#B21031

Closest named color: Rouge (#AB1239). oklch(48.9% 0.189 19.4), rgb(178, 16, 49).

Aa

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

About this color

#B21031 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.189 and its hue 19°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.018 away. White text reads best on it, at 6.97:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.189)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text3.01:1
White text6.97:1

Values

HEX#B21031
RGBrgb(178, 16, 49)
HSLhsl(348, 84%, 38%)
OKLCHoklch(48.9% 0.189 19.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 #B21031 6.97:1 AA Lc -87.1 Fine for body text
Black text on #B21031 3.01:1 AA large text Lc 22.0 Dividers and decoration only
#B21031 text on white 6.97:1 AA Lc 82.0 Fine for body text
#B21031 text on black 3.01:1 AA large text Lc -19.9 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F9CCCC

    oklch(88.4% 0.051 18.2)

  4. Step 300

    300

    #F6A9A9

    oklch(80.9% 0.091 19.2)

  5. Step 400

    400

    #ED777B

    oklch(70.6% 0.146 19.4)

  6. Step 500

    500

    #E44D5A

    oklch(63.2% 0.186 19.4)

  7. Step 600

    600

    #CF2440

    oklch(55.5% 0.203 19.2)

  8. Step 700

    700 (this color)

    #B21031

    oklch(48.9% 0.189 19.4)

  9. Step 800

    800

    #91162A

    oklch(42.7% 0.156 19.3)

  10. Step 900

    900

    #751C26

    oklch(37.7% 0.122 19.3)

  11. Step 950

    950

    #451317

    oklch(27.1% 0.077 19.3)

Export this scale for Tailwind in the Tailwind colors tool

#B21031 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)#4944310.210
Deuteranopia (no green cones)#70652C0.191
Tritanopia (no blue cones)#C400210.039
Achromatopsia (no color)#5959590.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #B21031

    #B21031

    oklch(48.9% 0.189 19.4)

  • #006E72

    #006E72

    oklch(48.9% 0.083 199.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B21031

    #B21031

    oklch(48.9% 0.189 19.4)

  • #A61970

    #A61970

    oklch(48.9% 0.189 349.3)

  • #984400

    #984400

    oklch(48.8% 0.13 49.3)

Open the analogous palette in the generator

Split complementary

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

  • #B21031

    #B21031

    oklch(48.9% 0.189 19.4)

  • #007157

    #007157

    oklch(48.8% 0.097 169.7)

  • #00698C

    #00698C

    oklch(48.8% 0.097 230.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B21031

    #B21031

    oklch(48.9% 0.189 19.4)

  • #247300

    #247300

    oklch(48.8% 0.155 139.4)

  • #0658C8

    #0658C8

    oklch(49% 0.188 259.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B21031

    #B21031

    oklch(48.9% 0.189 19.4)

  • #656400

    #656400

    oklch(48.8% 0.106 109.1)

  • #006E72

    #006E72

    oklch(48.9% 0.083 199.2)

  • #6342C1

    #6342C1

    oklch(49% 0.188 289.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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