#A22A8C

Closest named color: Warm Purple (#952E8F). oklch(50.7% 0.187 336.5), rgb(162, 42, 140).

Aa

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

About this color

#A22A8C is a medium-dark, vivid pink. In OKLCH its lightness is 51%, its chroma 0.187 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.027 away. White text reads best on it, at 6.46:1.

Hue familyPinks
Lightnessmedium-dark (51%)
Chromavivid (0.187)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.24:1
White text6.46:1

Values

HEX#A22A8C
RGBrgb(162, 42, 140)
HSLhsl(311, 59%, 40%)
OKLCHoklch(50.7% 0.187 336.5)

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 #A22A8C 6.46:1 AA Lc -86.1 Fine for body text
Black text on #A22A8C 3.24:1 AA large text Lc 23.1 Dividers and decoration only
#A22A8C text on white 6.46:1 AA Lc 80.9 Fine for body text
#A22A8C text on black 3.24:1 AA large text Lc -20.9 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

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #F0CDE6

    oklch(88.5% 0.051 336.3)

  4. Step 300

    300

    #E7AAD7

    oklch(80.9% 0.092 336.2)

  5. Step 400

    400

    #D87BC2

    oklch(70.7% 0.145 336.4)

  6. Step 500

    500

    #CB54B2

    oklch(63% 0.185 336.5)

  7. Step 600

    600

    #B6339E

    oklch(55.5% 0.201 336.4)

  8. Step 700

    700 (this color)

    #A22A8C

    oklch(50.7% 0.187 336.5)

  9. Step 800

    800

    #7F216E

    oklch(42.7% 0.155 336.2)

  10. Step 900

    900

    #672259

    oklch(37.8% 0.121 336.6)

  11. Step 950

    950

    #3C1534

    oklch(26.9% 0.076 336.1)

Export this scale for Tailwind in the Tailwind colors tool

#A22A8C 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)#2C538F0.205
Deuteranopia (no green cones)#5665890.176
Tritanopia (no blue cones)#AB32580.092
Achromatopsia (no color)#5E5E5E0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #A22A8C

    #A22A8C

    oklch(50.7% 0.187 336.5)

  • #007947

    #007947

    oklch(50.7% 0.122 156.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A22A8C

    #A22A8C

    oklch(50.7% 0.187 336.5)

  • #813DB7

    #813DB7

    oklch(50.8% 0.187 306.4)

  • #B51C54

    #B51C54

    oklch(50.8% 0.187 6.4)

Open the analogous palette in the generator

Split complementary

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

  • #A22A8C

    #A22A8C

    oklch(50.7% 0.187 336.5)

  • #527200

    #527200

    oklch(50.8% 0.13 126.5)

  • #00756D

    #00756D

    oklch(50.6% 0.089 186.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A22A8C

    #A22A8C

    oklch(50.7% 0.187 336.5)

  • #776400

    #776400

    oklch(50.7% 0.104 96)

  • #007286

    #007286

    oklch(50.8% 0.09 215.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A22A8C

    #A22A8C

    oklch(50.7% 0.187 336.5)

  • #8F5600

    #8F5600

    oklch(50.7% 0.112 66.7)

  • #007947

    #007947

    oklch(50.7% 0.122 156.5)

  • #0069AB

    #0069AB

    oklch(50.6% 0.132 246.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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