#AF1839

Closest named color: Rouge (#AB1239). oklch(48.8% 0.182 16.8), rgb(175, 24, 57).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.182)
Temperaturewarm
Nearest nameRouge (#AB1239)
Black text3.01:1
White text6.97:1

Values

HEX#AF1839
RGBrgb(175, 24, 57)
HSLhsl(347, 76%, 39%)
OKLCHoklch(48.8% 0.182 16.8)

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 #AF1839 6.97:1 AA Lc -87.4 Fine for body text
Black text on #AF1839 3.01:1 AA large text Lc 21.8 Dividers and decoration only
#AF1839 text on white 6.97:1 AA Lc 82.3 Fine for body text
#AF1839 text on black 3.01:1 AA large text Lc -19.6 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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FBE3E4

    oklch(93.6% 0.026 14.7)

  3. Step 200

    200

    #F8CDCE

    oklch(88.6% 0.049 16.5)

  4. Step 300

    300

    #F4AAAC

    oklch(80.9% 0.087 17.4)

  5. Step 400

    400

    #EB7981

    oklch(70.8% 0.141 16.9)

  6. Step 500

    500

    #E15061

    oklch(63.2% 0.18 17.1)

  7. Step 600

    600

    #CC2A48

    oklch(55.6% 0.196 16.9)

  8. Step 700

    700 (this color)

    #AF1839

    oklch(48.8% 0.182 16.8)

  9. Step 800

    800

    #8F1A30

    oklch(42.7% 0.151 16.8)

  10. Step 900

    900

    #731E2A

    oklch(37.7% 0.118 17)

  11. Step 950

    950

    #441419

    oklch(27.1% 0.074 17.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF1839 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)#4945390.203
Deuteranopia (no green cones)#6E64340.184
Tritanopia (no blue cones)#C100280.039
Achromatopsia (no color)#5959590.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1839

    #AF1839

    oklch(48.8% 0.182 16.8)

  • #006E70

    #006E70

    oklch(48.8% 0.083 197)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1839

    #AF1839

    oklch(48.8% 0.182 16.8)

  • #A22074

    #A22074

    oklch(48.8% 0.182 346.6)

  • #9B4100

    #9B4100

    oklch(48.9% 0.136 46.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF1839

    #AF1839

    oklch(48.8% 0.182 16.8)

  • #007154

    #007154

    oklch(48.7% 0.099 167.4)

  • #006A89

    #006A89

    oklch(48.9% 0.094 226.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1839

    #AF1839

    oklch(48.8% 0.182 16.8)

  • #317100

    #317100

    oklch(48.7% 0.147 136.8)

  • #005BBE

    #005BBE

    oklch(48.7% 0.172 256.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1839

    #AF1839

    oklch(48.8% 0.182 16.8)

  • #676300

    #676300

    oklch(48.8% 0.104 106.9)

  • #006E70

    #006E70

    oklch(48.8% 0.083 197)

  • #5E45BF

    #5E45BF

    oklch(48.8% 0.182 287)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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