#A21031

Closest named color: Rouge (#AB1239). oklch(45.8% 0.175 17.5), rgb(162, 16, 49).

Aa

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

About this color

#A21031 is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.175 and its hue 18°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.022 away. White text reads best on it, at 7.91:1.

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.65:1
White text7.91:1

Values

HEX#A21031
RGBrgb(162, 16, 49)
HSLhsl(346, 82%, 35%)
OKLCHoklch(45.8% 0.175 17.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 #A21031 7.91:1 AAA Lc -90.3 Preferred for body text
Black text on #A21031 2.65:1 Fails Lc 18.5 Dividers and decoration only
#A21031 text on white 7.91:1 AAA Lc 85.5 Fine for body text
#A21031 text on black 2.65:1 Fails Lc -16.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 800.

  1. Step 50

    50

    #FFF2F2

    oklch(97.1% 0.014 17.4)

  2. Step 100

    100

    #FDE2E3

    oklch(93.5% 0.03 15.1)

  3. Step 200

    200

    #FDCBCB

    oklch(88.6% 0.057 18.3)

  4. Step 300

    300

    #FCA6A8

    oklch(81% 0.102 18)

  5. Step 400

    400

    #F5707A

    oklch(70.7% 0.163 17.6)

  6. Step 500

    500

    #EC3F59

    oklch(63.1% 0.208 17.4)

  7. Step 600

    600

    #D6003F

    oklch(55.5% 0.222 17.7)

  8. Step 700

    700

    #B50034

    oklch(49% 0.196 17.6)

  9. Step 800

    800 (this color)

    #A21031

    oklch(45.8% 0.175 17.5)

  10. Step 900

    900

    #791225

    oklch(37.6% 0.136 17.6)

  11. Step 950

    950

    #480E16

    oklch(27% 0.087 17.7)

Export this scale for Tailwind in the Tailwind colors tool

#A21031 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)#423E310.195
Deuteranopia (no green cones)#655C2C0.178
Tritanopia (no blue cones)#B200200.037
Achromatopsia (no color)#5151510.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #A21031

    #A21031

    oklch(45.8% 0.175 17.5)

  • #006467

    #006467

    oklch(45.7% 0.078 198.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A21031

    #A21031

    oklch(45.8% 0.175 17.5)

  • #961969

    #961969

    oklch(45.8% 0.175 347.5)

  • #8D3C00

    #8D3C00

    oklch(45.8% 0.125 47.7)

Open the analogous palette in the generator

Split complementary

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

  • #A21031

    #A21031

    oklch(45.8% 0.175 17.5)

  • #00684D

    #00684D

    oklch(45.9% 0.094 167.4)

  • #00607E

    #00607E

    oklch(45.7% 0.089 228.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A21031

    #A21031

    oklch(45.8% 0.175 17.5)

  • #296800

    #296800

    oklch(45.8% 0.14 137.6)

  • #0052B1

    #0052B1

    oklch(45.7% 0.166 257.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A21031

    #A21031

    oklch(45.8% 0.175 17.5)

  • #5E5B00

    #5E5B00

    oklch(45.9% 0.099 107.5)

  • #006467

    #006467

    oklch(45.7% 0.078 198.4)

  • #573DB1

    #573DB1

    oklch(45.8% 0.175 287.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #A21031.

Similar named colors

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

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