#AF2A66

Closest named color: Raspberry (#B00149). oklch(51.3% 0.175 358.2), rgb(175, 42, 102).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.34:1
White text6.27:1

Values

HEX#AF2A66
RGBrgb(175, 42, 102)
HSLhsl(333, 61%, 43%)
OKLCHoklch(51.3% 0.175 358.2)

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 #AF2A66 6.27:1 AA Lc -85.2 Fine for body text
Black text on #AF2A66 3.34:1 AA large text Lc 24.1 Dividers and decoration only
#AF2A66 text on white 6.27:1 AA Lc 80.0 Fine for body text
#AF2A66 text on black 3.34:1 AA large text Lc -21.8 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

    #FCF2F5

    oklch(97% 0.011 357)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F5CDD9

    oklch(88.6% 0.048 358.2)

  4. Step 300

    300

    #EFAAC0

    oklch(80.9% 0.085 358.4)

  5. Step 400

    400

    #E37AA0

    oklch(70.7% 0.136 358.1)

  6. Step 500

    500

    #D85389

    oklch(63.2% 0.174 358.1)

  7. Step 600

    600

    #C33172

    oklch(55.6% 0.189 358.4)

  8. Step 700

    700 (this color)

    #AF2A66

    oklch(51.3% 0.175 358.2)

  9. Step 800

    800

    #881F4E

    oklch(42.7% 0.145 358.3)

  10. Step 900

    900

    #6E2141

    oklch(37.8% 0.113 358.4)

  11. Step 950

    950

    #411526

    oklch(27.1% 0.071 358.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF2A66 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)#4750670.197
Deuteranopia (no green cones)#6B69630.176
Tritanopia (no blue cones)#BE15440.056
Achromatopsia (no color)#6060600.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2A66

    #AF2A66

    oklch(51.3% 0.175 358.2)

  • #007867

    #007867

    oklch(51.2% 0.094 178.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2A66

    #AF2A66

    oklch(51.3% 0.175 358.2)

  • #993798

    #993798

    oklch(51.3% 0.175 328.2)

  • #B62C25

    #B62C25

    oklch(51.2% 0.176 28.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF2A66

    #AF2A66

    oklch(51.3% 0.175 358.2)

  • #007C30

    #007C30

    oklch(51.1% 0.147 148.2)

  • #007481

    #007481

    oklch(51.1% 0.088 208.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2A66

    #AF2A66

    oklch(51.3% 0.175 358.2)

  • #616F00

    #616F00

    oklch(51.2% 0.119 118.1)

  • #006EA0

    #006EA0

    oklch(51.1% 0.114 238.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2A66

    #AF2A66

    oklch(51.3% 0.175 358.2)

  • #806200

    #806200

    oklch(51.2% 0.105 87.6)

  • #007867

    #007867

    oklch(51.2% 0.094 178.3)

  • #3D5BCA

    #3D5BCA

    oklch(51.3% 0.176 268.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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