#AF0D31

Closest named color: Rouge (#AB1239). oklch(48.2% 0.187 18.9), rgb(175, 13, 49).

Aa

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

About this color

#AF0D31 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.187 and its hue 19°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.013 away. White text reads best on it, at 7.18:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.187)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.92:1
White text7.18:1

Values

HEX#AF0D31
RGBrgb(175, 13, 49)
HSLhsl(347, 86%, 37%)
OKLCHoklch(48.2% 0.187 18.9)

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 #AF0D31 7.18:1 AAA Lc -87.8 Fine for body text
Black text on #AF0D31 2.92:1 Fails Lc 21.3 Dividers and decoration only
#AF0D31 text on white 7.18:1 AAA Lc 82.8 Fine for body text
#AF0D31 text on black 2.92: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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F9CDCC

    oklch(88.6% 0.05 19.7)

  4. Step 300

    300

    #F6A9AA

    oklch(80.9% 0.091 18.4)

  5. Step 400

    400

    #ED777C

    oklch(70.6% 0.146 18.9)

  6. Step 500

    500

    #E34D5B

    oklch(63% 0.185 18.9)

  7. Step 600

    600

    #CF2642

    oklch(55.7% 0.201 18.8)

  8. Step 700

    700 (this color)

    #AF0D31

    oklch(48.2% 0.187 18.9)

  9. Step 800

    800

    #91172B

    oklch(42.8% 0.155 19)

  10. Step 900

    900

    #741D27

    oklch(37.7% 0.12 18.9)

  11. Step 950

    950

    #451317

    oklch(27.1% 0.077 19.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF0D31 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)#4742310.209
Deuteranopia (no green cones)#6D632C0.190
Tritanopia (no blue cones)#C100200.040
Achromatopsia (no color)#5757570.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0D31

    #AF0D31

    oklch(48.2% 0.187 18.9)

  • #006C6F

    #006C6F

    oklch(48.2% 0.082 198.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0D31

    #AF0D31

    oklch(48.2% 0.187 18.9)

  • #A3176F

    #A3176F

    oklch(48.2% 0.188 348.7)

  • #964200

    #964200

    oklch(48.2% 0.13 48.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF0D31

    #AF0D31

    oklch(48.2% 0.187 18.9)

  • #006F54

    #006F54

    oklch(48.1% 0.097 168.6)

  • #006788

    #006788

    oklch(48% 0.095 229)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0D31

    #AF0D31

    oklch(48.2% 0.187 18.9)

  • #267100

    #267100

    oklch(48.3% 0.152 139)

  • #0056C4

    #0056C4

    oklch(48.1% 0.186 258.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0D31

    #AF0D31

    oklch(48.2% 0.187 18.9)

  • #636200

    #636200

    oklch(48.1% 0.104 109.1)

  • #006C6F

    #006C6F

    oklch(48.2% 0.082 198.2)

  • #6040BE

    #6040BE

    oklch(48.1% 0.187 289.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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