#AF074F

Closest named color: Raspberry (#B00149). oklch(48.7% 0.192 5.8), rgb(175, 7, 79).

Aa

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

About this color

#AF074F is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.192 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.08:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.192)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text2.96:1
White text7.08:1

Values

HEX#AF074F
RGBrgb(175, 7, 79)
HSLhsl(334, 92%, 36%)
OKLCHoklch(48.7% 0.192 5.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 #AF074F 7.08:1 AAA Lc -87.4 Fine for body text
Black text on #AF074F 2.96:1 Fails Lc 21.8 Dividers and decoration only
#AF074F text on white 7.08:1 AAA Lc 82.3 Fine for body text
#AF074F text on black 2.96: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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FBE3E7

    oklch(93.6% 0.027 6.2)

  3. Step 200

    200

    #F8CCD4

    oklch(88.5% 0.051 5.9)

  4. Step 300

    300

    #F5A8B7

    oklch(81% 0.092 6.5)

  5. Step 400

    400

    #EC7593

    oklch(70.8% 0.149 5.7)

  6. Step 500

    500

    #E24A78

    oklch(63.2% 0.19 6)

  7. Step 600

    600

    #CD2061

    oklch(55.7% 0.206 5.9)

  8. Step 700

    700 (this color)

    #AF074F

    oklch(48.7% 0.192 5.8)

  9. Step 800

    800

    #8F1242

    oklch(42.6% 0.159 5.6)

  10. Step 900

    900

    #731A38

    oklch(37.6% 0.124 5.3)

  11. Step 950

    950

    #441221

    oklch(27.1% 0.078 5.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF074F 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)#4044500.219
Deuteranopia (no green cones)#69634B0.196
Tritanopia (no blue cones)#C0002E0.058
Achromatopsia (no color)#5858580.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF074F

    #AF074F

    oklch(48.7% 0.192 5.8)

  • #006F66

    #006F66

    oklch(48.7% 0.086 185.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF074F

    #AF074F

    oklch(48.7% 0.192 5.8)

  • #9C1F88

    #9C1F88

    oklch(48.7% 0.192 335.8)

  • #A92C00

    #A92C00

    oklch(48.7% 0.167 35.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF074F

    #AF074F

    oklch(48.7% 0.192 5.8)

  • #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.

  • #AF074F

    #AF074F

    oklch(48.7% 0.192 5.8)

  • #4E6B00

    #4E6B00

    oklch(48.7% 0.124 126)

  • #0064A1

    #0064A1

    oklch(48.7% 0.125 245.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF074F

    #AF074F

    oklch(48.7% 0.192 5.8)

  • #715E00

    #715E00

    oklch(48.6% 0.1 95.2)

  • #006F66

    #006F66

    oklch(48.7% 0.086 185.1)

  • #484AC9

    #484AC9

    oklch(48.7% 0.192 275.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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