#AB202C

Closest named color: Brown (#A52A2A). oklch(48.4% 0.173 22.8), rgb(171, 32, 44).

Aa

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

About this color

#AB202C is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.173 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Brown (#A52A2A), ΔE 0.016 away. White text reads best on it, at 7.05:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.173)
Temperaturewarm
Nearest nameBrown (#A52A2A)
Black text2.97:1
White text7.05:1

Values

HEX#AB202C
RGBrgb(171, 32, 44)
HSLhsl(355, 68%, 40%)
OKLCHoklch(48.4% 0.173 22.8)

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 #AB202C 7.05:1 AAA Lc -87.9 Fine for body text
Black text on #AB202C 2.97:1 Fails Lc 21.2 Dividers and decoration only
#AB202C text on white 7.05:1 AAA Lc 82.9 Fine for body text
#AB202C text on black 2.97:1 Fails Lc -19.1 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

    #FDF3F2

    oklch(97.2% 0.011 24.3)

  2. Step 100

    100

    #FAE4E2

    oklch(93.6% 0.024 23.9)

  3. Step 200

    200

    #F7CECB

    oklch(88.6% 0.047 23)

  4. Step 300

    300

    #F2ACA7

    oklch(80.9% 0.083 23.6)

  5. Step 400

    400

    #E87C79

    oklch(70.7% 0.134 22.7)

  6. Step 500

    500

    #DE5557

    oklch(63.1% 0.172 22.6)

  7. Step 600

    600

    #C9333C

    oklch(55.5% 0.186 22.8)

  8. Step 700

    700 (this color)

    #AB202C

    oklch(48.4% 0.173 22.8)

  9. Step 800

    800

    #8D2027

    oklch(42.7% 0.144 22.7)

  10. Step 900

    900

    #712224

    oklch(37.6% 0.111 22.8)

  11. Step 950

    950

    #431515

    oklch(27% 0.072 23.2)

Export this scale for Tailwind in the Tailwind colors tool

#AB202C 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)#4C462B0.190
Deuteranopia (no green cones)#6E63270.173
Tritanopia (no blue cones)#BC00260.034
Achromatopsia (no color)#5858580.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB202C

    #AB202C

    oklch(48.4% 0.173 22.8)

  • #006C73

    #006C73

    oklch(48.4% 0.082 202.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB202C

    #AB202C

    oklch(48.4% 0.173 22.8)

  • #A22267

    #A22267

    oklch(48.4% 0.174 353.1)

  • #924600

    #924600

    oklch(48.2% 0.123 52.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB202C

    #AB202C

    oklch(48.4% 0.173 22.8)

  • #006F59

    #006F59

    oklch(48.3% 0.093 172.7)

  • #00678D

    #00678D

    oklch(48.3% 0.099 232.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB202C

    #AB202C

    oklch(48.4% 0.173 22.8)

  • #007405

    #007405

    oklch(48.5% 0.163 142.8)

  • #2556BF

    #2556BF

    oklch(48.4% 0.174 262.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB202C

    #AB202C

    oklch(48.4% 0.173 22.8)

  • #606400

    #606400

    oklch(48.3% 0.107 112.5)

  • #006C73

    #006C73

    oklch(48.4% 0.082 202.6)

  • #6642B5

    #6642B5

    oklch(48.3% 0.173 293.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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