#B21C4F

Closest named color: Raspberry (#B00149). oklch(50.1% 0.184 8.1), rgb(178, 28, 79).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.17:1
White text6.62:1

Values

HEX#B21C4F
RGBrgb(178, 28, 79)
HSLhsl(340, 73%, 40%)
OKLCHoklch(50.1% 0.184 8.1)

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 #B21C4F 6.62:1 AA Lc -86.2 Fine for body text
Black text on #B21C4F 3.17:1 AA large text Lc 23.0 Dividers and decoration only
#B21C4F text on white 6.62:1 AA Lc 81.0 Fine for body text
#B21C4F text on black 3.17: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

    #F7CCD3

    oklch(88.4% 0.049 7.1)

  4. Step 300

    300

    #F3A9B5

    oklch(80.9% 0.088 8.5)

  5. Step 400

    400

    #EA778F

    oklch(70.7% 0.143 8.2)

  6. Step 500

    500

    #DF4E74

    oklch(63.1% 0.182 8.1)

  7. Step 600

    600

    #CA285D

    oklch(55.5% 0.197 7.9)

  8. Step 700

    700 (this color)

    #B21C4F

    oklch(50.1% 0.184 8.1)

  9. Step 800

    800

    #8E193F

    oklch(42.8% 0.152 8.1)

  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

#B21C4F 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)#484A500.207
Deuteranopia (no green cones)#6E674B0.187
Tritanopia (no blue cones)#C300340.047
Achromatopsia (no color)#5D5D5D0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #B21C4F

    #B21C4F

    oklch(50.1% 0.184 8.1)

  • #00736D

    #00736D

    oklch(50.1% 0.087 188.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B21C4F

    #B21C4F

    oklch(50.1% 0.184 8.1)

  • #A02987

    #A02987

    oklch(50.1% 0.184 337.9)

  • #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°).

  • #B21C4F

    #B21C4F

    oklch(50.1% 0.184 8.1)

  • #007749

    #007749

    oklch(50.1% 0.117 158.1)

  • #006F86

    #006F86

    oklch(50% 0.09 218.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B21C4F

    #B21C4F

    oklch(50.1% 0.184 8.1)

  • #4D7100

    #4D7100

    oklch(50.2% 0.132 128.3)

  • #0067AC

    #0067AC

    oklch(50.2% 0.135 248)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B21C4F

    #B21C4F

    oklch(50.1% 0.184 8.1)

  • #736300

    #736300

    oklch(50% 0.103 98.1)

  • #00736D

    #00736D

    oklch(50.1% 0.087 188.5)

  • #514FC8

    #514FC8

    oklch(50.1% 0.183 278.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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