#AF2E45

Closest named color: Rouge (#AB1239). oklch(50.7% 0.165 15.4), rgb(175, 46, 69).

Aa

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

About this color

#AF2E45 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.165 and its hue 15°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.034 away. White text reads best on it, at 6.36:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.165)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text3.29:1
White text6.36:1

Values

HEX#AF2E45
RGBrgb(175, 46, 69)
HSLhsl(349, 58%, 43%)
OKLCHoklch(50.7% 0.165 15.4)

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 #AF2E45 6.36:1 AA Lc -85.6 Fine for body text
Black text on #AF2E45 3.29:1 AA large text Lc 23.6 Dividers and decoration only
#AF2E45 text on white 6.36:1 AA Lc 80.4 Fine for body text
#AF2E45 text on black 3.29:1 AA large text Lc -21.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

    #FDF3F3

    oklch(97.2% 0.011 17.3)

  2. Step 100

    100

    #F9E4E5

    oklch(93.6% 0.023 14.3)

  3. Step 200

    200

    #F5CECF

    oklch(88.5% 0.044 16.3)

  4. Step 300

    300

    #F0ACB0

    oklch(81% 0.08 15.1)

  5. Step 400

    400

    #E47D86

    oklch(70.6% 0.127 15.3)

  6. Step 500

    500

    #D95868

    oklch(63% 0.162 15.6)

  7. Step 600

    600

    #C53850

    oklch(55.7% 0.177 15.5)

  8. Step 700

    700 (this color)

    #AF2E45

    oklch(50.7% 0.165 15.4)

  9. Step 800

    800

    #8A2435

    oklch(42.8% 0.136 15.8)

  10. Step 900

    900

    #6F242E

    oklch(37.8% 0.106 16)

  11. Step 950

    950

    #41161B

    oklch(26.9% 0.067 15.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF2E45 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)#514E450.182
Deuteranopia (no green cones)#7269420.166
Tritanopia (no blue cones)#C002380.041
Achromatopsia (no color)#5F5F5F0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2E45

    #AF2E45

    oklch(50.7% 0.165 15.4)

  • #007475

    #007475

    oklch(50.6% 0.086 195.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2E45

    #AF2E45

    oklch(50.7% 0.165 15.4)

  • #A2337A

    #A2337A

    oklch(50.7% 0.164 345.2)

  • #A54300

    #A54300

    oklch(50.8% 0.144 45.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF2E45

    #AF2E45

    oklch(50.7% 0.165 15.4)

  • #007856

    #007856

    oklch(50.7% 0.107 165.1)

  • #00708F

    #00708F

    oklch(50.7% 0.097 225.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2E45

    #AF2E45

    oklch(50.7% 0.165 15.4)

  • #3A7700

    #3A7700

    oklch(50.8% 0.15 135.5)

  • #0963C0

    #0963C0

    oklch(50.7% 0.164 255.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2E45

    #AF2E45

    oklch(50.7% 0.165 15.4)

  • #6E6800

    #6E6800

    oklch(50.7% 0.108 105.7)

  • #007475

    #007475

    oklch(50.6% 0.086 195.8)

  • #6050BD

    #6050BD

    oklch(50.6% 0.165 285.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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