#AF0662

Closest named color: Violet Red (#A50055). oklch(49.2% 0.198 357.3), rgb(175, 6, 98).

Aa

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

About this color

#AF0662 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.198 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.028 away. White text reads best on it, at 6.94:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.198)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text3.02:1
White text6.94:1

Values

HEX#AF0662
RGBrgb(175, 6, 98)
HSLhsl(327, 93%, 35%)
OKLCHoklch(49.2% 0.198 357.3)

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 #AF0662 6.94:1 AA Lc -86.9 Fine for body text
Black text on #AF0662 3.02:1 AA large text Lc 22.3 Dividers and decoration only
#AF0662 text on white 6.94:1 AA Lc 81.8 Fine for body text
#AF0662 text on black 3.02:1 AA large text Lc -20.1 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

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F8CBD9

    oklch(88.5% 0.054 357.7)

  4. Step 300

    300

    #F4A7C1

    oklch(81% 0.096 357.6)

  5. Step 400

    400

    #EA74A1

    oklch(70.8% 0.153 357.6)

  6. Step 500

    500

    #DF488A

    oklch(63.1% 0.195 357.5)

  7. Step 600

    600

    #CA1C74

    oklch(55.5% 0.212 357.3)

  8. Step 700

    700 (this color)

    #AF0662

    oklch(49.2% 0.198 357.3)

  9. Step 800

    800

    #8E0F50

    oklch(42.7% 0.165 357.2)

  10. Step 900

    900

    #721942

    oklch(37.7% 0.128 357.3)

  11. Step 950

    950

    #431127

    oklch(27% 0.081 356.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF0662 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)#3A47640.226
Deuteranopia (no green cones)#65645F0.200
Tritanopia (no blue cones)#BE00390.071
Achromatopsia (no color)#5A5A5A0.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0662

    #AF0662

    oklch(49.2% 0.198 357.3)

  • #007260

    #007260

    oklch(49.3% 0.092 176.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0662

    #AF0662

    oklch(49.2% 0.198 357.3)

  • #972499

    #972499

    oklch(49.2% 0.197 327.3)

  • #B70613

    #B70613

    oklch(49.2% 0.198 27.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF0662

    #AF0662

    oklch(49.2% 0.198 357.3)

  • #007629

    #007629

    oklch(49.3% 0.146 147.2)

  • #006E7A

    #006E7A

    oklch(49.2% 0.085 207.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0662

    #AF0662

    oklch(49.2% 0.198 357.3)

  • #5D6900

    #5D6900

    oklch(49.3% 0.114 117.3)

  • #006996

    #006996

    oklch(49.3% 0.107 236.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0662

    #AF0662

    oklch(49.2% 0.198 357.3)

  • #795C00

    #795C00

    oklch(49.1% 0.1 87.1)

  • #007260

    #007260

    oklch(49.3% 0.092 176.7)

  • #3051CF

    #3051CF

    oklch(49.2% 0.198 267.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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