#AF1776

Closest named color: Red Violet (#9E0168). oklch(50.6% 0.199 349.3), rgb(175, 23, 118).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.199)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.20:1
White text6.54:1

Values

HEX#AF1776
RGBrgb(175, 23, 118)
HSLhsl(323, 77%, 39%)
OKLCHoklch(50.6% 0.199 349.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 #AF1776 6.54:1 AA Lc -85.8 Fine for body text
Black text on #AF1776 3.20:1 AA large text Lc 23.4 Dividers and decoration only
#AF1776 text on white 6.54:1 AA Lc 80.7 Fine for body text
#AF1776 text on black 3.20:1 AA large text Lc -21.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 700.

  1. Step 50

    50

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #F9E3ED

    oklch(93.6% 0.027 348.3)

  3. Step 200

    200

    #F6CBDE

    oklch(88.4% 0.054 349.9)

  4. Step 300

    300

    #F0A7CA

    oklch(80.8% 0.096 349.2)

  5. Step 400

    400

    #E575AF

    oklch(70.7% 0.153 349.4)

  6. Step 500

    500

    #DA4A9B

    oklch(63.1% 0.196 349.5)

  7. Step 600

    600

    #C52186

    oklch(55.6% 0.213 349.3)

  8. Step 700

    700 (this color)

    #AF1776

    oklch(50.6% 0.199 349.3)

  9. Step 800

    800

    #8A135C

    oklch(42.7% 0.165 349.5)

  10. Step 900

    900

    #6F1B4C

    oklch(37.7% 0.128 349.2)

  11. Step 950

    950

    #41122C

    oklch(27% 0.08 349.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF1776 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)#364D780.226
Deuteranopia (no green cones)#6367730.196
Tritanopia (no blue cones)#BC04470.077
Achromatopsia (no color)#5D5D5D0.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF1776

    #AF1776

    oklch(50.6% 0.199 349.3)

  • #00775B

    #00775B

    oklch(50.6% 0.101 169.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF1776

    #AF1776

    oklch(50.6% 0.199 349.3)

  • #932EAA

    #932EAA

    oklch(50.6% 0.199 319.5)

  • #BC0A33

    #BC0A33

    oklch(50.6% 0.199 19.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF1776

    #AF1776

    oklch(50.6% 0.199 349.3)

  • #277900

    #277900

    oklch(50.6% 0.161 139.3)

  • #007378

    #007378

    oklch(50.5% 0.086 200.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF1776

    #AF1776

    oklch(50.6% 0.199 349.3)

  • #6A6900

    #6A6900

    oklch(50.5% 0.11 109.1)

  • #006F92

    #006F92

    oklch(50.6% 0.1 228.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF1776

    #AF1776

    oklch(50.6% 0.199 349.3)

  • #855D00

    #855D00

    oklch(50.8% 0.105 79.4)

  • #00775B

    #00775B

    oklch(50.6% 0.101 169.2)

  • #005CD3

    #005CD3

    oklch(50.6% 0.198 259.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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