#AF1831

Closest named color: Rouge (#AB1239). oklch(48.7% 0.182 20), rgb(175, 24, 49).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.182)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.99:1
White text7.00:1

Values

HEX#AF1831
RGBrgb(175, 24, 49)
HSLhsl(350, 76%, 39%)
OKLCHoklch(48.7% 0.182 20)

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 #AF1831 7.00:1 AAA Lc -87.5 Fine for body text
Black text on #AF1831 2.99:1 Fails Lc 21.6 Dividers and decoration only
#AF1831 text on white 7.00:1 AAA Lc 82.4 Fine for body text
#AF1831 text on black 2.99:1 Fails Lc -19.5 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

    #FBE4E3

    oklch(93.7% 0.025 20.6)

  3. Step 200

    200

    #F8CDCC

    oklch(88.5% 0.049 19.7)

  4. Step 300

    300

    #F4AAA9

    oklch(80.8% 0.088 20)

  5. Step 400

    400

    #EB797C

    oklch(70.7% 0.141 19.7)

  6. Step 500

    500

    #E1505A

    oklch(63% 0.18 20)

  7. Step 600

    600

    #CD2B40

    oklch(55.7% 0.196 20.1)

  8. Step 700

    700 (this color)

    #AF1831

    oklch(48.7% 0.182 20)

  9. Step 800

    800

    #8F1B2A

    oklch(42.7% 0.15 20.1)

  10. Step 900

    900

    #731F26

    oklch(37.7% 0.117 20.3)

  11. Step 950

    950

    #441417

    oklch(27.1% 0.074 19.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF1831 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)#4A45310.202
Deuteranopia (no green cones)#6F642C0.183
Tritanopia (no blue cones)#C100240.037
Achromatopsia (no color)#5959590.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1831

    #AF1831

    oklch(48.7% 0.182 20)

  • #006D72

    #006D72

    oklch(48.6% 0.083 200.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1831

    #AF1831

    oklch(48.7% 0.182 20)

  • #A41E6E

    #A41E6E

    oklch(48.8% 0.182 349.9)

  • #974400

    #974400

    oklch(48.7% 0.129 49.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF1831

    #AF1831

    oklch(48.7% 0.182 20)

  • #007157

    #007157

    oklch(48.8% 0.097 169.7)

  • #00698C

    #00698C

    oklch(48.8% 0.097 230.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1831

    #AF1831

    oklch(48.7% 0.182 20)

  • #207300

    #207300

    oklch(48.7% 0.157 140)

  • #1257C4

    #1257C4

    oklch(48.6% 0.183 260.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1831

    #AF1831

    oklch(48.7% 0.182 20)

  • #646400

    #646400

    oklch(48.7% 0.106 109.8)

  • #006D72

    #006D72

    oklch(48.6% 0.083 200.4)

  • #6343BD

    #6343BD

    oklch(48.8% 0.182 290.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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