#AF1E48

Closest named color: Raspberry (#B00149). oklch(49.5% 0.179 11), rgb(175, 30, 72).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.179)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.10:1
White text6.76:1

Values

HEX#AF1E48
RGBrgb(175, 30, 72)
HSLhsl(343, 71%, 40%)
OKLCHoklch(49.5% 0.179 11)

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 #AF1E48 6.76:1 AA Lc -86.8 Fine for body text
Black text on #AF1E48 3.10:1 AA large text Lc 22.3 Dividers and decoration only
#AF1E48 text on white 6.76:1 AA Lc 81.7 Fine for body text
#AF1E48 text on black 3.10:1 AA large text Lc -20.2 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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FAE3E6

    oklch(93.5% 0.026 8.6)

  3. Step 200

    200

    #F7CDD1

    oklch(88.5% 0.048 11.6)

  4. Step 300

    300

    #F3AAB3

    oklch(81% 0.087 11)

  5. Step 400

    400

    #E9798B

    oklch(70.8% 0.139 11.1)

  6. Step 500

    500

    #DE516F

    oklch(63.1% 0.176 10.9)

  7. Step 600

    600

    #C92C57

    oklch(55.5% 0.192 10.8)

  8. Step 700

    700 (this color)

    #AF1E48

    oklch(49.5% 0.179 11)

  9. Step 800

    800

    #8D1C3A

    oklch(42.7% 0.148 11.3)

  10. Step 900

    900

    #711F32

    oklch(37.6% 0.115 11)

  11. Step 950

    950

    #43141D

    oklch(27% 0.073 11.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF1E48 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)#4849490.202
Deuteranopia (no green cones)#6D66440.184
Tritanopia (no blue cones)#C000310.043
Achromatopsia (no color)#5B5B5B0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1E48

    #AF1E48

    oklch(49.5% 0.179 11)

  • #00716D

    #00716D

    oklch(49.5% 0.085 190.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1E48

    #AF1E48

    oklch(49.5% 0.179 11)

  • #9F287F

    #9F287F

    oklch(49.4% 0.179 341)

  • #A53A00

    #A53A00

    oklch(49.5% 0.152 41.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF1E48

    #AF1E48

    oklch(49.5% 0.179 11)

  • #00744D

    #00744D

    oklch(49.4% 0.109 161.3)

  • #006D86

    #006D86

    oklch(49.5% 0.091 221)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1E48

    #AF1E48

    oklch(49.5% 0.179 11)

  • #457000

    #457000

    oklch(49.4% 0.135 131)

  • #0063B0

    #0063B0

    oklch(49.5% 0.145 251.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1E48

    #AF1E48

    oklch(49.5% 0.179 11)

  • #6F6300

    #6F6300

    oklch(49.6% 0.103 101.1)

  • #00716D

    #00716D

    oklch(49.5% 0.085 190.5)

  • #554CC3

    #554CC3

    oklch(49.5% 0.179 281)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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