#AF1818

Closest named color: Rufous (#AE2012). oklch(48.4% 0.184 27.7), rgb(175, 24, 24).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text2.96:1
White text7.07:1

Values

HEX#AF1818
RGBrgb(175, 24, 24)
HSLhsl(0, 76%, 39%)
OKLCHoklch(48.4% 0.184 27.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 #AF1818 7.07:1 AAA Lc -87.7 Fine for body text
Black text on #AF1818 2.96:1 Fails Lc 21.4 Dividers and decoration only
#AF1818 text on white 7.07:1 AAA Lc 82.6 Fine for body text
#AF1818 text on black 2.96:1 Fails Lc -19.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

    #FBE4E0

    oklch(93.6% 0.026 29.4)

  3. Step 200

    200

    #F8CDC7

    oklch(88.4% 0.05 27.4)

  4. Step 300

    300

    #F5ABA1

    oklch(80.9% 0.089 27.7)

  5. Step 400

    400

    #EC7A6E

    oklch(70.6% 0.143 27.5)

  6. Step 500

    500

    #E25247

    oklch(63.1% 0.181 27.8)

  7. Step 600

    600

    #CE2D28

    oklch(55.7% 0.198 27.8)

  8. Step 700

    700 (this color)

    #AF1818

    oklch(48.4% 0.184 27.7)

  9. Step 800

    800

    #901C19

    oklch(42.7% 0.152 27.6)

  10. Step 900

    900

    #741F1A

    oklch(37.7% 0.12 27.7)

  11. Step 950

    950

    #441410

    oklch(26.9% 0.075 27.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF1818 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)#4C44150.201
Deuteranopia (no green cones)#70640D0.182
Tritanopia (no blue cones)#C1001B0.036
Achromatopsia (no color)#5858580.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1818

    #AF1818

    oklch(48.4% 0.184 27.7)

  • #006B77

    #006B77

    oklch(48.3% 0.083 208.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1818

    #AF1818

    oklch(48.4% 0.184 27.7)

  • #A8165F

    #A8165F

    oklch(48.4% 0.185 357.6)

  • #8E4A00

    #8E4A00

    oklch(48.3% 0.117 57.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF1818

    #AF1818

    oklch(48.4% 0.184 27.7)

  • #006F5E

    #006F5E

    oklch(48.4% 0.09 177.2)

  • #006693

    #006693

    oklch(48.4% 0.106 237.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1818

    #AF1818

    oklch(48.4% 0.184 27.7)

  • #00732A

    #00732A

    oklch(48.4% 0.141 147.7)

  • #3351C5

    #3351C5

    oklch(48.5% 0.184 267.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1818

    #AF1818

    oklch(48.4% 0.184 27.7)

  • #5A6600

    #5A6600

    oklch(48.3% 0.112 117.5)

  • #006B77

    #006B77

    oklch(48.3% 0.083 208.3)

  • #6E3CB7

    #6E3CB7

    oklch(48.4% 0.184 297.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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