#A21B56

Closest named color: Violet Red (#A50055). oklch(47.3% 0.173 0.9), rgb(162, 27, 86).

Aa

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

About this color

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

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

Values

HEX#A21B56
RGBrgb(162, 27, 86)
HSLhsl(334, 71%, 37%)
OKLCHoklch(47.3% 0.173 0.9)

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 #A21B56 7.42:1 AAA Lc -89.2 Fine for body text
Black text on #A21B56 2.82:1 Fails Lc 19.8 Dividers and decoration only
#A21B56 text on white 7.42:1 AAA Lc 84.2 Fine for body text
#A21B56 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

    #FCF2F5

    oklch(97% 0.011 357)

  2. Step 100

    100

    #F9E4E9

    oklch(93.7% 0.024 1.3)

  3. Step 200

    200

    #F5CDD7

    oklch(88.5% 0.047 1.3)

  4. Step 300

    300

    #EFAABD

    oklch(80.9% 0.084 1.1)

  5. Step 400

    400

    #E37A9C

    oklch(70.6% 0.134 0.5)

  6. Step 500

    500

    #D85483

    oklch(63.1% 0.171 1.1)

  7. Step 600

    600

    #C3326D

    oklch(55.6% 0.186 0.8)

  8. Step 700

    700 (this color)

    #A21B56

    oklch(47.3% 0.173 0.9)

  9. Step 800

    800

    #89204A

    oklch(42.8% 0.143 1.3)

  10. Step 900

    900

    #6E213E

    oklch(37.7% 0.112 0.9)

  11. Step 950

    950

    #411524

    oklch(27.1% 0.07 1.7)

Export this scale for Tailwind in the Tailwind colors tool

#A21B56 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)#3E45570.196
Deuteranopia (no green cones)#625E530.174
Tritanopia (no blue cones)#B000370.052
Achromatopsia (no color)#5555550.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #A21B56

    #A21B56

    oklch(47.3% 0.173 0.9)

  • #006B5E

    #006B5E

    oklch(47.3% 0.085 180.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A21B56

    #A21B56

    oklch(47.3% 0.173 0.9)

  • #8E2987

    #8E2987

    oklch(47.2% 0.173 330.9)

  • #A7200E

    #A7200E

    oklch(47.3% 0.173 31)

Open the analogous palette in the generator

Split complementary

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

  • #A21B56

    #A21B56

    oklch(47.3% 0.173 0.9)

  • #006F33

    #006F33

    oklch(47.4% 0.128 150.8)

  • #006876

    #006876

    oklch(47.4% 0.082 210.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A21B56

    #A21B56

    oklch(47.3% 0.173 0.9)

  • #536500

    #536500

    oklch(47.5% 0.114 121)

  • #006293

    #006293

    oklch(47.4% 0.11 240.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A21B56

    #A21B56

    oklch(47.3% 0.173 0.9)

  • #705900

    #705900

    oklch(47.4% 0.097 91.3)

  • #006B5E

    #006B5E

    oklch(47.3% 0.085 180.6)

  • #3B4DBB

    #3B4DBB

    oklch(47.3% 0.173 271.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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