#AF215D

Closest named color: Raspberry (#B00149). oklch(50.3% 0.181 1.4), rgb(175, 33, 93).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.181)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.19:1
White text6.56:1

Values

HEX#AF215D
RGBrgb(175, 33, 93)
HSLhsl(335, 68%, 41%)
OKLCHoklch(50.3% 0.181 1.4)

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 #AF215D 6.56:1 AA Lc -86.1 Fine for body text
Black text on #AF215D 3.19:1 AA large text Lc 23.1 Dividers and decoration only
#AF215D text on white 6.56:1 AA Lc 81.0 Fine for body text
#AF215D text on black 3.19:1 AA large text Lc -20.9 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3E9

    oklch(93.5% 0.025 359.2)

  3. Step 200

    200

    #F6CCD7

    oklch(88.4% 0.049 0.6)

  4. Step 300

    300

    #F1A9BD

    oklch(80.9% 0.088 1.1)

  5. Step 400

    400

    #E6789B

    oklch(70.7% 0.14 1.1)

  6. Step 500

    500

    #DB5082

    oklch(63.1% 0.179 1.4)

  7. Step 600

    600

    #C62C6C

    oklch(55.5% 0.194 1.2)

  8. Step 700

    700 (this color)

    #AF215D

    oklch(50.3% 0.181 1.4)

  9. Step 800

    800

    #8B1B49

    oklch(42.7% 0.15 1.7)

  10. Step 900

    900

    #701F3D

    oklch(37.8% 0.116 1.9)

  11. Step 950

    950

    #421424

    oklch(27.1% 0.073 1.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF215D 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)#454C5E0.204
Deuteranopia (no green cones)#6B675A0.183
Tritanopia (no blue cones)#BE003C0.054
Achromatopsia (no color)#5D5D5D0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF215D

    #AF215D

    oklch(50.3% 0.181 1.4)

  • #007467

    #007467

    oklch(50.1% 0.09 181.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF215D

    #AF215D

    oklch(50.3% 0.181 1.4)

  • #9A2F91

    #9A2F91

    oklch(50.2% 0.18 331.5)

  • #B42611

    #B42611

    oklch(50.2% 0.181 31.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF215D

    #AF215D

    oklch(50.3% 0.181 1.4)

  • #00783A

    #00783A

    oklch(50.1% 0.133 151.6)

  • #007181

    #007181

    oklch(50.3% 0.088 211.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF215D

    #AF215D

    oklch(50.3% 0.181 1.4)

  • #5A6E00

    #5A6E00

    oklch(50.4% 0.121 121.3)

  • #006AA1

    #006AA1

    oklch(50.2% 0.119 241.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF215D

    #AF215D

    oklch(50.3% 0.181 1.4)

  • #7A6100

    #7A6100

    oklch(50.3% 0.103 91.1)

  • #007467

    #007467

    oklch(50.1% 0.09 181.5)

  • #4255C9

    #4255C9

    oklch(50.3% 0.18 271.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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