#AF0742

Closest named color: Raspberry (#B00149). oklch(48.3% 0.19 11.6), rgb(175, 7, 66).

Aa

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

About this color

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

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

Values

HEX#AF0742
RGBrgb(175, 7, 66)
HSLhsl(339, 92%, 36%)
OKLCHoklch(48.3% 0.19 11.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 #AF0742 7.16:1 AAA Lc -87.6 Fine for body text
Black text on #AF0742 2.93:1 Fails Lc 21.5 Dividers and decoration only
#AF0742 text on white 7.16:1 AAA Lc 82.6 Fine for body text
#AF0742 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

    #F6A8B1

    oklch(80.9% 0.093 11.7)

  5. Step 400

    400

    #ED7689

    oklch(70.8% 0.147 11.6)

  6. Step 500

    500

    #E34B6C

    oklch(63.2% 0.188 11.5)

  7. Step 600

    600

    #CE2154

    oklch(55.6% 0.205 11.4)

  8. Step 700

    700 (this color)

    #AF0742

    oklch(48.3% 0.19 11.6)

  9. Step 800

    800

    #901438

    oklch(42.7% 0.157 11.6)

  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

#AF0742 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)#4343430.215
Deuteranopia (no green cones)#6B633E0.194
Tritanopia (no blue cones)#C000270.049
Achromatopsia (no color)#5858580.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0742

    #AF0742

    oklch(48.3% 0.19 11.6)

  • #006D6A

    #006D6A

    oklch(48.3% 0.083 191.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0742

    #AF0742

    oklch(48.3% 0.19 11.6)

  • #9F1B7C

    #9F1B7C

    oklch(48.3% 0.19 341.8)

  • #9F3800

    #9F3800

    oklch(48.3% 0.147 41.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF0742

    #AF0742

    oklch(48.3% 0.19 11.6)

  • #00714B

    #00714B

    oklch(48.5% 0.107 161.4)

  • #006982

    #006982

    oklch(48.3% 0.089 221.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0742

    #AF0742

    oklch(48.3% 0.19 11.6)

  • #416D00

    #416D00

    oklch(48.4% 0.134 131.7)

  • #005FAB

    #005FAB

    oklch(48.2% 0.143 251.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0742

    #AF0742

    oklch(48.3% 0.19 11.6)

  • #6B6000

    #6B6000

    oklch(48.4% 0.101 101.6)

  • #006D6A

    #006D6A

    oklch(48.3% 0.083 191.4)

  • #5345C4

    #5345C4

    oklch(48.3% 0.19 281.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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