#A40157

Closest named color: Violet Red (#A50055). oklch(46.6% 0.189 359.2), rgb(164, 1, 87).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.189)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text2.72:1
White text7.71:1

Values

HEX#A40157
RGBrgb(164, 1, 87)
HSLhsl(328, 99%, 32%)
OKLCHoklch(46.6% 0.189 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 #A40157 7.71:1 AAA Lc -89.4 Fine for body text
Black text on #A40157 2.72:1 Fails Lc 19.6 Dividers and decoration only
#A40157 text on white 7.71:1 AAA Lc 84.4 Fine for body text
#A40157 text on black 2.72:1 Fails Lc -17.5 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

    #F7CCD8

    oklch(88.6% 0.051 359.6)

  4. Step 300

    300

    #F2A8BF

    oklch(80.9% 0.091 359.1)

  5. Step 400

    400

    #E8769E

    oklch(70.7% 0.147 359.3)

  6. Step 500

    500

    #DD4C86

    oklch(63.1% 0.187 359.3)

  7. Step 600

    600

    #C82570

    oklch(55.5% 0.203 359.2)

  8. Step 700

    700 (this color)

    #A40157

    oklch(46.6% 0.189 359.2)

  9. Step 800

    800

    #8C164D

    oklch(42.7% 0.157 358.9)

  10. Step 900

    900

    #711C40

    oklch(37.7% 0.122 359.1)

  11. Step 950

    950

    #431225

    oklch(27% 0.078 359.8)

Export this scale for Tailwind in the Tailwind colors tool

#A40157 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)#3641590.217
Deuteranopia (no green cones)#5F5D540.192
Tritanopia (no blue cones)#B300310.067
Achromatopsia (no color)#5353530.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #A40157

    #A40157

    oklch(46.6% 0.189 359.2)

  • #00695B

    #00695B

    oklch(46.6% 0.085 179.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A40157

    #A40157

    oklch(46.6% 0.189 359.2)

  • #8E1E8C

    #8E1E8C

    oklch(46.6% 0.189 328.9)

  • #AB0503

    #AB0503

    oklch(46.7% 0.189 29.2)

Open the analogous palette in the generator

Split complementary

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

  • #A40157

    #A40157

    oklch(46.6% 0.189 359.2)

  • #006D2D

    #006D2D

    oklch(46.7% 0.131 149.3)

  • #006672

    #006672

    oklch(46.7% 0.08 208.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A40157

    #A40157

    oklch(46.6% 0.189 359.2)

  • #536200

    #536200

    oklch(46.7% 0.11 119.5)

  • #00608E

    #00608E

    oklch(46.6% 0.106 239.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A40157

    #A40157

    oklch(46.6% 0.189 359.2)

  • #6F5600

    #6F5600

    oklch(46.6% 0.095 89.1)

  • #00695B

    #00695B

    oklch(46.6% 0.085 179.4)

  • #3249C1

    #3249C1

    oklch(46.6% 0.189 269.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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