#AF1757

Closest named color: Raspberry (#B00149). oklch(49.5% 0.187 3.2), rgb(175, 23, 87).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.187)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.08:1
White text6.81:1

Values

HEX#AF1757
RGBrgb(175, 23, 87)
HSLhsl(335, 77%, 39%)
OKLCHoklch(49.5% 0.187 3.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 #AF1757 6.81:1 AA Lc -86.8 Fine for body text
Black text on #AF1757 3.08:1 AA large text Lc 22.3 Dividers and decoration only
#AF1757 text on white 6.81:1 AA Lc 81.7 Fine for body text
#AF1757 text on black 3.08: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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E8

    oklch(93.6% 0.026 2.8)

  3. Step 200

    200

    #F7CCD6

    oklch(88.5% 0.05 2.5)

  4. Step 300

    300

    #F3A8BB

    oklch(80.9% 0.091 2.7)

  5. Step 400

    400

    #E97797

    oklch(70.8% 0.144 3.6)

  6. Step 500

    500

    #DE4D7E

    oklch(63.1% 0.184 3.3)

  7. Step 600

    600

    #C92667

    oklch(55.5% 0.2 3.3)

  8. Step 700

    700 (this color)

    #AF1757

    oklch(49.5% 0.187 3.2)

  9. Step 800

    800

    #8D1746

    oklch(42.7% 0.155 3.4)

  10. Step 900

    900

    #711D3B

    oklch(37.7% 0.119 3.2)

  11. Step 950

    950

    #431323

    oklch(27.1% 0.076 3)

Export this scale for Tailwind in the Tailwind colors tool

#AF1757 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)#4248580.212
Deuteranopia (no green cones)#6A65540.189
Tritanopia (no blue cones)#BF00360.056
Achromatopsia (no color)#5B5B5B0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1757

    #AF1757

    oklch(49.5% 0.187 3.2)

  • #007267

    #007267

    oklch(49.6% 0.088 183.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1757

    #AF1757

    oklch(49.5% 0.187 3.2)

  • #9B288D

    #9B288D

    oklch(49.5% 0.186 333.5)

  • #B12400

    #B12400

    oklch(49.4% 0.181 33.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF1757

    #AF1757

    oklch(49.5% 0.187 3.2)

  • #00763D

    #00763D

    oklch(49.6% 0.128 153.1)

  • #006E7F

    #006E7F

    oklch(49.5% 0.087 213.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1757

    #AF1757

    oklch(49.5% 0.187 3.2)

  • #556C00

    #556C00

    oklch(49.5% 0.121 123)

  • #0067A0

    #0067A0

    oklch(49.4% 0.12 243.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1757

    #AF1757

    oklch(49.5% 0.187 3.2)

  • #756000

    #756000

    oklch(49.5% 0.102 94)

  • #007267

    #007267

    oklch(49.6% 0.088 183.3)

  • #4450C9

    #4450C9

    oklch(49.5% 0.186 273.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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