#AF2B5A

Closest named color: Raspberry (#B00149). oklch(51% 0.171 4.3), rgb(175, 43, 90).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.171)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.31:1
White text6.33:1

Values

HEX#AF2B5A
RGBrgb(175, 43, 90)
HSLhsl(339, 61%, 43%)
OKLCHoklch(51% 0.171 4.3)

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 #AF2B5A 6.33:1 AA Lc -85.4 Fine for body text
Black text on #AF2B5A 3.31:1 AA large text Lc 23.8 Dividers and decoration only
#AF2B5A text on white 6.33:1 AA Lc 80.3 Fine for body text
#AF2B5A text on black 3.31:1 AA large text Lc -21.6 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

    #FDF3F4

    oklch(97.2% 0.011 10.3)

  2. Step 100

    100

    #F9E4E8

    oklch(93.7% 0.024 4.5)

  3. Step 200

    200

    #F5CDD5

    oklch(88.5% 0.046 4.6)

  4. Step 300

    300

    #EFABBA

    oklch(80.9% 0.082 4.5)

  5. Step 400

    400

    #E47B96

    oklch(70.7% 0.132 4.6)

  6. Step 500

    500

    #D9557D

    oklch(63.2% 0.169 4.5)

  7. Step 600

    600

    #C43366

    oklch(55.6% 0.184 4.4)

  8. Step 700

    700 (this color)

    #AF2B5A

    oklch(51% 0.171 4.3)

  9. Step 800

    800

    #892145

    oklch(42.7% 0.141 4.7)

  10. Step 900

    900

    #6E223A

    oklch(37.7% 0.109 4.6)

  11. Step 950

    950

    #411522

    oklch(27% 0.07 4.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF2B5A 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)#4B4F5B0.191
Deuteranopia (no green cones)#6E69570.173
Tritanopia (no blue cones)#BF0D3F0.047
Achromatopsia (no color)#6060600.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2B5A

    #AF2B5A

    oklch(51% 0.171 4.3)

  • #00766C

    #00766C

    oklch(50.9% 0.09 184.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2B5A

    #AF2B5A

    oklch(51% 0.171 4.3)

  • #9C358D

    #9C358D

    oklch(50.9% 0.17 334.1)

  • #B23111

    #B23111

    oklch(50.8% 0.171 34.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF2B5A

    #AF2B5A

    oklch(51% 0.171 4.3)

  • #007A43

    #007A43

    oklch(50.9% 0.127 154.5)

  • #007385

    #007385

    oklch(51.1% 0.09 213.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2B5A

    #AF2B5A

    oklch(51% 0.171 4.3)

  • #577100

    #577100

    oklch(50.9% 0.126 124)

  • #006BA8

    #006BA8

    oklch(50.9% 0.126 244.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2B5A

    #AF2B5A

    oklch(51% 0.171 4.3)

  • #796400

    #796400

    oklch(50.9% 0.104 94.5)

  • #00766C

    #00766C

    oklch(50.9% 0.09 184.6)

  • #4C57C5

    #4C57C5

    oklch(51% 0.17 274.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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