#AF022A

Closest named color: Rouge (#AB1239). oklch(47.7% 0.191 20.6), rgb(175, 2, 42).

Aa

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

About this color

#AF022A is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.191 and its hue 21°. Its hue sits on the warm side of the wheel. The nearest named color is Rouge (#AB1239), ΔE 0.019 away. White text reads best on it, at 7.33:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.191)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text2.86:1
White text7.33:1

Values

HEX#AF022A
RGBrgb(175, 2, 42)
HSLhsl(346, 98%, 35%)
OKLCHoklch(47.7% 0.191 20.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 #AF022A 7.33:1 AAA Lc -88.0 Fine for body text
Black text on #AF022A 2.86:1 Fails Lc 21.1 Dividers and decoration only
#AF022A text on white 7.33:1 AAA Lc 82.9 Fine for body text
#AF022A text on black 2.86:1 Fails Lc -19.0 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E2

    oklch(93.5% 0.026 20.5)

  3. Step 200

    200

    #FACCCB

    oklch(88.5% 0.052 19.6)

  4. Step 300

    300

    #F7A9A7

    oklch(80.9% 0.093 20.9)

  5. Step 400

    400

    #EE7779

    oklch(70.7% 0.147 20.5)

  6. Step 500

    500

    #E54C56

    oklch(63.1% 0.189 20.8)

  7. Step 600

    600

    #D0223C

    oklch(55.5% 0.205 20.4)

  8. Step 700

    700 (this color)

    #AF022A

    oklch(47.7% 0.191 20.6)

  9. Step 800

    800

    #921427

    oklch(42.7% 0.158 20.5)

  10. Step 900

    900

    #751C24

    oklch(37.7% 0.122 20.6)

  11. Step 950

    950

    #451215

    oklch(26.9% 0.078 20.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF022A 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)#46402A0.213
Deuteranopia (no green cones)#6D62240.193
Tritanopia (no blue cones)#C100190.041
Achromatopsia (no color)#5656560.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF022A

    #AF022A

    oklch(47.7% 0.191 20.6)

  • #006A6F

    #006A6F

    oklch(47.7% 0.081 200.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF022A

    #AF022A

    oklch(47.7% 0.191 20.6)

  • #A40F6B

    #A40F6B

    oklch(47.8% 0.191 350.5)

  • #924300

    #924300

    oklch(47.7% 0.125 50.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF022A

    #AF022A

    oklch(47.7% 0.191 20.6)

  • #006E55

    #006E55

    oklch(47.9% 0.095 170)

  • #006688

    #006688

    oklch(47.8% 0.095 230)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF022A

    #AF022A

    oklch(47.7% 0.191 20.6)

  • #1A7000

    #1A7000

    oklch(47.6% 0.155 140.6)

  • #0B53C6

    #0B53C6

    oklch(47.8% 0.191 260.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF022A

    #AF022A

    oklch(47.7% 0.191 20.6)

  • #606100

    #606100

    oklch(47.6% 0.104 110.5)

  • #006A6F

    #006A6F

    oklch(47.7% 0.081 200.5)

  • #623CBE

    #623CBE

    oklch(47.8% 0.192 290.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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