#B21B4F

Closest named color: Raspberry (#B00149). oklch(50% 0.185 8), rgb(178, 27, 79).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.185)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.16:1
White text6.63:1

Values

HEX#B21B4F
RGBrgb(178, 27, 79)
HSLhsl(339, 74%, 40%)
OKLCHoklch(50% 0.185 8)

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 #B21B4F 6.63:1 AA Lc -86.2 Fine for body text
Black text on #B21B4F 3.16:1 AA large text Lc 23.0 Dividers and decoration only
#B21B4F text on white 6.63:1 AA Lc 81.1 Fine for body text
#B21B4F text on black 3.16:1 AA large text Lc -20.8 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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E6

    oklch(93.5% 0.026 8.6)

  3. Step 200

    200

    #F8CCD3

    oklch(88.5% 0.05 7.4)

  4. Step 300

    300

    #F3A9B6

    oklch(80.9% 0.088 7.7)

  5. Step 400

    400

    #EA7790

    oklch(70.7% 0.144 7.7)

  6. Step 500

    500

    #DF4E74

    oklch(63.1% 0.182 8.1)

  7. Step 600

    600

    #CB275D

    oklch(55.6% 0.199 7.9)

  8. Step 700

    700 (this color)

    #B21B4F

    oklch(50% 0.185 8)

  9. Step 800

    800

    #8E183F

    oklch(42.7% 0.153 7.9)

  10. Step 900

    900

    #721D35

    oklch(37.7% 0.119 8.2)

  11. Step 950

    950

    #43131F

    oklch(27% 0.075 8.4)

Export this scale for Tailwind in the Tailwind colors tool

#B21B4F 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)#4749500.208
Deuteranopia (no green cones)#6E674B0.188
Tritanopia (no blue cones)#C300330.049
Achromatopsia (no color)#5C5C5C0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #B21B4F

    #B21B4F

    oklch(50% 0.185 8)

  • #00736C

    #00736C

    oklch(50% 0.087 187.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B21B4F

    #B21B4F

    oklch(50% 0.185 8)

  • #A02887

    #A02887

    oklch(50% 0.185 337.8)

  • #AC3400

    #AC3400

    oklch(50% 0.164 38)

Open the analogous palette in the generator

Split complementary

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

  • #B21B4F

    #B21B4F

    oklch(50% 0.185 8)

  • #007749

    #007749

    oklch(50.1% 0.117 158.1)

  • #006F85

    #006F85

    oklch(50% 0.09 217.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B21B4F

    #B21B4F

    oklch(50% 0.185 8)

  • #4D7000

    #4D7000

    oklch(49.9% 0.131 128)

  • #0067AB

    #0067AB

    oklch(50.1% 0.134 247.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B21B4F

    #B21B4F

    oklch(50% 0.185 8)

  • #736300

    #736300

    oklch(50% 0.103 98.1)

  • #00736C

    #00736C

    oklch(50% 0.087 187.4)

  • #504EC9

    #504EC9

    oklch(50% 0.186 278)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #B21B4F.

Similar named colors

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

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