#AB121C

Closest named color: Rufous (#AE2012). oklch(47.3% 0.183 25.8), rgb(171, 18, 28).

Aa

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

About this color

#AB121C is a medium-dark, vivid red. In OKLCH its lightness is 47%, its chroma 0.183 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Rufous (#AE2012), ΔE 0.019 away. White text reads best on it, at 7.40:1.

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.183)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text2.83:1
White text7.40:1

Values

HEX#AB121C
RGBrgb(171, 18, 28)
HSLhsl(356, 81%, 37%)
OKLCHoklch(47.3% 0.183 25.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 #AB121C 7.40:1 AAA Lc -88.7 Fine for body text
Black text on #AB121C 2.83:1 Fails Lc 20.3 Dividers and decoration only
#AB121C text on white 7.40:1 AAA Lc 83.7 Fine for body text
#AB121C text on black 2.83:1 Fails Lc -18.3 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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F8CDC8

    oklch(88.4% 0.049 25.9)

  4. Step 300

    300

    #F5ABA3

    oklch(81% 0.089 26.1)

  5. Step 400

    400

    #EC7A71

    oklch(70.7% 0.142 26)

  6. Step 500

    500

    #E2514C

    oklch(63% 0.182 25.7)

  7. Step 600

    600

    #CD2C2F

    oklch(55.5% 0.197 25.7)

  8. Step 700

    700 (this color)

    #AB121C

    oklch(47.3% 0.183 25.8)

  9. Step 800

    800

    #901C1E

    oklch(42.8% 0.151 25.7)

  10. Step 900

    900

    #741F1E

    oklch(37.7% 0.119 25.5)

  11. Step 950

    950

    #441412

    oklch(27% 0.075 25.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB121C 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)#49411A0.200
Deuteranopia (no green cones)#6D61130.182
Tritanopia (no blue cones)#BD00190.036
Achromatopsia (no color)#5555550.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB121C

    #AB121C

    oklch(47.3% 0.183 25.8)

  • #006872

    #006872

    oklch(47.3% 0.081 206.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB121C

    #AB121C

    oklch(47.3% 0.183 25.8)

  • #A3135F

    #A3135F

    oklch(47.4% 0.183 356)

  • #8B4700

    #8B4700

    oklch(47.3% 0.116 56.2)

Open the analogous palette in the generator

Split complementary

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

  • #AB121C

    #AB121C

    oklch(47.3% 0.183 25.8)

  • #006C5A

    #006C5A

    oklch(47.5% 0.089 175.9)

  • #00638D

    #00638D

    oklch(47.3% 0.102 236.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB121C

    #AB121C

    oklch(47.3% 0.183 25.8)

  • #007020

    #007020

    oklch(47.4% 0.145 145.9)

  • #2A4FC1

    #2A4FC1

    oklch(47.4% 0.184 265.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB121C

    #AB121C

    oklch(47.3% 0.183 25.8)

  • #596200

    #596200

    oklch(47.2% 0.108 115.8)

  • #006872

    #006872

    oklch(47.3% 0.081 206.3)

  • #683AB4

    #683AB4

    oklch(47.3% 0.183 295.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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