#A22F78

Closest named color: Warm Purple (#952E8F). oklch(50.2% 0.168 345.8), rgb(162, 47, 120).

Aa

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

About this color

#A22F78 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.168 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.048 away. White text reads best on it, at 6.53:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.168)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.21:1
White text6.53:1

Values

HEX#A22F78
RGBrgb(162, 47, 120)
HSLhsl(322, 55%, 41%)
OKLCHoklch(50.2% 0.168 345.8)

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 #A22F78 6.53:1 AA Lc -86.5 Fine for body text
Black text on #A22F78 3.21:1 AA large text Lc 22.7 Dividers and decoration only
#A22F78 text on white 6.53:1 AA Lc 81.4 Fine for body text
#A22F78 text on black 3.21:1 AA large text Lc -20.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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #F0CEDF

    oklch(88.5% 0.044 346.4)

  4. Step 300

    300

    #E8ACCC

    oklch(80.9% 0.081 345.8)

  5. Step 400

    400

    #DA7EB2

    oklch(70.8% 0.13 345.9)

  6. Step 500

    500

    #CD599F

    oklch(63.1% 0.166 345.7)

  7. Step 600

    600

    #B83A89

    oklch(55.5% 0.181 346)

  8. Step 700

    700 (this color)

    #A22F78

    oklch(50.2% 0.168 345.8)

  9. Step 800

    800

    #81265F

    oklch(42.8% 0.139 346)

  10. Step 900

    900

    #68254E

    oklch(37.8% 0.108 345.8)

  11. Step 950

    950

    #3D162E

    oklch(26.9% 0.07 344.9)

Export this scale for Tailwind in the Tailwind colors tool

#A22F78 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)#3D517A0.185
Deuteranopia (no green cones)#5F65750.164
Tritanopia (no blue cones)#AD2D4F0.069
Achromatopsia (no color)#5E5E5E0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #A22F78

    #A22F78

    oklch(50.2% 0.168 345.8)

  • #007656

    #007656

    oklch(50.2% 0.104 166.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A22F78

    #A22F78

    oklch(50.2% 0.168 345.8)

  • #883DA3

    #883DA3

    oklch(50.3% 0.168 316.1)

  • #AF2A42

    #AF2A42

    oklch(50.3% 0.168 15.9)

Open the analogous palette in the generator

Split complementary

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

  • #A22F78

    #A22F78

    oklch(50.2% 0.168 345.8)

  • #387500

    #387500

    oklch(50.1% 0.148 135.7)

  • #007374

    #007374

    oklch(50.3% 0.086 195.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A22F78

    #A22F78

    oklch(50.2% 0.168 345.8)

  • #6D6700

    #6D6700

    oklch(50.3% 0.107 105.6)

  • #006E8D

    #006E8D

    oklch(50.1% 0.096 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A22F78

    #A22F78

    oklch(50.2% 0.168 345.8)

  • #865A00

    #865A00

    oklch(50.3% 0.106 75.9)

  • #007656

    #007656

    oklch(50.2% 0.104 166.1)

  • #0461C1

    #0461C1

    oklch(50.3% 0.168 255.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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