#AF0318

Closest named color: Rufous (#AE2012). oklch(47.6% 0.192 25.7), rgb(175, 3, 24).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.192)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text2.84:1
White text7.37:1

Values

HEX#AF0318
RGBrgb(175, 3, 24)
HSLhsl(353, 97%, 35%)
OKLCHoklch(47.6% 0.192 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 #AF0318 7.37:1 AAA Lc -88.1 Fine for body text
Black text on #AF0318 2.84:1 Fails Lc 21.0 Dividers and decoration only
#AF0318 text on white 7.37:1 AAA Lc 83.1 Fine for body text
#AF0318 text on black 2.84:1 Fails Lc -18.9 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE3E1

    oklch(93.6% 0.028 23.2)

  3. Step 200

    200

    #FACDC8

    oklch(88.6% 0.052 25.6)

  4. Step 300

    300

    #F7A9A2

    oklch(80.8% 0.093 25)

  5. Step 400

    400

    #EF786F

    oklch(70.8% 0.148 25.9)

  6. Step 500

    500

    #E64D49

    oklch(63.2% 0.19 25.7)

  7. Step 600

    600

    #D1242A

    oklch(55.6% 0.206 25.9)

  8. Step 700

    700 (this color)

    #AF0318

    oklch(47.6% 0.192 25.7)

  9. Step 800

    800

    #92151A

    oklch(42.6% 0.159 25.8)

  10. Step 900

    900

    #761C1C

    oklch(37.8% 0.124 25.5)

  11. Step 950

    950

    #451311

    oklch(27% 0.077 26)

Export this scale for Tailwind in the Tailwind colors tool

#AF0318 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)#4840160.212
Deuteranopia (no green cones)#6E620C0.192
Tritanopia (no blue cones)#C200110.040
Achromatopsia (no color)#5656560.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0318

    #AF0318

    oklch(47.6% 0.192 25.7)

  • #006973

    #006973

    oklch(47.6% 0.081 206.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0318

    #AF0318

    oklch(47.6% 0.192 25.7)

  • #A60660

    #A60660

    oklch(47.5% 0.192 355.8)

  • #8C4700

    #8C4700

    oklch(47.5% 0.116 55.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF0318

    #AF0318

    oklch(47.6% 0.192 25.7)

  • #006C5A

    #006C5A

    oklch(47.5% 0.089 175.9)

  • #00648E

    #00648E

    oklch(47.6% 0.102 236.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0318

    #AF0318

    oklch(47.6% 0.192 25.7)

  • #00701F

    #00701F

    oklch(47.4% 0.146 145.7)

  • #284EC6

    #284EC6

    oklch(47.5% 0.192 265.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0318

    #AF0318

    oklch(47.6% 0.192 25.7)

  • #5A6300

    #5A6300

    oklch(47.5% 0.108 115.8)

  • #006973

    #006973

    oklch(47.6% 0.081 206.2)

  • #6938B9

    #6938B9

    oklch(47.5% 0.191 295.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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