#AF0A42

Closest named color: Raspberry (#B00149). oklch(48.4% 0.189 11.7), rgb(175, 10, 66).

Aa

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

About this color

#AF0A42 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.012 away. White text reads best on it, at 7.13:1.

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

Values

HEX#AF0A42
RGBrgb(175, 10, 66)
HSLhsl(340, 89%, 36%)
OKLCHoklch(48.4% 0.189 11.7)

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 #AF0A42 7.13:1 AAA Lc -87.6 Fine for body text
Black text on #AF0A42 2.94:1 Fails Lc 21.5 Dividers and decoration only
#AF0A42 text on white 7.13:1 AAA Lc 82.5 Fine for body text
#AF0A42 text on black 2.94:1 Fails Lc -19.4 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

    #EC7689

    oklch(70.7% 0.146 11.4)

  6. Step 500

    500

    #E24B6B

    oklch(63% 0.187 11.8)

  7. Step 600

    600

    #CE2353

    oklch(55.7% 0.203 12)

  8. Step 700

    700 (this color)

    #AF0A42

    oklch(48.4% 0.189 11.7)

  9. Step 800

    800

    #901538

    oklch(42.7% 0.156 11.8)

  10. Step 900

    900

    #741C30

    oklch(37.8% 0.122 12.1)

  11. Step 950

    950

    #44121C

    oklch(26.9% 0.077 12)

Export this scale for Tailwind in the Tailwind colors tool

#AF0A42 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)#4443430.213
Deuteranopia (no green cones)#6B633E0.193
Tritanopia (no blue cones)#C000270.049
Achromatopsia (no color)#5858580.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0A42

    #AF0A42

    oklch(48.4% 0.189 11.7)

  • #006D6B

    #006D6B

    oklch(48.3% 0.083 192.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0A42

    #AF0A42

    oklch(48.4% 0.189 11.7)

  • #9F1C7C

    #9F1C7C

    oklch(48.4% 0.189 341.8)

  • #9F3900

    #9F3900

    oklch(48.4% 0.147 41.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF0A42

    #AF0A42

    oklch(48.4% 0.189 11.7)

  • #00714B

    #00714B

    oklch(48.5% 0.107 161.4)

  • #006983

    #006983

    oklch(48.3% 0.09 222.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0A42

    #AF0A42

    oklch(48.4% 0.189 11.7)

  • #416D00

    #416D00

    oklch(48.4% 0.134 131.7)

  • #0060AC

    #0060AC

    oklch(48.5% 0.143 251.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0A42

    #AF0A42

    oklch(48.4% 0.189 11.7)

  • #6B6000

    #6B6000

    oklch(48.4% 0.101 101.6)

  • #006D6B

    #006D6B

    oklch(48.3% 0.083 192.5)

  • #5446C4

    #5446C4

    oklch(48.5% 0.188 281.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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