#A21F58

Closest named color: Violet Red (#A50055). oklch(47.7% 0.171 0.4), rgb(162, 31, 88).

Aa

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

About this color

#A21F58 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.171 and its hue 0°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.021 away. White text reads best on it, at 7.30:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.171)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text2.87:1
White text7.30:1

Values

HEX#A21F58
RGBrgb(162, 31, 88)
HSLhsl(334, 68%, 38%)
OKLCHoklch(47.7% 0.171 0.4)

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 #A21F58 7.30:1 AAA Lc -88.9 Fine for body text
Black text on #A21F58 2.87:1 Fails Lc 20.1 Dividers and decoration only
#A21F58 text on white 7.30:1 AAA Lc 83.9 Fine for body text
#A21F58 text on black 2.87: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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F9E4E9

    oklch(93.7% 0.024 1.3)

  3. Step 200

    200

    #F4CDD7

    oklch(88.4% 0.046 0.9)

  4. Step 300

    300

    #EEABBE

    oklch(81% 0.082 0.5)

  5. Step 400

    400

    #E27B9D

    oklch(70.7% 0.132 360)

  6. Step 500

    500

    #D75585

    oklch(63.1% 0.169 0.2)

  7. Step 600

    600

    #C2346E

    oklch(55.6% 0.183 0.4)

  8. Step 700

    700 (this color)

    #A21F58

    oklch(47.7% 0.171 0.4)

  9. Step 800

    800

    #88214B

    oklch(42.7% 0.142 0.6)

  10. Step 900

    900

    #6D223F

    oklch(37.7% 0.11 0)

  11. Step 950

    950

    #401525

    oklch(26.9% 0.07 359.7)

Export this scale for Tailwind in the Tailwind colors tool

#A21F58 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)#3F46590.192
Deuteranopia (no green cones)#625F550.172
Tritanopia (no blue cones)#B000390.051
Achromatopsia (no color)#5656560.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #A21F58

    #A21F58

    oklch(47.7% 0.171 0.4)

  • #006C5F

    #006C5F

    oklch(47.6% 0.086 180.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A21F58

    #A21F58

    oklch(47.7% 0.171 0.4)

  • #8E2C88

    #8E2C88

    oklch(47.6% 0.17 330.5)

  • #A72315

    #A72315

    oklch(47.6% 0.17 30.3)

Open the analogous palette in the generator

Split complementary

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

  • #A21F58

    #A21F58

    oklch(47.7% 0.171 0.4)

  • #007032

    #007032

    oklch(47.7% 0.13 150.3)

  • #006976

    #006976

    oklch(47.7% 0.082 209.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A21F58

    #A21F58

    oklch(47.7% 0.171 0.4)

  • #546500

    #546500

    oklch(47.5% 0.113 120.5)

  • #006394

    #006394

    oklch(47.7% 0.11 240.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A21F58

    #A21F58

    oklch(47.7% 0.171 0.4)

  • #725900

    #725900

    oklch(47.6% 0.097 89.7)

  • #006C5F

    #006C5F

    oklch(47.6% 0.086 180.7)

  • #3B4FBB

    #3B4FBB

    oklch(47.7% 0.171 270.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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