#A21C5F

Closest named color: Deep Magenta (#A0025C). oklch(47.7% 0.176 356.5), rgb(162, 28, 95).

Aa

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

About this color

#A21C5F is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.176 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Magenta (#A0025C), ΔE 0.020 away. White text reads best on it, at 7.32:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.176)
Temperaturewarm
Nearest nameDeep Magenta (#A0025C)
Black text2.86:1
White text7.32:1

Values

HEX#A21C5F
RGBrgb(162, 28, 95)
HSLhsl(330, 71%, 37%)
OKLCHoklch(47.7% 0.176 356.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 #A21C5F 7.32:1 AAA Lc -88.9 Fine for body text
Black text on #A21C5F 2.86:1 Fails Lc 20.1 Dividers and decoration only
#A21C5F text on white 7.32:1 AAA Lc 83.9 Fine for body text
#A21C5F text on black 2.86:1 Fails Lc -18.0 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

    #FCF2F5

    oklch(97% 0.011 357)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F4CDDA

    oklch(88.5% 0.047 356.1)

  4. Step 300

    300

    #EEAAC2

    oklch(80.9% 0.085 356.3)

  5. Step 400

    400

    #E27AA3

    oklch(70.7% 0.136 356.1)

  6. Step 500

    500

    #D7538C

    oklch(63.1% 0.174 356.5)

  7. Step 600

    600

    #C23176

    oklch(55.6% 0.19 356.4)

  8. Step 700

    700 (this color)

    #A21C5F

    oklch(47.7% 0.176 356.5)

  9. Step 800

    800

    #881F51

    oklch(42.8% 0.146 356.5)

  10. Step 900

    900

    #6D2143

    oklch(37.7% 0.113 356.4)

  11. Step 950

    950

    #401527

    oklch(27% 0.071 356.8)

Export this scale for Tailwind in the Tailwind colors tool

#A21C5F 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)#3B46610.199
Deuteranopia (no green cones)#605F5C0.176
Tritanopia (no blue cones)#B0003C0.058
Achromatopsia (no color)#5656560.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #A21C5F

    #A21C5F

    oklch(47.7% 0.176 356.5)

  • #006D5B

    #006D5B

    oklch(47.8% 0.089 176)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A21C5F

    #A21C5F

    oklch(47.7% 0.176 356.5)

  • #8C2C8F

    #8C2C8F

    oklch(47.7% 0.175 326.6)

  • #AA1D1F

    #AA1D1F

    oklch(47.8% 0.176 26.6)

Open the analogous palette in the generator

Split complementary

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

  • #A21C5F

    #A21C5F

    oklch(47.7% 0.176 356.5)

  • #007123

    #007123

    oklch(47.8% 0.144 146.4)

  • #006974

    #006974

    oklch(47.6% 0.082 207.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A21C5F

    #A21C5F

    oklch(47.7% 0.176 356.5)

  • #5A6400

    #5A6400

    oklch(47.8% 0.11 116.4)

  • #00648F

    #00648F

    oklch(47.7% 0.104 236.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A21C5F

    #A21C5F

    oklch(47.7% 0.176 356.5)

  • #755800

    #755800

    oklch(47.7% 0.098 86.3)

  • #006D5B

    #006D5B

    oklch(47.8% 0.089 176)

  • #2F51BE

    #2F51BE

    oklch(47.7% 0.176 266.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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