#AF2819

Closest named color: Rufous (#AE2012). oklch(49.5% 0.174 30.4), rgb(175, 40, 25).

Aa

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

About this color

#AF2819 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.174 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Rufous (#AE2012), ΔE 0.010 away. White text reads best on it, at 6.68:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.174)
Temperaturewarm
Nearest nameRufous (#AE2012)
Black text3.14:1
White text6.68:1

Values

HEX#AF2819
RGBrgb(175, 40, 25)
HSLhsl(6, 75%, 39%)
OKLCHoklch(49.5% 0.174 30.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 #AF2819 6.68:1 AA Lc -86.6 Fine for body text
Black text on #AF2819 3.14:1 AA large text Lc 22.5 Dividers and decoration only
#AF2819 text on white 6.68:1 AA Lc 81.5 Fine for body text
#AF2819 text on black 3.14:1 AA large text Lc -20.3 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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FAE4E0

    oklch(93.6% 0.025 29.9)

  3. Step 200

    200

    #F7CEC7

    oklch(88.5% 0.048 29.4)

  4. Step 300

    300

    #F2ADA0

    oklch(80.9% 0.084 30.9)

  5. Step 400

    400

    #E87E6D

    oklch(70.7% 0.134 30.3)

  6. Step 500

    500

    #DE5845

    oklch(63.2% 0.172 30.6)

  7. Step 600

    600

    #C93625

    oklch(55.5% 0.187 30.4)

  8. Step 700

    700 (this color)

    #AF2819

    oklch(49.5% 0.174 30.4)

  9. Step 800

    800

    #8D2316

    oklch(42.7% 0.144 30.6)

  10. Step 900

    900

    #712319

    oklch(37.6% 0.112 30.3)

  11. Step 950

    950

    #431610

    oklch(27% 0.071 30)

Export this scale for Tailwind in the Tailwind colors tool

#AF2819 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)#5349150.185
Deuteranopia (no green cones)#7467100.168
Tritanopia (no blue cones)#C100260.044
Achromatopsia (no color)#5C5C5C0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2819

    #AF2819

    oklch(49.5% 0.174 30.4)

  • #006F7D

    #006F7D

    oklch(49.6% 0.086 209.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2819

    #AF2819

    oklch(49.5% 0.174 30.4)

  • #A9245D

    #A9245D

    oklch(49.4% 0.173 0.3)

  • #904F00

    #904F00

    oklch(49.5% 0.116 60.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF2819

    #AF2819

    oklch(49.5% 0.174 30.4)

  • #007264

    #007264

    oklch(49.5% 0.09 180.4)

  • #00689C

    #00689C

    oklch(49.4% 0.115 240.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2819

    #AF2819

    oklch(49.5% 0.174 30.4)

  • #007635

    #007635

    oklch(49.5% 0.135 150.3)

  • #3F54C3

    #3F54C3

    oklch(49.5% 0.174 270.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2819

    #AF2819

    oklch(49.5% 0.174 30.4)

  • #596B00

    #596B00

    oklch(49.5% 0.118 120.5)

  • #006F7D

    #006F7D

    oklch(49.6% 0.086 209.9)

  • #7441B3

    #7441B3

    oklch(49.5% 0.174 300.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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