#AF0F36

Closest named color: Rouge (#AB1239). oklch(48.3% 0.186 17.1), rgb(175, 15, 54).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.186)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.94:1
White text7.13:1

Values

HEX#AF0F36
RGBrgb(175, 15, 54)
HSLhsl(345, 84%, 37%)
OKLCHoklch(48.3% 0.186 17.1)

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 #AF0F36 7.13:1 AAA Lc -87.7 Fine for body text
Black text on #AF0F36 2.94:1 Fails Lc 21.4 Dividers and decoration only
#AF0F36 text on white 7.13:1 AAA Lc 82.6 Fine for body text
#AF0F36 text on black 2.94: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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F9CCCD

    oklch(88.4% 0.051 16.7)

  4. Step 300

    300

    #F5A9AC

    oklch(80.9% 0.09 16.6)

  5. Step 400

    400

    #EC7780

    oklch(70.6% 0.144 16.7)

  6. Step 500

    500

    #E34D60

    oklch(63.1% 0.185 16.9)

  7. Step 600

    600

    #CE2647

    oklch(55.6% 0.2 16.9)

  8. Step 700

    700 (this color)

    #AF0F36

    oklch(48.3% 0.186 17.1)

  9. Step 800

    800

    #90172F

    oklch(42.7% 0.154 16.9)

  10. Step 900

    900

    #741D29

    oklch(37.7% 0.12 17.5)

  11. Step 950

    950

    #441319

    oklch(27% 0.075 16.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF0F36 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)#4743360.208
Deuteranopia (no green cones)#6D63310.189
Tritanopia (no blue cones)#C100230.042
Achromatopsia (no color)#5858580.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0F36

    #AF0F36

    oklch(48.3% 0.186 17.1)

  • #006D6F

    #006D6F

    oklch(48.5% 0.083 197)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0F36

    #AF0F36

    oklch(48.3% 0.186 17.1)

  • #A21A72

    #A21A72

    oklch(48.3% 0.186 347.2)

  • #984000

    #984000

    oklch(48.2% 0.134 46.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF0F36

    #AF0F36

    oklch(48.3% 0.186 17.1)

  • #007053

    #007053

    oklch(48.4% 0.099 167.3)

  • #006887

    #006887

    oklch(48.3% 0.093 227.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0F36

    #AF0F36

    oklch(48.3% 0.186 17.1)

  • #2F7000

    #2F7000

    oklch(48.3% 0.147 137.2)

  • #005ABD

    #005ABD

    oklch(48.4% 0.172 257)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0F36

    #AF0F36

    oklch(48.3% 0.186 17.1)

  • #666200

    #666200

    oklch(48.4% 0.104 106.9)

  • #006D6F

    #006D6F

    oklch(48.5% 0.083 197)

  • #5D42C0

    #5D42C0

    oklch(48.3% 0.187 287)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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