#AF066F

Closest named color: Red Violet (#9E0168). oklch(49.7% 0.203 351.7), rgb(175, 6, 111).

Aa

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

About this color

#AF066F is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.203 and its hue 352°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.038 away. White text reads best on it, at 6.82:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.203)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.07:1
White text6.82:1

Values

HEX#AF066F
RGBrgb(175, 6, 111)
HSLhsl(323, 93%, 35%)
OKLCHoklch(49.7% 0.203 351.7)

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 #AF066F 6.82:1 AA Lc -86.4 Fine for body text
Black text on #AF066F 3.07:1 AA large text Lc 22.7 Dividers and decoration only
#AF066F text on white 6.82:1 AA Lc 81.3 Fine for body text
#AF066F text on black 3.07: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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE3EC

    oklch(93.7% 0.028 352)

  3. Step 200

    200

    #F7CBDD

    oklch(88.5% 0.055 351.8)

  4. Step 300

    300

    #F2A6C8

    oklch(80.8% 0.099 351.1)

  5. Step 400

    400

    #E873AB

    oklch(70.7% 0.157 351.9)

  6. Step 500

    500

    #DD4697

    oklch(63% 0.201 351.4)

  7. Step 600

    600

    #C91981

    oklch(55.7% 0.219 351.9)

  8. Step 700

    700 (this color)

    #AF066F

    oklch(49.7% 0.203 351.7)

  9. Step 800

    800

    #8C0D59

    oklch(42.6% 0.168 351.5)

  10. Step 900

    900

    #711849

    oklch(37.7% 0.131 351.7)

  11. Step 950

    950

    #43102B

    oklch(27% 0.084 351.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF066F 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)#3449710.233
Deuteranopia (no green cones)#62656C0.203
Tritanopia (no blue cones)#BD00400.080
Achromatopsia (no color)#5B5B5B0.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF066F

    #AF066F

    oklch(49.7% 0.203 351.7)

  • #00745C

    #00745C

    oklch(49.8% 0.097 171.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF066F

    #AF066F

    oklch(49.7% 0.203 351.7)

  • #9426A5

    #9426A5

    oklch(49.7% 0.204 321.9)

  • #B90029

    #B90029

    oklch(49.6% 0.2 21.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF066F

    #AF066F

    oklch(49.7% 0.203 351.7)

  • #107800

    #107800

    oklch(49.8% 0.166 141.7)

  • #007077

    #007077

    oklch(49.6% 0.084 202.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF066F

    #AF066F

    oklch(49.7% 0.203 351.7)

  • #656800

    #656800

    oklch(49.8% 0.11 111.7)

  • #006C92

    #006C92

    oklch(49.9% 0.101 231.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF066F

    #AF066F

    oklch(49.7% 0.203 351.7)

  • #805B00

    #805B00

    oklch(49.7% 0.103 81)

  • #00745C

    #00745C

    oklch(49.8% 0.097 171.8)

  • #1356D3

    #1356D3

    oklch(49.7% 0.203 261.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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