#AF1540

Closest named color: Rouge (#AB1239). oklch(48.8% 0.184 13.5), rgb(175, 21, 64).

Aa

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

About this color

#AF1540 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.184 and its hue 14°. 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 6.99:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text3.00:1
White text6.99:1

Values

HEX#AF1540
RGBrgb(175, 21, 64)
HSLhsl(343, 79%, 38%)
OKLCHoklch(48.8% 0.184 13.5)

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 #AF1540 6.99:1 AA Lc -87.4 Fine for body text
Black text on #AF1540 3.00:1 AA large text Lc 21.7 Dividers and decoration only
#AF1540 text on white 6.99:1 AA Lc 82.3 Fine for body text
#AF1540 text on black 3.00:1 AA large text Lc -19.6 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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FBE3E5

    oklch(93.6% 0.026 11.9)

  3. Step 200

    200

    #F8CCCF

    oklch(88.4% 0.05 13.5)

  4. Step 300

    300

    #F4A9B0

    oklch(80.9% 0.089 13.1)

  5. Step 400

    400

    #EB7886

    oklch(70.7% 0.142 13.8)

  6. Step 500

    500

    #E14E68

    oklch(63.1% 0.182 13.6)

  7. Step 600

    600

    #CC2850

    oklch(55.6% 0.198 13.5)

  8. Step 700

    700 (this color)

    #AF1540

    oklch(48.8% 0.184 13.5)

  9. Step 800

    800

    #8F1836

    oklch(42.7% 0.153 13.2)

  10. Step 900

    900

    #731D2E

    oklch(37.7% 0.119 13.7)

  11. Step 950

    950

    #44131B

    oklch(27% 0.075 14)

Export this scale for Tailwind in the Tailwind colors tool

#AF1540 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)#4745400.206
Deuteranopia (no green cones)#6D643C0.187
Tritanopia (no blue cones)#C0002A0.042
Achromatopsia (no color)#5959590.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1540

    #AF1540

    oklch(48.8% 0.184 13.5)

  • #006E6D

    #006E6D

    oklch(48.7% 0.083 193.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1540

    #AF1540

    oklch(48.8% 0.184 13.5)

  • #A0217A

    #A0217A

    oklch(48.8% 0.184 343.3)

  • #9F3C00

    #9F3C00

    oklch(48.8% 0.144 43.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF1540

    #AF1540

    oklch(48.8% 0.184 13.5)

  • #00724F

    #00724F

    oklch(48.9% 0.105 163.5)

  • #006A86

    #006A86

    oklch(48.7% 0.092 224.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1540

    #AF1540

    oklch(48.8% 0.184 13.5)

  • #3D6F00

    #3D6F00

    oklch(48.7% 0.138 133.4)

  • #005FB3

    #005FB3

    oklch(48.8% 0.153 253.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1540

    #AF1540

    oklch(48.8% 0.184 13.5)

  • #6A6200

    #6A6200

    oklch(48.8% 0.103 104)

  • #006E6D

    #006E6D

    oklch(48.7% 0.083 193.7)

  • #5847C2

    #5847C2

    oklch(48.8% 0.184 283.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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