#AF2255

Closest named color: Raspberry (#B00149). oklch(50.1% 0.178 5.4), rgb(175, 34, 85).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.18:1
White text6.59:1

Values

HEX#AF2255
RGBrgb(175, 34, 85)
HSLhsl(338, 67%, 41%)
OKLCHoklch(50.1% 0.178 5.4)

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 #AF2255 6.59:1 AA Lc -86.3 Fine for body text
Black text on #AF2255 3.18:1 AA large text Lc 22.9 Dividers and decoration only
#AF2255 text on white 6.59:1 AA Lc 81.1 Fine for body text
#AF2255 text on black 3.18:1 AA large text Lc -20.7 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

    #FAE3E7

    oklch(93.6% 0.026 5.7)

  3. Step 200

    200

    #F6CDD4

    oklch(88.5% 0.047 6.5)

  4. Step 300

    300

    #F1AAB9

    oklch(81% 0.085 5.2)

  5. Step 400

    400

    #E77994

    oklch(70.7% 0.138 5.6)

  6. Step 500

    500

    #DC517A

    oklch(63.1% 0.176 5.5)

  7. Step 600

    600

    #C72E63

    oklch(55.6% 0.191 5.6)

  8. Step 700

    700 (this color)

    #AF2255

    oklch(50.1% 0.178 5.4)

  9. Step 800

    800

    #8B1D43

    oklch(42.7% 0.147 5.7)

  10. Step 900

    900

    #701F39

    oklch(37.6% 0.115 5.1)

  11. Step 950

    950

    #421421

    oklch(27% 0.072 5.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF2255 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)#474B560.201
Deuteranopia (no green cones)#6C67520.182
Tritanopia (no blue cones)#BF00390.048
Achromatopsia (no color)#5D5D5D0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2255

    #AF2255

    oklch(50.1% 0.178 5.4)

  • #00736A

    #00736A

    oklch(50% 0.088 185.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2255

    #AF2255

    oklch(50.1% 0.178 5.4)

  • #9C2E8A

    #9C2E8A

    oklch(50% 0.177 335.2)

  • #B12D00

    #B12D00

    oklch(50.2% 0.174 35.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF2255

    #AF2255

    oklch(50.1% 0.178 5.4)

  • #007744

    #007744

    oklch(50% 0.122 155.7)

  • #007083

    #007083

    oklch(50.2% 0.089 214.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2255

    #AF2255

    oklch(50.1% 0.178 5.4)

  • #526F00

    #526F00

    oklch(50% 0.127 125.6)

  • #0068A7

    #0068A7

    oklch(50.1% 0.128 245.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2255

    #AF2255

    oklch(50.1% 0.178 5.4)

  • #766200

    #766200

    oklch(50.1% 0.103 95)

  • #00736A

    #00736A

    oklch(50% 0.088 185.4)

  • #4B52C6

    #4B52C6

    oklch(50.1% 0.178 275.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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