#A40D6C

Closest named color: Red Violet (#9E0168). oklch(47.8% 0.193 350), rgb(164, 13, 108).

Aa

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

About this color

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

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

Values

HEX#A40D6C
RGBrgb(164, 13, 108)
HSLhsl(322, 85%, 35%)
OKLCHoklch(47.8% 0.193 350)

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 #A40D6C 7.36:1 AAA Lc -88.6 Fine for body text
Black text on #A40D6C 2.85:1 Fails Lc 20.4 Dividers and decoration only
#A40D6C text on white 7.36:1 AAA Lc 83.6 Fine for body text
#A40D6C text on black 2.85:1 Fails Lc -18.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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #F9E3EC

    oklch(93.6% 0.027 350.9)

  3. Step 200

    200

    #F5CCDE

    oklch(88.5% 0.052 350)

  4. Step 300

    300

    #EFA8C9

    oklch(80.9% 0.093 349.9)

  5. Step 400

    400

    #E476AE

    oklch(70.7% 0.15 349.8)

  6. Step 500

    500

    #D94D99

    oklch(63.2% 0.19 350.3)

  7. Step 600

    600

    #C42684

    oklch(55.6% 0.208 350.1)

  8. Step 700

    700 (this color)

    #A40D6C

    oklch(47.8% 0.193 350)

  9. Step 800

    800

    #89175B

    oklch(42.7% 0.16 350)

  10. Step 900

    900

    #6E1D4B

    oklch(37.7% 0.124 349.7)

  11. Step 950

    950

    #41122C

    oklch(27% 0.08 349.5)

Export this scale for Tailwind in the Tailwind colors tool

#A40D6C 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)#30466E0.220
Deuteranopia (no green cones)#5B5F690.191
Tritanopia (no blue cones)#B1003F0.077
Achromatopsia (no color)#5656560.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #A40D6C

    #A40D6C

    oklch(47.8% 0.193 350)

  • #006E55

    #006E55

    oklch(47.9% 0.095 170)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A40D6C

    #A40D6C

    oklch(47.8% 0.193 350)

  • #8A279E

    #8A279E

    oklch(47.9% 0.193 320.3)

  • #B0002C

    #B0002C

    oklch(47.9% 0.192 19.9)

Open the analogous palette in the generator

Split complementary

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

  • #A40D6C

    #A40D6C

    oklch(47.8% 0.193 350)

  • #1F7000

    #1F7000

    oklch(47.8% 0.154 140)

  • #006B6F

    #006B6F

    oklch(47.9% 0.082 199.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A40D6C

    #A40D6C

    oklch(47.8% 0.193 350)

  • #616100

    #616100

    oklch(47.7% 0.104 109.8)

  • #006688

    #006688

    oklch(47.8% 0.095 230)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A40D6C

    #A40D6C

    oklch(47.8% 0.193 350)

  • #7A5600

    #7A5600

    oklch(47.9% 0.099 80.4)

  • #006E55

    #006E55

    oklch(47.9% 0.095 170)

  • #0253C7

    #0253C7

    oklch(47.8% 0.193 260)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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