#AF213F

Closest named color: Rouge (#AB1239). oklch(49.5% 0.176 15.6), rgb(175, 33, 63).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.176)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text3.11:1
White text6.74:1

Values

HEX#AF213F
RGBrgb(175, 33, 63)
HSLhsl(347, 68%, 41%)
OKLCHoklch(49.5% 0.176 15.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 #AF213F 6.74:1 AA Lc -86.8 Fine for body text
Black text on #AF213F 3.11:1 AA large text Lc 22.4 Dividers and decoration only
#AF213F text on white 6.74:1 AA Lc 81.7 Fine for body text
#AF213F text on black 3.11:1 AA large text Lc -20.2 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

    #FAE4E4

    oklch(93.7% 0.024 17.6)

  3. Step 200

    200

    #F7CDCF

    oklch(88.5% 0.048 14.9)

  4. Step 300

    300

    #F2AAAE

    oklch(80.8% 0.085 15.5)

  5. Step 400

    400

    #E97A84

    oklch(70.7% 0.137 15.5)

  6. Step 500

    500

    #DE5366

    oklch(63.1% 0.173 15.5)

  7. Step 600

    600

    #C92F4D

    oklch(55.5% 0.189 15.4)

  8. Step 700

    700 (this color)

    #AF213F

    oklch(49.5% 0.176 15.6)

  9. Step 800

    800

    #8D1E33

    oklch(42.7% 0.145 15.8)

  10. Step 900

    900

    #71202D

    oklch(37.6% 0.113 15.3)

  11. Step 950

    950

    #43141A

    oklch(27% 0.073 15.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF213F 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)#4B493F0.197
Deuteranopia (no green cones)#6F663B0.179
Tritanopia (no blue cones)#C0002E0.038
Achromatopsia (no color)#5B5B5B0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF213F

    #AF213F

    oklch(49.5% 0.176 15.6)

  • #007071

    #007071

    oklch(49.4% 0.084 195.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF213F

    #AF213F

    oklch(49.5% 0.176 15.6)

  • #A22877

    #A22877

    oklch(49.6% 0.176 345.8)

  • #9F4100

    #9F4100

    oklch(49.5% 0.14 45.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF213F

    #AF213F

    oklch(49.5% 0.176 15.6)

  • #007454

    #007454

    oklch(49.6% 0.103 165.8)

  • #006C8A

    #006C8A

    oklch(49.5% 0.094 225.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF213F

    #AF213F

    oklch(49.5% 0.176 15.6)

  • #377300

    #377300

    oklch(49.5% 0.146 135.7)

  • #005FBD

    #005FBD

    oklch(49.5% 0.166 255.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF213F

    #AF213F

    oklch(49.5% 0.176 15.6)

  • #6B6500

    #6B6500

    oklch(49.6% 0.106 105.6)

  • #007071

    #007071

    oklch(49.4% 0.084 195.9)

  • #5D4ABF

    #5D4ABF

    oklch(49.5% 0.176 285.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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