#AF0946

Closest named color: Raspberry (#B00149). oklch(48.5% 0.19 9.9), rgb(175, 9, 70).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.190)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text2.95:1
White text7.11:1

Values

HEX#AF0946
RGBrgb(175, 9, 70)
HSLhsl(338, 90%, 36%)
OKLCHoklch(48.5% 0.19 9.9)

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 #AF0946 7.11:1 AAA Lc -87.5 Fine for body text
Black text on #AF0946 2.95:1 Fails Lc 21.6 Dividers and decoration only
#AF0946 text on white 7.11:1 AAA Lc 82.5 Fine for body text
#AF0946 text on black 2.95: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

    #FBE3E6

    oklch(93.6% 0.027 9)

  3. Step 200

    200

    #F9CCD1

    oklch(88.5% 0.051 10.7)

  4. Step 300

    300

    #F5A8B3

    oklch(80.9% 0.092 9.9)

  5. Step 400

    400

    #EC768C

    oklch(70.7% 0.146 9.8)

  6. Step 500

    500

    #E24B6F

    oklch(63.1% 0.187 10.1)

  7. Step 600

    600

    #CD2258

    oklch(55.6% 0.204 9.8)

  8. Step 700

    700 (this color)

    #AF0946

    oklch(48.5% 0.19 9.9)

  9. Step 800

    800

    #90143B

    oklch(42.7% 0.157 10)

  10. Step 900

    900

    #741B33

    oklch(37.8% 0.123 9.6)

  11. Step 950

    950

    #44121E

    oklch(27% 0.077 9.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF0946 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)#4344470.214
Deuteranopia (no green cones)#6B63420.193
Tritanopia (no blue cones)#C000290.052
Achromatopsia (no color)#5858580.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0946

    #AF0946

    oklch(48.5% 0.19 9.9)

  • #006E69

    #006E69

    oklch(48.5% 0.084 189.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0946

    #AF0946

    oklch(48.5% 0.19 9.9)

  • #9E1D80

    #9E1D80

    oklch(48.5% 0.19 339.8)

  • #A23600

    #A23600

    oklch(48.5% 0.152 40)

Open the analogous palette in the generator

Split complementary

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

  • #AF0946

    #AF0946

    oklch(48.5% 0.19 9.9)

  • #007149

    #007149

    oklch(48.4% 0.109 160.2)

  • #006A81

    #006A81

    oklch(48.5% 0.088 219.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0946

    #AF0946

    oklch(48.5% 0.19 9.9)

  • #466C00

    #466C00

    oklch(48.4% 0.13 129.6)

  • #0061A8

    #0061A8

    oklch(48.5% 0.137 249.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0946

    #AF0946

    oklch(48.5% 0.19 9.9)

  • #6D5F00

    #6D5F00

    oklch(48.4% 0.1 99.2)

  • #006E69

    #006E69

    oklch(48.5% 0.084 189.3)

  • #5047C5

    #5047C5

    oklch(48.5% 0.189 279.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF0946.

Similar named colors

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

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