#AF151C

Closest named color: Rufous (#AE2012). oklch(48.3% 0.185 26.3), rgb(175, 21, 28).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.185)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text2.94:1
White text7.12:1

Values

HEX#AF151C
RGBrgb(175, 21, 28)
HSLhsl(357, 79%, 38%)
OKLCHoklch(48.3% 0.185 26.3)

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 #AF151C 7.12:1 AAA Lc -87.8 Fine for body text
Black text on #AF151C 2.94:1 Fails Lc 21.3 Dividers and decoration only
#AF151C text on white 7.12:1 AAA Lc 82.7 Fine for body text
#AF151C text on black 2.94:1 Fails Lc -19.2 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

    #F9CDC8

    oklch(88.5% 0.05 25.7)

  4. Step 300

    300

    #F5AAA2

    oklch(80.8% 0.09 26)

  5. Step 400

    400

    #EC7A70

    oklch(70.7% 0.142 26.5)

  6. Step 500

    500

    #E3514A

    oklch(63.2% 0.183 26.4)

  7. Step 600

    600

    #CE2B2C

    oklch(55.6% 0.199 26.4)

  8. Step 700

    700 (this color)

    #AF151C

    oklch(48.3% 0.185 26.3)

  9. Step 800

    800

    #901A1C

    oklch(42.6% 0.153 26)

  10. Step 900

    900

    #741F1C

    oklch(37.7% 0.119 26.6)

  11. Step 950

    950

    #441411

    oklch(26.9% 0.075 26.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF151C 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)#4B431A0.203
Deuteranopia (no green cones)#7063130.183
Tritanopia (no blue cones)#C1001B0.036
Achromatopsia (no color)#5858580.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF151C

    #AF151C

    oklch(48.3% 0.185 26.3)

  • #006B75

    #006B75

    oklch(48.2% 0.082 206.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF151C

    #AF151C

    oklch(48.3% 0.185 26.3)

  • #A71561

    #A71561

    oklch(48.3% 0.185 356.3)

  • #8F4900

    #8F4900

    oklch(48.3% 0.118 56)

Open the analogous palette in the generator

Split complementary

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

  • #AF151C

    #AF151C

    oklch(48.3% 0.185 26.3)

  • #006F5D

    #006F5D

    oklch(48.4% 0.09 176.3)

  • #006691

    #006691

    oklch(48.3% 0.104 236.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF151C

    #AF151C

    oklch(48.3% 0.185 26.3)

  • #007323

    #007323

    oklch(48.4% 0.147 146.2)

  • #2E51C5

    #2E51C5

    oklch(48.3% 0.185 266.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF151C

    #AF151C

    oklch(48.3% 0.185 26.3)

  • #5B6500

    #5B6500

    oklch(48.1% 0.11 116.3)

  • #006B75

    #006B75

    oklch(48.2% 0.082 206.1)

  • #6B3CB8

    #6B3CB8

    oklch(48.2% 0.185 296.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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