#A51978

Closest named color: Red Violet (#9E0168). oklch(49.1% 0.192 345.4), rgb(165, 25, 120).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.192)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.01:1
White text6.97:1

Values

HEX#A51978
RGBrgb(165, 25, 120)
HSLhsl(319, 74%, 37%)
OKLCHoklch(49.1% 0.192 345.4)

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 #A51978 6.97:1 AA Lc -87.6 Fine for body text
Black text on #A51978 3.01:1 AA large text Lc 21.5 Dividers and decoration only
#A51978 text on white 6.97:1 AA Lc 82.5 Fine for body text
#A51978 text on black 3.01:1 AA large text Lc -19.4 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

    #F4CCE1

    oklch(88.5% 0.052 345.3)

  4. Step 300

    300

    #EDA9CE

    oklch(81% 0.092 345.5)

  5. Step 400

    400

    #E177B5

    oklch(70.7% 0.15 345.5)

  6. Step 500

    500

    #D54EA2

    oklch(63.1% 0.191 345.6)

  7. Step 600

    600

    #C02A8D

    oklch(55.6% 0.206 345.6)

  8. Step 700

    700 (this color)

    #A51978

    oklch(49.1% 0.192 345.4)

  9. Step 800

    800

    #861A62

    oklch(42.7% 0.159 345.3)

  10. Step 900

    900

    #6C1E50

    oklch(37.7% 0.124 345.3)

  11. Step 950

    950

    #40132F

    oklch(27.1% 0.079 345.4)

Export this scale for Tailwind in the Tailwind colors tool

#A51978 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)#304A7A0.217
Deuteranopia (no green cones)#5B61750.186
Tritanopia (no blue cones)#B115480.082
Achromatopsia (no color)#5959590.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #A51978

    #A51978

    oklch(49.1% 0.192 345.4)

  • #007252

    #007252

    oklch(48.9% 0.102 165.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A51978

    #A51978

    oklch(49.1% 0.192 345.4)

  • #882FA8

    #882FA8

    oklch(49% 0.192 315.5)

  • #B3093B

    #B3093B

    oklch(49% 0.192 15.2)

Open the analogous palette in the generator

Split complementary

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

  • #A51978

    #A51978

    oklch(49.1% 0.192 345.4)

  • #377100

    #377100

    oklch(49% 0.144 135.4)

  • #006F70

    #006F70

    oklch(49.1% 0.084 195.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A51978

    #A51978

    oklch(49.1% 0.192 345.4)

  • #696300

    #696300

    oklch(49% 0.104 105.5)

  • #006B88

    #006B88

    oklch(49.1% 0.093 224.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A51978

    #A51978

    oklch(49.1% 0.192 345.4)

  • #825700

    #825700

    oklch(49.1% 0.103 75.7)

  • #007252

    #007252

    oklch(48.9% 0.102 165.5)

  • #005EBA

    #005EBA

    oklch(49.1% 0.163 255.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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