#AF121D

Closest named color: Rufous (#AE2012). oklch(48.1% 0.186 25.7), rgb(175, 18, 29).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.186)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text2.92:1
White text7.17:1

Values

HEX#AF121D
RGBrgb(175, 18, 29)
HSLhsl(356, 81%, 38%)
OKLCHoklch(48.1% 0.186 25.7)

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 #AF121D 7.17:1 AAA Lc -87.9 Fine for body text
Black text on #AF121D 2.92:1 Fails Lc 21.2 Dividers and decoration only
#AF121D text on white 7.17:1 AAA Lc 82.8 Fine for body text
#AF121D text on black 2.92: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

    #FEF3F1

    oklch(97.2% 0.012 29.9)

  2. Step 100

    100

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F9CDC8

    oklch(88.5% 0.05 25.7)

  4. Step 300

    300

    #F6AAA2

    oklch(80.9% 0.091 25.9)

  5. Step 400

    400

    #ED7971

    oklch(70.7% 0.144 25.4)

  6. Step 500

    500

    #E3504B

    oklch(63.1% 0.184 25.8)

  7. Step 600

    600

    #CF292D

    oklch(55.6% 0.201 25.8)

  8. Step 700

    700 (this color)

    #AF121D

    oklch(48.1% 0.186 25.7)

  9. Step 800

    800

    #91191D

    oklch(42.7% 0.155 25.5)

  10. Step 900

    900

    #741E1D

    oklch(37.6% 0.12 25.6)

  11. Step 950

    950

    #451412

    oklch(27.2% 0.076 25.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF121D 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)#4A421B0.205
Deuteranopia (no green cones)#6F63140.186
Tritanopia (no blue cones)#C100190.036
Achromatopsia (no color)#5757570.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF121D

    #AF121D

    oklch(48.1% 0.186 25.7)

  • #006B74

    #006B74

    oklch(48.2% 0.082 205)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF121D

    #AF121D

    oklch(48.1% 0.186 25.7)

  • #A71362

    #A71362

    oklch(48.2% 0.187 355.7)

  • #8F4800

    #8F4800

    oklch(48.1% 0.119 55.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF121D

    #AF121D

    oklch(48.1% 0.186 25.7)

  • #006E5C

    #006E5C

    oklch(48.1% 0.09 176.1)

  • #006690

    #006690

    oklch(48.2% 0.103 235.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF121D

    #AF121D

    oklch(48.1% 0.186 25.7)

  • #007220

    #007220

    oklch(48% 0.148 145.7)

  • #2B51C5

    #2B51C5

    oklch(48.1% 0.186 265.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF121D

    #AF121D

    oklch(48.1% 0.186 25.7)

  • #5C6500

    #5C6500

    oklch(48.2% 0.11 115.7)

  • #006B74

    #006B74

    oklch(48.2% 0.082 205)

  • #6A3CB9

    #6A3CB9

    oklch(48.2% 0.186 295.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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