#AF1D5C

Closest named color: Raspberry (#B00149). oklch(50% 0.184 1.5), rgb(175, 29, 92).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.15:1
White text6.66:1

Values

HEX#AF1D5C
RGBrgb(175, 29, 92)
HSLhsl(334, 72%, 40%)
OKLCHoklch(50% 0.184 1.5)

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 #AF1D5C 6.66:1 AA Lc -86.4 Fine for body text
Black text on #AF1D5C 3.15:1 AA large text Lc 22.8 Dividers and decoration only
#AF1D5C text on white 6.66:1 AA Lc 81.3 Fine for body text
#AF1D5C text on black 3.15:1 AA large text Lc -20.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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3E8

    oklch(93.6% 0.026 2.8)

  3. Step 200

    200

    #F6CCD7

    oklch(88.4% 0.049 0.6)

  4. Step 300

    300

    #F2A9BD

    oklch(81% 0.089 1.3)

  5. Step 400

    400

    #E7779A

    oklch(70.6% 0.143 1.6)

  6. Step 500

    500

    #DC4E82

    oklch(63% 0.182 1.3)

  7. Step 600

    600

    #C8296B

    oklch(55.6% 0.198 1.7)

  8. Step 700

    700 (this color)

    #AF1D5C

    oklch(50% 0.184 1.5)

  9. Step 800

    800

    #8C1949

    oklch(42.7% 0.153 1.6)

  10. Step 900

    900

    #701E3D

    oklch(37.7% 0.118 1.6)

  11. Step 950

    950

    #421324

    oklch(26.9% 0.075 1.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF1D5C 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)#434A5D0.208
Deuteranopia (no green cones)#6A66590.186
Tritanopia (no blue cones)#BF003B0.055
Achromatopsia (no color)#5C5C5C0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1D5C

    #AF1D5C

    oklch(50% 0.184 1.5)

  • #007466

    #007466

    oklch(50.1% 0.091 180.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1D5C

    #AF1D5C

    oklch(50% 0.184 1.5)

  • #9A2C91

    #9A2C91

    oklch(49.9% 0.184 331.5)

  • #B4230C

    #B4230C

    oklch(50% 0.183 31.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF1D5C

    #AF1D5C

    oklch(50% 0.184 1.5)

  • #007839

    #007839

    oklch(50.1% 0.134 151.3)

  • #007080

    #007080

    oklch(50% 0.087 211.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1D5C

    #AF1D5C

    oklch(50% 0.184 1.5)

  • #596D00

    #596D00

    oklch(50% 0.121 121.4)

  • #00699F

    #00699F

    oklch(49.8% 0.117 241.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1D5C

    #AF1D5C

    oklch(50% 0.184 1.5)

  • #796000

    #796000

    oklch(50% 0.102 90.9)

  • #007466

    #007466

    oklch(50.1% 0.091 180.6)

  • #4153CA

    #4153CA

    oklch(50% 0.184 271.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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