#A21818

Closest named color: Auburn (#9B2226). oklch(45.9% 0.172 27.4), rgb(162, 24, 24).

Aa

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

About this color

#A21818 is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.172 and its hue 27°. Its hue sits on the warm side of the wheel. The nearest named color is Auburn (#9B2226), ΔE 0.018 away. White text reads best on it, at 7.83:1.

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.172)
Temperaturewarm
Nearest nameAuburn (#9B2226)
Black text2.68:1
White text7.83:1

Values

HEX#A21818
RGBrgb(162, 24, 24)
HSLhsl(0, 74%, 36%)
OKLCHoklch(45.9% 0.172 27.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 #A21818 7.83:1 AAA Lc -90.3 Preferred for body text
Black text on #A21818 2.68:1 Fails Lc 18.6 Dividers and decoration only
#A21818 text on white 7.83:1 AAA Lc 85.4 Fine for body text
#A21818 text on black 2.68: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

    #FEF2F0

    oklch(97% 0.013 28.9)

  2. Step 100

    100

    #FDE3DF

    oklch(93.6% 0.029 28.1)

  3. Step 200

    200

    #FCCCC5

    oklch(88.5% 0.056 27.9)

  4. Step 300

    300

    #FBA89D

    oklch(81% 0.1 27.8)

  5. Step 400

    400

    #F47367

    oklch(70.6% 0.161 27.3)

  6. Step 500

    500

    #EC443C

    oklch(63.1% 0.206 27.5)

  7. Step 600

    600

    #D70A17

    oklch(55.5% 0.223 27.4)

  8. Step 700

    700

    #B7000F

    oklch(49% 0.2 27.4)

  9. Step 800

    800 (this color)

    #A21818

    oklch(45.9% 0.172 27.4)

  10. Step 900

    900

    #791614

    oklch(37.7% 0.134 27.3)

  11. Step 950

    950

    #47100D

    oklch(26.9% 0.084 27.4)

Export this scale for Tailwind in the Tailwind colors tool

#A21818 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)#473F160.187
Deuteranopia (no green cones)#685C0F0.169
Tritanopia (no blue cones)#B3001B0.035
Achromatopsia (no color)#5252520.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #A21818

    #A21818

    oklch(45.9% 0.172 27.4)

  • #00646E

    #00646E

    oklch(46% 0.079 206.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A21818

    #A21818

    oklch(45.9% 0.172 27.4)

  • #9B1758

    #9B1758

    oklch(45.9% 0.172 357.5)

  • #844500

    #844500

    oklch(45.9% 0.11 57.8)

Open the analogous palette in the generator

Split complementary

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

  • #A21818

    #A21818

    oklch(45.9% 0.172 27.4)

  • #006757

    #006757

    oklch(45.9% 0.085 177.1)

  • #005F89

    #005F89

    oklch(46% 0.101 237.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A21818

    #A21818

    oklch(45.9% 0.172 27.4)

  • #006B25

    #006B25

    oklch(46% 0.135 147.3)

  • #2E4BB6

    #2E4BB6

    oklch(45.8% 0.173 267.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A21818

    #A21818

    oklch(45.9% 0.172 27.4)

  • #545F00

    #545F00

    oklch(46% 0.106 117.3)

  • #00646E

    #00646E

    oklch(46% 0.079 206.7)

  • #6538A9

    #6538A9

    oklch(45.8% 0.172 297.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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