#AF1248

Closest named color: Raspberry (#B00149). oklch(48.8% 0.186 9.7), rgb(175, 18, 72).

Aa

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

About this color

#AF1248 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.186 and its hue 10°. 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 6.99:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.186)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.00:1
White text6.99:1

Values

HEX#AF1248
RGBrgb(175, 18, 72)
HSLhsl(339, 81%, 38%)
OKLCHoklch(48.8% 0.186 9.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 #AF1248 6.99:1 AA Lc -87.3 Fine for body text
Black text on #AF1248 3.00:1 AA large text Lc 21.8 Dividers and decoration only
#AF1248 text on white 6.99:1 AA Lc 82.2 Fine for body text
#AF1248 text on black 3.00:1 AA large text Lc -19.7 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

    #FBE3E6

    oklch(93.6% 0.027 9)

  3. Step 200

    200

    #F8CCD2

    oklch(88.5% 0.05 8.9)

  4. Step 300

    300

    #F4A9B4

    oklch(81% 0.089 9.6)

  5. Step 400

    400

    #EB778C

    oklch(70.7% 0.144 10)

  6. Step 500

    500

    #E14D70

    oklch(63.2% 0.184 9.9)

  7. Step 600

    600

    #CC2559

    oklch(55.6% 0.201 9.5)

  8. Step 700

    700 (this color)

    #AF1248

    oklch(48.8% 0.186 9.7)

  9. Step 800

    800

    #8F173C

    oklch(42.8% 0.154 9.7)

  10. Step 900

    900

    #731C33

    oklch(37.7% 0.121 9.7)

  11. Step 950

    950

    #44131E

    oklch(27.1% 0.076 10.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF1248 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)#4445490.211
Deuteranopia (no green cones)#6B64440.191
Tritanopia (no blue cones)#C0002D0.049
Achromatopsia (no color)#5959590.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1248

    #AF1248

    oklch(48.8% 0.186 9.7)

  • #006F6A

    #006F6A

    oklch(48.9% 0.085 189.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1248

    #AF1248

    oklch(48.8% 0.186 9.7)

  • #9E2181

    #9E2181

    oklch(48.8% 0.187 339.5)

  • #A43600

    #A43600

    oklch(48.9% 0.154 39.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF1248

    #AF1248

    oklch(48.8% 0.186 9.7)

  • #007249

    #007249

    oklch(48.7% 0.11 159.8)

  • #006B82

    #006B82

    oklch(48.8% 0.089 219.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1248

    #AF1248

    oklch(48.8% 0.186 9.7)

  • #476D00

    #476D00

    oklch(48.7% 0.13 129.5)

  • #0062A9

    #0062A9

    oklch(48.8% 0.137 249.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1248

    #AF1248

    oklch(48.8% 0.186 9.7)

  • #6E6000

    #6E6000

    oklch(48.8% 0.101 99.3)

  • #006F6A

    #006F6A

    oklch(48.9% 0.085 189.3)

  • #5149C5

    #5149C5

    oklch(48.9% 0.186 279.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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