#AF2E3B

Closest named color: Firebrick (#B22222). oklch(50.5% 0.165 20.1), rgb(175, 46, 59).

Aa

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

About this color

#AF2E3B is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.165 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.026 away. White text reads best on it, at 6.40:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.165)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.27:1
White text6.40:1

Values

HEX#AF2E3B
RGBrgb(175, 46, 59)
HSLhsl(354, 58%, 43%)
OKLCHoklch(50.5% 0.165 20.1)

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 #AF2E3B 6.40:1 AA Lc -85.8 Fine for body text
Black text on #AF2E3B 3.27:1 AA large text Lc 23.4 Dividers and decoration only
#AF2E3B text on white 6.40:1 AA Lc 80.6 Fine for body text
#AF2E3B text on black 3.27:1 AA large text Lc -21.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

    #FDF3F2

    oklch(97.2% 0.011 24.3)

  2. Step 100

    100

    #F9E4E3

    oklch(93.5% 0.023 20.9)

  3. Step 200

    200

    #F5CECD

    oklch(88.4% 0.044 19.8)

  4. Step 300

    300

    #F0ACAB

    oklch(80.8% 0.08 19.9)

  5. Step 400

    400

    #E57E7F

    oklch(70.7% 0.127 20.2)

  6. Step 500

    500

    #DA595F

    oklch(63.1% 0.162 20.2)

  7. Step 600

    600

    #C63846

    oklch(55.7% 0.178 19.9)

  8. Step 700

    700 (this color)

    #AF2E3B

    oklch(50.5% 0.165 20.1)

  9. Step 800

    800

    #8A242E

    oklch(42.6% 0.137 19.9)

  10. Step 900

    900

    #6F2429

    oklch(37.6% 0.106 20)

  11. Step 950

    950

    #421618

    oklch(27% 0.068 20.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF2E3B 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)#524D3B0.181
Deuteranopia (no green cones)#7369370.166
Tritanopia (no blue cones)#C000340.041
Achromatopsia (no color)#5F5F5F0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2E3B

    #AF2E3B

    oklch(50.5% 0.165 20.1)

  • #007378

    #007378

    oklch(50.5% 0.086 200.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2E3B

    #AF2E3B

    oklch(50.5% 0.165 20.1)

  • #A43072

    #A43072

    oklch(50.4% 0.165 349.6)

  • #9E4800

    #9E4800

    oklch(50.4% 0.133 50)

Open the analogous palette in the generator

Split complementary

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

  • #AF2E3B

    #AF2E3B

    oklch(50.5% 0.165 20.1)

  • #00775C

    #00775C

    oklch(50.6% 0.1 169.9)

  • #006E93

    #006E93

    oklch(50.4% 0.101 230.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2E3B

    #AF2E3B

    oklch(50.5% 0.165 20.1)

  • #217900

    #217900

    oklch(50.4% 0.163 140.1)

  • #245FC1

    #245FC1

    oklch(50.4% 0.166 260.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2E3B

    #AF2E3B

    oklch(50.5% 0.165 20.1)

  • #696900

    #696900

    oklch(50.4% 0.11 109.8)

  • #007378

    #007378

    oklch(50.5% 0.086 200.1)

  • #674DBA

    #674DBA

    oklch(50.5% 0.164 290.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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