#AF0841

Closest named color: Raspberry (#B00149). oklch(48.3% 0.189 12.1), rgb(175, 8, 65).

Aa

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

About this color

#AF0841 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.189 and its hue 12°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.013 away. White text reads best on it, at 7.15:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.189)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text2.93:1
White text7.15:1

Values

HEX#AF0841
RGBrgb(175, 8, 65)
HSLhsl(340, 91%, 36%)
OKLCHoklch(48.3% 0.189 12.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 #AF0841 7.15:1 AAA Lc -87.6 Fine for body text
Black text on #AF0841 2.93:1 Fails Lc 21.5 Dividers and decoration only
#AF0841 text on white 7.15:1 AAA Lc 82.6 Fine for body text
#AF0841 text on black 2.93:1 Fails Lc -19.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

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FBE3E5

    oklch(93.6% 0.026 11.9)

  3. Step 200

    200

    #F9CCD0

    oklch(88.5% 0.051 12.1)

  4. Step 300

    300

    #F5A8B1

    oklch(80.8% 0.091 11.6)

  5. Step 400

    400

    #ED7688

    oklch(70.8% 0.147 12.1)

  6. Step 500

    500

    #E34B6B

    oklch(63.1% 0.188 11.9)

  7. Step 600

    600

    #CE2253

    oklch(55.6% 0.204 11.9)

  8. Step 700

    700 (this color)

    #AF0841

    oklch(48.3% 0.189 12.1)

  9. Step 800

    800

    #901437

    oklch(42.6% 0.157 12.2)

  10. Step 900

    900

    #741B30

    oklch(37.7% 0.123 11.8)

  11. Step 950

    950

    #44121C

    oklch(26.9% 0.077 12)

Export this scale for Tailwind in the Tailwind colors tool

#AF0841 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)#4443420.213
Deuteranopia (no green cones)#6B633D0.194
Tritanopia (no blue cones)#C000260.049
Achromatopsia (no color)#5858580.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0841

    #AF0841

    oklch(48.3% 0.189 12.1)

  • #006D6B

    #006D6B

    oklch(48.3% 0.083 192.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0841

    #AF0841

    oklch(48.3% 0.189 12.1)

  • #9F1B7C

    #9F1B7C

    oklch(48.3% 0.19 341.8)

  • #9E3900

    #9E3900

    oklch(48.2% 0.146 42)

Open the analogous palette in the generator

Split complementary

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

  • #AF0841

    #AF0841

    oklch(48.3% 0.189 12.1)

  • #00714C

    #00714C

    oklch(48.5% 0.106 162)

  • #006983

    #006983

    oklch(48.3% 0.09 222.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0841

    #AF0841

    oklch(48.3% 0.189 12.1)

  • #406D00

    #406D00

    oklch(48.3% 0.134 132.1)

  • #005FAD

    #005FAD

    oklch(48.3% 0.145 252.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0841

    #AF0841

    oklch(48.3% 0.189 12.1)

  • #6A6000

    #6A6000

    oklch(48.3% 0.101 102.4)

  • #006D6B

    #006D6B

    oklch(48.3% 0.083 192.5)

  • #5445C4

    #5445C4

    oklch(48.4% 0.189 282)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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