#AF5274

Closest named color: Dark Rose (#B5485D). oklch(56.4% 0.127 358.9), rgb(175, 82, 116).

Aa

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

About this color

#AF5274 is a medium-dark, moderately saturated red. In OKLCH its lightness is 56%, its chroma 0.127 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Rose (#B5485D), ΔE 0.035 away. White text reads best on it, at 4.90:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.127)
Temperaturewarm
Nearest nameDark Rose (#B5485D)
Black text4.28:1
White text4.90:1

Values

HEX#AF5274
RGBrgb(175, 82, 116)
HSLhsl(338, 37%, 50%)
OKLCHoklch(56.4% 0.127 358.9)

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 #AF5274 4.90:1 AA Lc -78.9 Fine for body text
Black text on #AF5274 4.28:1 AA large text Lc 30.6 Non-text elements, placeholder text
#AF5274 text on white 4.90:1 AA Lc 73.5 Content text, not long reading
#AF5274 text on black 4.28:1 AA large text Lc -28.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 600.

  1. Step 50

    50

    #FAF3F5

    oklch(97% 0.008 357.8)

  2. Step 100

    100

    #F4E6E9

    oklch(93.7% 0.016 2.7)

  3. Step 200

    200

    #ECD1D9

    oklch(88.5% 0.032 357.9)

  4. Step 300

    300

    #E1B2C0

    oklch(81% 0.057 358.8)

  5. Step 400

    400

    #D0899F

    oklch(70.8% 0.091 359.6)

  6. Step 500

    500

    #C16A88

    oklch(63.1% 0.115 358.9)

  7. Step 600

    600 (this color)

    #AF5274

    oklch(56.4% 0.127 358.9)

  8. Step 700

    700

    #94405F

    oklch(49.1% 0.118 359.2)

  9. Step 800

    800

    #78354E

    oklch(42.7% 0.098 358.6)

  10. Step 900

    900

    #612F41

    oklch(37.7% 0.076 358.5)

  11. Step 950

    950

    #391C26

    oklch(27% 0.048 358.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF5274 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)#6166750.138
Deuteranopia (no green cones)#7977720.127
Tritanopia (no blue cones)#BC4B5F0.037
Achromatopsia (no color)#7171710.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5274

    #AF5274

    oklch(56.4% 0.127 358.9)

  • #008977

    #008977

    oklch(56.4% 0.103 179.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5274

    #AF5274

    oklch(56.4% 0.127 358.9)

  • #9D589A

    #9D589A

    oklch(56.4% 0.126 328.7)

  • #B45549

    #B45549

    oklch(56.5% 0.126 29)

Open the analogous palette in the generator

Split complementary

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

  • #AF5274

    #AF5274

    oklch(56.4% 0.127 358.9)

  • #35894A

    #35894A

    oklch(56.3% 0.126 149)

  • #008594

    #008594

    oklch(56.4% 0.097 208.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5274

    #AF5274

    oklch(56.4% 0.127 358.9)

  • #6E7F12

    #6E7F12

    oklch(56.3% 0.126 118.9)

  • #017EB7

    #017EB7

    oklch(56.4% 0.126 238.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5274

    #AF5274

    oklch(56.4% 0.127 358.9)

  • #917100

    #917100

    oklch(56.4% 0.115 88.9)

  • #008977

    #008977

    oklch(56.4% 0.103 179.2)

  • #5770C0

    #5770C0

    oklch(56.4% 0.127 269)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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