#B21842

Closest named color: Rouge (#AB1239). oklch(49.6% 0.185 13.5), rgb(178, 24, 66).

Aa

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

About this color

#B21842 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.185 and its hue 13°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.020 away. White text reads best on it, at 6.76:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.185)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text3.10:1
White text6.76:1

Values

HEX#B21842
RGBrgb(178, 24, 66)
HSLhsl(344, 76%, 40%)
OKLCHoklch(49.6% 0.185 13.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 #B21842 6.76:1 AA Lc -86.6 Fine for body text
Black text on #B21842 3.10:1 AA large text Lc 22.6 Dividers and decoration only
#B21842 text on white 6.76:1 AA Lc 81.5 Fine for body text
#B21842 text on black 3.10: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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FBE3E5

    oklch(93.6% 0.026 11.9)

  3. Step 200

    200

    #F8CCCF

    oklch(88.4% 0.05 13.5)

  4. Step 300

    300

    #F5A9B0

    oklch(81% 0.09 13.2)

  5. Step 400

    400

    #EB7786

    oklch(70.6% 0.143 13.3)

  6. Step 500

    500

    #E14E68

    oklch(63.1% 0.182 13.6)

  7. Step 600

    600

    #CD2750

    oklch(55.7% 0.199 13.5)

  8. Step 700

    700 (this color)

    #B21842

    oklch(49.6% 0.185 13.5)

  9. Step 800

    800

    #8F1836

    oklch(42.7% 0.153 13.2)

  10. Step 900

    900

    #731D2E

    oklch(37.7% 0.119 13.7)

  11. Step 950

    950

    #44131B

    oklch(27% 0.075 14)

Export this scale for Tailwind in the Tailwind colors tool

#B21842 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)#4947420.207
Deuteranopia (no green cones)#6F663E0.188
Tritanopia (no blue cones)#C3002C0.042
Achromatopsia (no color)#5B5B5B0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #B21842

    #B21842

    oklch(49.6% 0.185 13.5)

  • #007170

    #007170

    oklch(49.6% 0.085 193.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B21842

    #B21842

    oklch(49.6% 0.185 13.5)

  • #A3237C

    #A3237C

    oklch(49.5% 0.185 343.5)

  • #A23E00

    #A23E00

    oklch(49.6% 0.145 43.5)

Open the analogous palette in the generator

Split complementary

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

  • #B21842

    #B21842

    oklch(49.6% 0.185 13.5)

  • #007451

    #007451

    oklch(49.5% 0.106 163.8)

  • #006D88

    #006D88

    oklch(49.6% 0.092 222.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B21842

    #B21842

    oklch(49.6% 0.185 13.5)

  • #3F7200

    #3F7200

    oklch(49.6% 0.141 133.3)

  • #0061B7

    #0061B7

    oklch(49.5% 0.156 253.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B21842

    #B21842

    oklch(49.6% 0.185 13.5)

  • #6D6400

    #6D6400

    oklch(49.6% 0.104 103.4)

  • #007170

    #007170

    oklch(49.6% 0.085 193.7)

  • #5A49C5

    #5A49C5

    oklch(49.6% 0.185 283.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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