#A40F6E

Closest named color: Red Violet (#9E0168). oklch(48% 0.193 349.2), rgb(164, 15, 110).

Aa

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

About this color

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

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

Values

HEX#A40F6E
RGBrgb(164, 15, 110)
HSLhsl(322, 83%, 35%)
OKLCHoklch(48% 0.193 349.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 #A40F6E 7.31:1 AAA Lc -88.5 Fine for body text
Black text on #A40F6E 2.87:1 Fails Lc 20.5 Dividers and decoration only
#A40F6E text on white 7.31:1 AAA Lc 83.5 Fine for body text
#A40F6E text on black 2.87:1 Fails Lc -18.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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F9E3ED

    oklch(93.6% 0.027 348.3)

  3. Step 200

    200

    #F5CCDE

    oklch(88.5% 0.052 350)

  4. Step 300

    300

    #EFA8CA

    oklch(80.9% 0.094 349.1)

  5. Step 400

    400

    #E376AF

    oklch(70.6% 0.15 349)

  6. Step 500

    500

    #D84D9B

    oklch(63.1% 0.19 349.2)

  7. Step 600

    600

    #C32786

    oklch(55.6% 0.207 349.1)

  8. Step 700

    700 (this color)

    #A40F6E

    oklch(48% 0.193 349.2)

  9. Step 800

    800

    #88185C

    oklch(42.6% 0.159 349.2)

  10. Step 900

    900

    #6E1D4C

    oklch(37.8% 0.124 349)

  11. Step 950

    950

    #41132C

    oklch(27.1% 0.078 349.9)

Export this scale for Tailwind in the Tailwind colors tool

#A40F6E 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)#3046700.220
Deuteranopia (no green cones)#5B5F6B0.190
Tritanopia (no blue cones)#B100410.076
Achromatopsia (no color)#5656560.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #A40F6E

    #A40F6E

    oklch(48% 0.193 349.2)

  • #006E54

    #006E54

    oklch(47.8% 0.096 169.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A40F6E

    #A40F6E

    oklch(48% 0.193 349.2)

  • #8928A0

    #8928A0

    oklch(47.9% 0.193 319.1)

  • #B0002E

    #B0002E

    oklch(47.9% 0.192 19.2)

Open the analogous palette in the generator

Split complementary

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

  • #A40F6E

    #A40F6E

    oklch(48% 0.193 349.2)

  • #247000

    #247000

    oklch(47.9% 0.152 139.2)

  • #006B6F

    #006B6F

    oklch(47.9% 0.082 199.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A40F6E

    #A40F6E

    oklch(48% 0.193 349.2)

  • #626200

    #626200

    oklch(48% 0.105 109.8)

  • #006788

    #006788

    oklch(48% 0.095 229)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A40F6E

    #A40F6E

    oklch(48% 0.193 349.2)

  • #7B5600

    #7B5600

    oklch(48% 0.1 79.7)

  • #006E54

    #006E54

    oklch(47.8% 0.096 169.2)

  • #0055C4

    #0055C4

    oklch(47.9% 0.187 259.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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