#A40A58

Closest named color: Violet Red (#A50055). oklch(47% 0.186 359.2), rgb(164, 10, 88).

Aa

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

About this color

#A40A58 is a medium-dark, vivid red. In OKLCH its lightness is 47%, its chroma 0.186 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.006 away. White text reads best on it, at 7.60:1.

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.186)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text2.76:1
White text7.60:1

Values

HEX#A40A58
RGBrgb(164, 10, 88)
HSLhsl(330, 89%, 34%)
OKLCHoklch(47% 0.186 359.2)

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 #A40A58 7.60:1 AAA Lc -89.3 Fine for body text
Black text on #A40A58 2.76:1 Fails Lc 19.7 Dividers and decoration only
#A40A58 text on white 7.60:1 AAA Lc 84.3 Fine for body text
#A40A58 text on black 2.76:1 Fails Lc -17.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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3E9

    oklch(93.6% 0.026 359.9)

  3. Step 200

    200

    #F6CCD8

    oklch(88.5% 0.05 359.1)

  4. Step 300

    300

    #F1A9BF

    oklch(81% 0.089 359.3)

  5. Step 400

    400

    #E7779E

    oklch(70.7% 0.144 359.3)

  6. Step 500

    500

    #DC4E87

    oklch(63.1% 0.184 359)

  7. Step 600

    600

    #C72870

    oklch(55.6% 0.2 359.2)

  8. Step 700

    700 (this color)

    #A40A58

    oklch(47% 0.186 359.2)

  9. Step 800

    800

    #8B194D

    oklch(42.7% 0.153 359)

  10. Step 900

    900

    #701D40

    oklch(37.6% 0.12 359)

  11. Step 950

    950

    #421325

    oklch(27% 0.075 359.7)

Export this scale for Tailwind in the Tailwind colors tool

#A40A58 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)#38425A0.212
Deuteranopia (no green cones)#605D550.186
Tritanopia (no blue cones)#B300330.064
Achromatopsia (no color)#5454540.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #A40A58

    #A40A58

    oklch(47% 0.186 359.2)

  • #006A5C

    #006A5C

    oklch(47% 0.085 179.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A40A58

    #A40A58

    oklch(47% 0.186 359.2)

  • #8F228C

    #8F228C

    oklch(47.1% 0.186 329.3)

  • #AB0E09

    #AB0E09

    oklch(47% 0.186 29.1)

Open the analogous palette in the generator

Split complementary

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

  • #A40A58

    #A40A58

    oklch(47% 0.186 359.2)

  • #006E2D

    #006E2D

    oklch(47% 0.132 149.1)

  • #006773

    #006773

    oklch(47% 0.081 208.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A40A58

    #A40A58

    oklch(47% 0.186 359.2)

  • #546300

    #546300

    oklch(47% 0.111 119.5)

  • #00618F

    #00618F

    oklch(46.9% 0.106 239.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A40A58

    #A40A58

    oklch(47% 0.186 359.2)

  • #705700

    #705700

    oklch(46.9% 0.096 89.3)

  • #006A5C

    #006A5C

    oklch(47% 0.085 179.5)

  • #334BC1

    #334BC1

    oklch(47% 0.186 269.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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