#A02166

Closest named color: Deep Magenta (#A0025C). oklch(47.9% 0.173 352.9), rgb(160, 33, 102).

Aa

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

About this color

#A02166 is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.173 and its hue 353°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Magenta (#A0025C), ΔE 0.026 away. White text reads best on it, at 7.23:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.173)
Temperaturewarm
Nearest nameDeep Magenta (#A0025C)
Black text2.90:1
White text7.23:1

Values

HEX#A02166
RGBrgb(160, 33, 102)
HSLhsl(327, 66%, 38%)
OKLCHoklch(47.9% 0.173 352.9)

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 #A02166 7.23:1 AAA Lc -88.7 Fine for body text
Black text on #A02166 2.90:1 Fails Lc 20.3 Dividers and decoration only
#A02166 text on white 7.23:1 AAA Lc 83.8 Fine for body text
#A02166 text on black 2.90:1 Fails Lc -18.2 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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E4EB

    oklch(93.7% 0.024 354.3)

  3. Step 200

    200

    #F3CDDC

    oklch(88.5% 0.047 352.4)

  4. Step 300

    300

    #ECABC5

    oklch(81% 0.083 353.4)

  5. Step 400

    400

    #DF7BA8

    oklch(70.6% 0.134 352.7)

  6. Step 500

    500

    #D35593

    oklch(63% 0.171 352.5)

  7. Step 600

    600

    #BF357D

    oklch(55.7% 0.186 352.9)

  8. Step 700

    700 (this color)

    #A02166

    oklch(47.9% 0.173 352.9)

  9. Step 800

    800

    #852256

    oklch(42.7% 0.143 352.7)

  10. Step 900

    900

    #6B2247

    oklch(37.6% 0.112 352.4)

  11. Step 950

    950

    #3F1529

    oklch(26.9% 0.07 353.2)

Export this scale for Tailwind in the Tailwind colors tool

#A02166 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)#3A48680.194
Deuteranopia (no green cones)#5E5F630.172
Tritanopia (no blue cones)#AD12410.062
Achromatopsia (no color)#5757570.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #A02166

    #A02166

    oklch(47.9% 0.173 352.9)

  • #006E58

    #006E58

    oklch(48% 0.092 172.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A02166

    #A02166

    oklch(47.9% 0.173 352.9)

  • #893094

    #893094

    oklch(48% 0.172 323.1)

  • #A91F2B

    #A91F2B

    oklch(47.9% 0.172 22.9)

Open the analogous palette in the generator

Split complementary

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

  • #A02166

    #A02166

    oklch(47.9% 0.173 352.9)

  • #007205

    #007205

    oklch(47.9% 0.161 142.8)

  • #006B72

    #006B72

    oklch(48.1% 0.082 202.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A02166

    #A02166

    oklch(47.9% 0.173 352.9)

  • #5E6300

    #5E6300

    oklch(47.9% 0.107 113.2)

  • #00668C

    #00668C

    oklch(48% 0.099 232.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A02166

    #A02166

    oklch(47.9% 0.173 352.9)

  • #785700

    #785700

    oklch(47.9% 0.098 82.9)

  • #006E58

    #006E58

    oklch(48% 0.092 172.6)

  • #2455BD

    #2455BD

    oklch(48% 0.172 262.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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