#A21D4F

Closest named color: Violet Red (#A50055). oklch(47.2% 0.17 4.8), rgb(162, 29, 79).

Aa

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

About this color

#A21D4F is a medium-dark, vivid red. In OKLCH its lightness is 47%, its chroma 0.170 and its hue 5°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.025 away. White text reads best on it, at 7.43:1.

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.170)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text2.82:1
White text7.43:1

Values

HEX#A21D4F
RGBrgb(162, 29, 79)
HSLhsl(337, 70%, 37%)
OKLCHoklch(47.2% 0.17 4.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 #A21D4F 7.43:1 AAA Lc -89.3 Fine for body text
Black text on #A21D4F 2.82:1 Fails Lc 19.7 Dividers and decoration only
#A21D4F text on white 7.43:1 AAA Lc 84.3 Fine for body text
#A21D4F text on black 2.82:1 Fails Lc -17.7 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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F9E4E8

    oklch(93.7% 0.024 4.5)

  3. Step 200

    200

    #F5CDD5

    oklch(88.5% 0.046 4.6)

  4. Step 300

    300

    #EFABBA

    oklch(80.9% 0.082 4.5)

  5. Step 400

    400

    #E47B96

    oklch(70.7% 0.132 4.6)

  6. Step 500

    500

    #D8557C

    oklch(63% 0.167 4.8)

  7. Step 600

    600

    #C43465

    oklch(55.7% 0.183 5)

  8. Step 700

    700 (this color)

    #A21D4F

    oklch(47.2% 0.17 4.8)

  9. Step 800

    800

    #892145

    oklch(42.7% 0.141 4.7)

  10. Step 900

    900

    #6E223A

    oklch(37.7% 0.109 4.6)

  11. Step 950

    950

    #411522

    oklch(27% 0.07 4.6)

Export this scale for Tailwind in the Tailwind colors tool

#A21D4F 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)#4045500.192
Deuteranopia (no green cones)#635E4C0.172
Tritanopia (no blue cones)#B100340.047
Achromatopsia (no color)#5555550.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #A21D4F

    #A21D4F

    oklch(47.2% 0.17 4.8)

  • #006A61

    #006A61

    oklch(47.1% 0.083 184.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A21D4F

    #A21D4F

    oklch(47.2% 0.17 4.8)

  • #902981

    #902981

    oklch(47.2% 0.17 334.4)

  • #A42700

    #A42700

    oklch(47.3% 0.166 34.9)

Open the analogous palette in the generator

Split complementary

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

  • #A21D4F

    #A21D4F

    oklch(47.2% 0.17 4.8)

  • #006E3C

    #006E3C

    oklch(47.3% 0.118 154.6)

  • #006778

    #006778

    oklch(47.2% 0.083 214.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A21D4F

    #A21D4F

    oklch(47.2% 0.17 4.8)

  • #4D6600

    #4D6600

    oklch(47.3% 0.118 124.6)

  • #006099

    #006099

    oklch(47.2% 0.119 244.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A21D4F

    #A21D4F

    oklch(47.2% 0.17 4.8)

  • #6D5A00

    #6D5A00

    oklch(47.3% 0.097 94.7)

  • #006A61

    #006A61

    oklch(47.1% 0.083 184.7)

  • #434BB8

    #434BB8

    oklch(47.2% 0.17 274.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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