#AF0248

Closest named color: Raspberry (#B00149). oklch(48.3% 0.193 8.7), rgb(175, 2, 72).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.193)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text2.92:1
White text7.17:1

Values

HEX#AF0248
RGBrgb(175, 2, 72)
HSLhsl(336, 98%, 35%)
OKLCHoklch(48.3% 0.193 8.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 #AF0248 7.17:1 AAA Lc -87.5 Fine for body text
Black text on #AF0248 2.92:1 Fails Lc 21.6 Dividers and decoration only
#AF0248 text on white 7.17:1 AAA Lc 82.5 Fine for body text
#AF0248 text on black 2.92: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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FBE3E6

    oklch(93.6% 0.027 9)

  3. Step 200

    200

    #F9CCD2

    oklch(88.6% 0.051 9.2)

  4. Step 300

    300

    #F6A8B4

    oklch(81% 0.093 9.2)

  5. Step 400

    400

    #ED758E

    oklch(70.8% 0.149 8.5)

  6. Step 500

    500

    #E34972

    oklch(63.1% 0.191 8.5)

  7. Step 600

    600

    #CE1E5A

    oklch(55.6% 0.207 8.7)

  8. Step 700

    700 (this color)

    #AF0248

    oklch(48.3% 0.193 8.7)

  9. Step 800

    800

    #90113D

    oklch(42.6% 0.159 8.5)

  10. Step 900

    900

    #741A34

    oklch(37.7% 0.124 8.6)

  11. Step 950

    950

    #44111E

    oklch(26.8% 0.079 8.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF0248 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)#4143490.218
Deuteranopia (no green cones)#6A63440.197
Tritanopia (no blue cones)#C000290.056
Achromatopsia (no color)#5757570.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0248

    #AF0248

    oklch(48.3% 0.193 8.7)

  • #006D68

    #006D68

    oklch(48.2% 0.083 189.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0248

    #AF0248

    oklch(48.3% 0.193 8.7)

  • #9D1B82

    #9D1B82

    oklch(48.3% 0.192 338.6)

  • #A33300

    #A33300

    oklch(48.3% 0.156 38.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF0248

    #AF0248

    oklch(48.3% 0.193 8.7)

  • #007146

    #007146

    oklch(48.3% 0.112 158.5)

  • #006A80

    #006A80

    oklch(48.4% 0.087 218.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0248

    #AF0248

    oklch(48.3% 0.193 8.7)

  • #486B00

    #486B00

    oklch(48.3% 0.127 128.6)

  • #0061A5

    #0061A5

    oklch(48.3% 0.133 248.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0248

    #AF0248

    oklch(48.3% 0.193 8.7)

  • #6D5F00

    #6D5F00

    oklch(48.4% 0.1 99.2)

  • #006D68

    #006D68

    oklch(48.2% 0.083 189.2)

  • #4D47C7

    #4D47C7

    oklch(48.4% 0.192 278.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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