#AF2761

Closest named color: Raspberry (#B00149). oklch(50.8% 0.177 0.2), rgb(175, 39, 97).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.28:1
White text6.39:1

Values

HEX#AF2761
RGBrgb(175, 39, 97)
HSLhsl(334, 64%, 42%)
OKLCHoklch(50.8% 0.177 0.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 #AF2761 6.39:1 AA Lc -85.6 Fine for body text
Black text on #AF2761 3.28:1 AA large text Lc 23.6 Dividers and decoration only
#AF2761 text on white 6.39:1 AA Lc 80.4 Fine for body text
#AF2761 text on black 3.28:1 AA large text Lc -21.4 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

    #F5CDD8

    oklch(88.6% 0.047 359.7)

  4. Step 300

    300

    #F0AABE

    oklch(81% 0.086 0.5)

  5. Step 400

    400

    #E47A9D

    oklch(70.8% 0.136 0.1)

  6. Step 500

    500

    #D95285

    oklch(63.1% 0.175 0)

  7. Step 600

    600

    #C4306E

    oklch(55.6% 0.189 0.3)

  8. Step 700

    700 (this color)

    #AF2761

    oklch(50.8% 0.177 0.2)

  9. Step 800

    800

    #891E4B

    oklch(42.6% 0.146 0.3)

  10. Step 900

    900

    #6F203F

    oklch(37.8% 0.115 0.2)

  11. Step 950

    950

    #411425

    oklch(26.9% 0.073 359.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF2761 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)#474E620.198
Deuteranopia (no green cones)#6B685E0.178
Tritanopia (no blue cones)#BE0A410.053
Achromatopsia (no color)#5F5F5F0.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2761

    #AF2761

    oklch(50.8% 0.177 0.2)

  • #007668

    #007668

    oklch(50.7% 0.092 180.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2761

    #AF2761

    oklch(50.8% 0.177 0.2)

  • #9A3494

    #9A3494

    oklch(50.9% 0.176 330.2)

  • #B52B1C

    #B52B1C

    oklch(50.9% 0.177 30.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF2761

    #AF2761

    oklch(50.8% 0.177 0.2)

  • #007B37

    #007B37

    oklch(51% 0.14 150.2)

  • #007382

    #007382

    oklch(50.9% 0.088 210.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2761

    #AF2761

    oklch(50.8% 0.177 0.2)

  • #5D6F00

    #5D6F00

    oklch(50.9% 0.121 120.2)

  • #006CA1

    #006CA1

    oklch(50.7% 0.117 240.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2761

    #AF2761

    oklch(50.8% 0.177 0.2)

  • #7D6200

    #7D6200

    oklch(50.9% 0.104 89.8)

  • #007668

    #007668

    oklch(50.7% 0.092 180.8)

  • #4158C9

    #4158C9

    oklch(50.8% 0.177 270.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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