#AF1131

Closest named color: Rouge (#AB1239). oklch(48.3% 0.186 19.2), rgb(175, 17, 49).

Aa

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

About this color

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

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

Values

HEX#AF1131
RGBrgb(175, 17, 49)
HSLhsl(348, 82%, 38%)
OKLCHoklch(48.3% 0.186 19.2)

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

    #F9CDCC

    oklch(88.6% 0.05 19.7)

  4. Step 300

    300

    #F5A9A9

    oklch(80.8% 0.09 19.2)

  5. Step 400

    400

    #EC787C

    oklch(70.6% 0.143 19.3)

  6. Step 500

    500

    #E34E5B

    oklch(63.1% 0.184 19.2)

  7. Step 600

    600

    #CE2741

    oklch(55.6% 0.2 19.2)

  8. Step 700

    700 (this color)

    #AF1131

    oklch(48.3% 0.186 19.2)

  9. Step 800

    800

    #90182B

    oklch(42.6% 0.153 19.1)

  10. Step 900

    900

    #741D27

    oklch(37.7% 0.12 18.9)

  11. Step 950

    950

    #441317

    oklch(26.9% 0.075 19)

Export this scale for Tailwind in the Tailwind colors tool

#AF1131 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)#4843310.207
Deuteranopia (no green cones)#6E632C0.187
Tritanopia (no blue cones)#C100210.039
Achromatopsia (no color)#5858580.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1131

    #AF1131

    oklch(48.3% 0.186 19.2)

  • #006C70

    #006C70

    oklch(48.3% 0.082 199.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1131

    #AF1131

    oklch(48.3% 0.186 19.2)

  • #A31A6E

    #A31A6E

    oklch(48.3% 0.185 349.4)

  • #964300

    #964300

    oklch(48.4% 0.129 49.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF1131

    #AF1131

    oklch(48.3% 0.186 19.2)

  • #007055

    #007055

    oklch(48.4% 0.097 168.8)

  • #006889

    #006889

    oklch(48.4% 0.095 228.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1131

    #AF1131

    oklch(48.3% 0.186 19.2)

  • #257100

    #257100

    oklch(48.2% 0.152 139.1)

  • #0557C4

    #0557C4

    oklch(48.4% 0.184 259.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1131

    #AF1131

    oklch(48.3% 0.186 19.2)

  • #636300

    #636300

    oklch(48.4% 0.105 109.8)

  • #006C70

    #006C70

    oklch(48.3% 0.082 199.3)

  • #6141BE

    #6141BE

    oklch(48.4% 0.186 289.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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