#AF3342

Closest named color: Firebrick (#B22222). oklch(51.1% 0.159 18.2), rgb(175, 51, 66).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.159)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.37:1
White text6.22:1

Values

HEX#AF3342
RGBrgb(175, 51, 66)
HSLhsl(353, 55%, 44%)
OKLCHoklch(51.1% 0.159 18.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 #AF3342 6.22:1 AA Lc -85.1 Fine for body text
Black text on #AF3342 3.37:1 AA large text Lc 24.1 Dividers and decoration only
#AF3342 text on white 6.22:1 AA Lc 79.9 Fine for body text
#AF3342 text on black 3.37:1 AA large text Lc -21.9 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

    #FCF3F3

    oklch(97.1% 0.01 17.3)

  2. Step 100

    100

    #F9E4E4

    oklch(93.6% 0.023 17.6)

  3. Step 200

    200

    #F4CECE

    oklch(88.4% 0.043 18)

  4. Step 300

    300

    #EEADAE

    oklch(80.9% 0.077 17.9)

  5. Step 400

    400

    #E37F83

    oklch(70.7% 0.123 18.2)

  6. Step 500

    500

    #D85A64

    oklch(63.1% 0.158 18.1)

  7. Step 600

    600

    #C33B4B

    oklch(55.5% 0.172 18.2)

  8. Step 700

    700 (this color)

    #AF3342

    oklch(51.1% 0.159 18.2)

  9. Step 800

    800

    #882632

    oklch(42.6% 0.132 18)

  10. Step 900

    900

    #6E252C

    oklch(37.7% 0.104 18)

  11. Step 950

    950

    #41171A

    oklch(27.1% 0.065 18.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF3342 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)#5450420.175
Deuteranopia (no green cones)#746A3F0.160
Tritanopia (no blue cones)#C010390.041
Achromatopsia (no color)#6161610.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3342

    #AF3342

    oklch(51.1% 0.159 18.2)

  • #007579

    #007579

    oklch(51.1% 0.087 199)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3342

    #AF3342

    oklch(51.1% 0.159 18.2)

  • #A43676

    #A43676

    oklch(51.2% 0.159 348.3)

  • #A34700

    #A34700

    oklch(51% 0.139 48)

Open the analogous palette in the generator

Split complementary

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

  • #AF3342

    #AF3342

    oklch(51.1% 0.159 18.2)

  • #00795B

    #00795B

    oklch(51.2% 0.104 168)

  • #007193

    #007193

    oklch(51.2% 0.099 227.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3342

    #AF3342

    oklch(51.1% 0.159 18.2)

  • #2E7A00

    #2E7A00

    oklch(51.1% 0.159 138.3)

  • #2263C0

    #2263C0

    oklch(51.2% 0.16 258.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3342

    #AF3342

    oklch(51.1% 0.159 18.2)

  • #6D6A00

    #6D6A00

    oklch(51% 0.11 107.8)

  • #007579

    #007579

    oklch(51.1% 0.087 199)

  • #6551BB

    #6551BB

    oklch(51.1% 0.16 288.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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