#AF4878

Closest named color: Light Plum (#9D5783). oklch(55.1% 0.144 353.8), rgb(175, 72, 120).

Aa

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

About this color

#AF4878 is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.144 and its hue 354°. Its hue sits on the warm side of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.043 away. White text reads best on it, at 5.22:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.144)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text4.02:1
White text5.22:1

Values

HEX#AF4878
RGBrgb(175, 72, 120)
HSLhsl(332, 42%, 48%)
OKLCHoklch(55.1% 0.144 353.8)

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 #AF4878 5.22:1 AA Lc -80.7 Fine for body text
Black text on #AF4878 4.02:1 AA large text Lc 28.8 Dividers and decoration only
#AF4878 text on white 5.22:1 AA Lc 75.3 Fine for body text
#AF4878 text on black 4.02:1 AA large text Lc -26.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 600.

  1. Step 50

    50

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F5E5EB

    oklch(93.6% 0.019 352.7)

  3. Step 200

    200

    #EED0DB

    oklch(88.6% 0.036 353.7)

  4. Step 300

    300

    #E3B0C4

    oklch(80.9% 0.065 353.2)

  5. Step 400

    400

    #D385A5

    oklch(70.7% 0.103 353.9)

  6. Step 500

    500

    #C5648F

    oklch(63% 0.132 353.7)

  7. Step 600

    600 (this color)

    #AF4878

    oklch(55.1% 0.144 353.8)

  8. Step 700

    700

    #973A66

    oklch(49% 0.133 353.7)

  9. Step 800

    800

    #7B3153

    oklch(42.7% 0.11 354.1)

  10. Step 900

    900

    #642C45

    oklch(37.8% 0.086 354)

  11. Step 950

    950

    #3B1A28

    oklch(27% 0.055 354.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF4878 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)#5761790.158
Deuteranopia (no green cones)#7373760.142
Tritanopia (no blue cones)#BB425B0.048
Achromatopsia (no color)#6C6C6C0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF4878

    #AF4878

    oklch(55.1% 0.144 353.8)

  • #00856D

    #00856D

    oklch(55% 0.105 174.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF4878

    #AF4878

    oklch(55.1% 0.144 353.8)

  • #9A50A1

    #9A50A1

    oklch(55.1% 0.145 324)

  • #B74947

    #B74947

    oklch(55.2% 0.144 24)

Open the analogous palette in the generator

Split complementary

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

  • #AF4878

    #AF4878

    oklch(55.1% 0.144 353.8)

  • #328634

    #328634

    oklch(55% 0.143 143.7)

  • #00818B

    #00818B

    oklch(55% 0.094 204.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF4878

    #AF4878

    oklch(55.1% 0.144 353.8)

  • #727900

    #727900

    oklch(55.1% 0.124 113.7)

  • #007CAA

    #007CAA

    oklch(55.2% 0.115 233.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF4878

    #AF4878

    oklch(55.1% 0.144 353.8)

  • #916B00

    #916B00

    oklch(55.1% 0.113 83.9)

  • #00856D

    #00856D

    oklch(55% 0.105 174.1)

  • #456DC5

    #456DC5

    oklch(55% 0.144 263.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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