#AF1C04

Closest named color: Rufous (#AE2012). oklch(48.5% 0.183 31.5), rgb(175, 28, 4).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.183)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text2.99:1
White text7.02:1

Values

HEX#AF1C04
RGBrgb(175, 28, 4)
HSLhsl(8, 96%, 35%)
OKLCHoklch(48.5% 0.183 31.5)

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 #AF1C04 7.02:1 AAA Lc -87.5 Fine for body text
Black text on #AF1C04 2.99:1 Fails Lc 21.6 Dividers and decoration only
#AF1C04 text on white 7.02:1 AAA Lc 82.5 Fine for body text
#AF1C04 text on black 2.99:1 Fails Lc -19.5 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

    #FBE4DF

    oklch(93.6% 0.026 32.2)

  3. Step 200

    200

    #F8CEC5

    oklch(88.5% 0.049 32.1)

  4. Step 300

    300

    #F4AC9D

    oklch(80.9% 0.088 32.1)

  5. Step 400

    400

    #EB7C67

    oklch(70.7% 0.141 32)

  6. Step 500

    500

    #E2543D

    oklch(63.2% 0.181 31.6)

  7. Step 600

    600

    #CD2F18

    oklch(55.5% 0.197 31.4)

  8. Step 700

    700 (this color)

    #AF1C04

    oklch(48.5% 0.183 31.5)

  9. Step 800

    800

    #901E0D

    oklch(42.8% 0.152 31.5)

  10. Step 900

    900

    #732114

    oklch(37.6% 0.117 31.7)

  11. Step 950

    950

    #44150D

    oklch(27% 0.075 31.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF1C04 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)#4F44000.196
Deuteranopia (no green cones)#7264000.175
Tritanopia (no blue cones)#C2001A0.042
Achromatopsia (no color)#5959590.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1C04

    #AF1C04

    oklch(48.5% 0.183 31.5)

  • #006B7A

    #006B7A

    oklch(48.4% 0.084 211.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1C04

    #AF1C04

    oklch(48.5% 0.183 31.5)

  • #AA1658

    #AA1658

    oklch(48.6% 0.184 1.5)

  • #8B4D00

    #8B4D00

    oklch(48.4% 0.112 61.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF1C04

    #AF1C04

    oklch(48.5% 0.183 31.5)

  • #006F62

    #006F62

    oklch(48.6% 0.088 181)

  • #006599

    #006599

    oklch(48.5% 0.114 241.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1C04

    #AF1C04

    oklch(48.5% 0.183 31.5)

  • #007337

    #007337

    oklch(48.6% 0.129 151.5)

  • #3E4FC4

    #3E4FC4

    oklch(48.6% 0.182 271.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1C04

    #AF1C04

    oklch(48.5% 0.183 31.5)

  • #556800

    #556800

    oklch(48.4% 0.117 121.3)

  • #006B7A

    #006B7A

    oklch(48.4% 0.084 211.5)

  • #733AB3

    #733AB3

    oklch(48.4% 0.183 301.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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