#A21B52

Closest named color: Violet Red (#A50055). oklch(47.2% 0.172 3), rgb(162, 27, 82).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.172)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text2.81:1
White text7.46:1

Values

HEX#A21B52
RGBrgb(162, 27, 82)
HSLhsl(336, 71%, 37%)
OKLCHoklch(47.2% 0.172 3)

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 #A21B52 7.46:1 AAA Lc -89.3 Fine for body text
Black text on #A21B52 2.81:1 Fails Lc 19.7 Dividers and decoration only
#A21B52 text on white 7.46:1 AAA Lc 84.4 Fine for body text
#A21B52 text on black 2.81:1 Fails Lc -17.6 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E4E8

    oklch(93.7% 0.024 4.5)

  3. Step 200

    200

    #F5CDD6

    oklch(88.5% 0.046 2.9)

  4. Step 300

    300

    #EFAABB

    oklch(80.8% 0.084 2.9)

  5. Step 400

    400

    #E47B99

    oklch(70.8% 0.133 2.8)

  6. Step 500

    500

    #D9547F

    oklch(63.1% 0.171 3.3)

  7. Step 600

    600

    #C43369

    oklch(55.7% 0.185 3)

  8. Step 700

    700 (this color)

    #A21B52

    oklch(47.2% 0.172 3)

  9. Step 800

    800

    #892047

    oklch(42.7% 0.143 3.2)

  10. Step 900

    900

    #6E213C

    oklch(37.6% 0.111 2.6)

  11. Step 950

    950

    #411523

    oklch(27% 0.07 3.2)

Export this scale for Tailwind in the Tailwind colors tool

#A21B52 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)#3F44530.194
Deuteranopia (no green cones)#625E4F0.175
Tritanopia (no blue cones)#B100340.051
Achromatopsia (no color)#5555550.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #A21B52

    #A21B52

    oklch(47.2% 0.172 3)

  • #006A60

    #006A60

    oklch(47.1% 0.084 183.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A21B52

    #A21B52

    oklch(47.2% 0.172 3)

  • #8F2884

    #8F2884

    oklch(47.1% 0.173 332.6)

  • #A62103

    #A62103

    oklch(47.1% 0.172 32.9)

Open the analogous palette in the generator

Split complementary

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

  • #A21B52

    #A21B52

    oklch(47.2% 0.172 3)

  • #006E38

    #006E38

    oklch(47.2% 0.122 152.9)

  • #006777

    #006777

    oklch(47.2% 0.083 213.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A21B52

    #A21B52

    oklch(47.2% 0.172 3)

  • #4F6500

    #4F6500

    oklch(47.1% 0.116 123.2)

  • #006196

    #006196

    oklch(47.3% 0.114 242.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A21B52

    #A21B52

    oklch(47.2% 0.172 3)

  • #6E5900

    #6E5900

    oklch(47.1% 0.097 92.9)

  • #006A60

    #006A60

    oklch(47.1% 0.084 183.6)

  • #3F4CBA

    #3F4CBA

    oklch(47.3% 0.172 272.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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