#AF024F

Closest named color: Raspberry (#B00149). oklch(48.5% 0.194 5.6), rgb(175, 2, 79).

Aa

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

About this color

#AF024F is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.194 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.009 away. White text reads best on it, at 7.13:1.

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

Values

HEX#AF024F
RGBrgb(175, 2, 79)
HSLhsl(333, 98%, 35%)
OKLCHoklch(48.5% 0.194 5.6)

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 #AF024F 7.13:1 AAA Lc -87.4 Fine for body text
Black text on #AF024F 2.94:1 Fails Lc 21.7 Dividers and decoration only
#AF024F text on white 7.13:1 AAA Lc 82.3 Fine for body text
#AF024F text on black 2.94:1 Fails 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FBE3E7

    oklch(93.6% 0.027 6.2)

  3. Step 200

    200

    #F9CCD4

    oklch(88.6% 0.052 6.2)

  4. Step 300

    300

    #F5A7B8

    oklch(80.8% 0.094 5.1)

  5. Step 400

    400

    #EC7493

    oklch(70.6% 0.151 5.4)

  6. Step 500

    500

    #E24979

    oklch(63.1% 0.191 5.4)

  7. Step 600

    600

    #CD1D61

    oklch(55.5% 0.208 5.7)

  8. Step 700

    700 (this color)

    #AF024F

    oklch(48.5% 0.194 5.6)

  9. Step 800

    800

    #901142

    oklch(42.8% 0.16 5.7)

  10. Step 900

    900

    #741A38

    oklch(37.8% 0.125 5.7)

  11. Step 950

    950

    #441121

    oklch(26.9% 0.079 5)

Export this scale for Tailwind in the Tailwind colors tool

#AF024F 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)#3F44500.221
Deuteranopia (no green cones)#69634B0.198
Tritanopia (no blue cones)#C0002D0.061
Achromatopsia (no color)#5858580.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF024F

    #AF024F

    oklch(48.5% 0.194 5.6)

  • #006E66

    #006E66

    oklch(48.4% 0.085 186.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF024F

    #AF024F

    oklch(48.5% 0.194 5.6)

  • #9C1D88

    #9C1D88

    oklch(48.6% 0.194 335.8)

  • #A92B00

    #A92B00

    oklch(48.6% 0.168 35.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF024F

    #AF024F

    oklch(48.5% 0.194 5.6)

  • #007241

    #007241

    oklch(48.5% 0.118 155.7)

  • #006B7E

    #006B7E

    oklch(48.6% 0.086 215.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF024F

    #AF024F

    oklch(48.5% 0.194 5.6)

  • #4E6A00

    #4E6A00

    oklch(48.4% 0.123 125.6)

  • #0063A0

    #0063A0

    oklch(48.4% 0.124 245.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF024F

    #AF024F

    oklch(48.5% 0.194 5.6)

  • #705E00

    #705E00

    oklch(48.5% 0.1 96)

  • #006E66

    #006E66

    oklch(48.4% 0.085 186.1)

  • #4749C9

    #4749C9

    oklch(48.5% 0.194 275.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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