#AF1531

Closest named color: Rouge (#AB1239). oklch(48.5% 0.184 19.6), rgb(175, 21, 49).

Aa

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

About this color

#AF1531 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.184 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.015 away. White text reads best on it, at 7.06:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.97:1
White text7.06:1

Values

HEX#AF1531
RGBrgb(175, 21, 49)
HSLhsl(349, 79%, 38%)
OKLCHoklch(48.5% 0.184 19.6)

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 #AF1531 7.06:1 AAA Lc -87.6 Fine for body text
Black text on #AF1531 2.97:1 Fails Lc 21.5 Dividers and decoration only
#AF1531 text on white 7.06:1 AAA Lc 82.5 Fine for body text
#AF1531 text on black 2.97:1 Fails Lc -19.4 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

    #FDF2F2

    oklch(97% 0.012 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F8CDCC

    oklch(88.5% 0.049 19.7)

  4. Step 300

    300

    #F5AAA9

    oklch(81% 0.089 20)

  5. Step 400

    400

    #EC797C

    oklch(70.8% 0.142 19.7)

  6. Step 500

    500

    #E24F5B

    oklch(63.1% 0.182 19.4)

  7. Step 600

    600

    #CD2941

    oklch(55.5% 0.197 19.4)

  8. Step 700

    700 (this color)

    #AF1531

    oklch(48.5% 0.184 19.6)

  9. Step 800

    800

    #90192A

    oklch(42.7% 0.153 19.8)

  10. Step 900

    900

    #741E26

    oklch(37.8% 0.119 20)

  11. Step 950

    950

    #441317

    oklch(26.9% 0.075 19)

Export this scale for Tailwind in the Tailwind colors tool

#AF1531 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)#4944310.204
Deuteranopia (no green cones)#6E642C0.187
Tritanopia (no blue cones)#C100230.038
Achromatopsia (no color)#5858580.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1531

    #AF1531

    oklch(48.5% 0.184 19.6)

  • #006D71

    #006D71

    oklch(48.6% 0.083 199.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1531

    #AF1531

    oklch(48.5% 0.184 19.6)

  • #A31C6E

    #A31C6E

    oklch(48.5% 0.183 349.5)

  • #964400

    #964400

    oklch(48.5% 0.128 50)

Open the analogous palette in the generator

Split complementary

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

  • #AF1531

    #AF1531

    oklch(48.5% 0.184 19.6)

  • #007056

    #007056

    oklch(48.5% 0.096 169.6)

  • #00688B

    #00688B

    oklch(48.5% 0.097 230.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1531

    #AF1531

    oklch(48.5% 0.184 19.6)

  • #227200

    #227200

    oklch(48.4% 0.155 139.6)

  • #0D57C4

    #0D57C4

    oklch(48.5% 0.184 259.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1531

    #AF1531

    oklch(48.5% 0.184 19.6)

  • #646300

    #646300

    oklch(48.5% 0.105 109.1)

  • #006D71

    #006D71

    oklch(48.6% 0.083 199.2)

  • #6242BD

    #6242BD

    oklch(48.5% 0.183 289.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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