#A51777

Closest named color: Red Violet (#9E0168). oklch(48.9% 0.193 345.8), rgb(165, 23, 119).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.193)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.98:1
White text7.02:1

Values

HEX#A51777
RGBrgb(165, 23, 119)
HSLhsl(319, 76%, 37%)
OKLCHoklch(48.9% 0.193 345.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 #A51777 7.02:1 AAA Lc -87.7 Fine for body text
Black text on #A51777 2.98:1 Fails Lc 21.4 Dividers and decoration only
#A51777 text on white 7.02:1 AAA Lc 82.7 Fine for body text
#A51777 text on black 2.98:1 Fails Lc -19.3 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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3EE

    oklch(93.6% 0.027 344.6)

  3. Step 200

    200

    #F4CCE0

    oklch(88.5% 0.052 346.6)

  4. Step 300

    300

    #EDA8CE

    oklch(80.8% 0.094 345.2)

  5. Step 400

    400

    #E177B4

    oklch(70.7% 0.149 346)

  6. Step 500

    500

    #D54EA2

    oklch(63.1% 0.191 345.6)

  7. Step 600

    600

    #C1298D

    oklch(55.7% 0.208 345.9)

  8. Step 700

    700 (this color)

    #A51777

    oklch(48.9% 0.193 345.8)

  9. Step 800

    800

    #871961

    oklch(42.8% 0.16 346.1)

  10. Step 900

    900

    #6C1D4F

    oklch(37.6% 0.124 345.9)

  11. Step 950

    950

    #40132F

    oklch(27.1% 0.079 345.4)

Export this scale for Tailwind in the Tailwind colors tool

#A51777 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)#2F4A790.219
Deuteranopia (no green cones)#5B61740.187
Tritanopia (no blue cones)#B111470.081
Achromatopsia (no color)#5959590.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #A51777

    #A51777

    oklch(48.9% 0.193 345.8)

  • #007252

    #007252

    oklch(48.9% 0.102 165.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A51777

    #A51777

    oklch(48.9% 0.193 345.8)

  • #882EA8

    #882EA8

    oklch(48.9% 0.193 315.6)

  • #B30539

    #B30539

    oklch(48.9% 0.193 15.8)

Open the analogous palette in the generator

Split complementary

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

  • #A51777

    #A51777

    oklch(48.9% 0.193 345.8)

  • #357100

    #357100

    oklch(48.9% 0.145 135.9)

  • #006E6F

    #006E6F

    oklch(48.8% 0.083 195.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A51777

    #A51777

    oklch(48.9% 0.193 345.8)

  • #696300

    #696300

    oklch(49% 0.104 105.5)

  • #006A88

    #006A88

    oklch(48.8% 0.093 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A51777

    #A51777

    oklch(48.9% 0.193 345.8)

  • #815600

    #815600

    oklch(48.8% 0.103 75.4)

  • #007252

    #007252

    oklch(48.9% 0.102 165.5)

  • #005DBB

    #005DBB

    oklch(48.9% 0.166 255.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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