#A7226A

Closest named color: Deep Magenta (#A0025C). oklch(49.4% 0.179 353.1), rgb(167, 34, 106).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.179)
Temperaturewarm
Nearest nameDeep Magenta (#A0025C)
Black text3.08:1
White text6.81:1

Values

HEX#A7226A
RGBrgb(167, 34, 106)
HSLhsl(328, 66%, 39%)
OKLCHoklch(49.4% 0.179 353.1)

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 #A7226A 6.81:1 AA Lc -87.2 Fine for body text
Black text on #A7226A 3.08:1 AA large text Lc 21.9 Dividers and decoration only
#A7226A text on white 6.81:1 AA Lc 82.1 Fine for body text
#A7226A text on black 3.08:1 AA large text Lc -19.8 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

    #F8E3EB

    oklch(93.5% 0.025 352.5)

  3. Step 200

    200

    #F4CDDC

    oklch(88.6% 0.048 353)

  4. Step 300

    300

    #EDAAC5

    oklch(80.9% 0.085 353.3)

  5. Step 400

    400

    #E17AA8

    oklch(70.7% 0.137 353)

  6. Step 500

    500

    #D65292

    oklch(63.1% 0.177 353.3)

  7. Step 600

    600

    #C1307D

    oklch(55.6% 0.193 353)

  8. Step 700

    700 (this color)

    #A7226A

    oklch(49.4% 0.179 353.1)

  9. Step 800

    800

    #871F56

    oklch(42.8% 0.148 353)

  10. Step 900

    900

    #6D2047

    oklch(37.7% 0.116 352.9)

  11. Step 950

    950

    #401429

    oklch(26.9% 0.073 353.5)

Export this scale for Tailwind in the Tailwind colors tool

#A7226A 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)#3D4B6C0.201
Deuteranopia (no green cones)#6263670.178
Tritanopia (no blue cones)#B412430.064
Achromatopsia (no color)#5B5B5B0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7226A

    #A7226A

    oklch(49.4% 0.179 353.1)

  • #00735C

    #00735C

    oklch(49.5% 0.096 172.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7226A

    #A7226A

    oklch(49.4% 0.179 353.1)

  • #8F329A

    #8F329A

    oklch(49.4% 0.178 323.3)

  • #B1202C

    #B1202C

    oklch(49.5% 0.179 23.2)

Open the analogous palette in the generator

Split complementary

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

  • #A7226A

    #A7226A

    oklch(49.4% 0.179 353.1)

  • #00770A

    #00770A

    oklch(49.4% 0.165 143.1)

  • #006F77

    #006F77

    oklch(49.4% 0.084 203.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7226A

    #A7226A

    oklch(49.4% 0.179 353.1)

  • #626700

    #626700

    oklch(49.3% 0.11 113.1)

  • #006A92

    #006A92

    oklch(49.4% 0.102 233.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7226A

    #A7226A

    oklch(49.4% 0.179 353.1)

  • #7D5B00

    #7D5B00

    oklch(49.4% 0.101 83.2)

  • #00735C

    #00735C

    oklch(49.5% 0.096 172.5)

  • #2758C5

    #2758C5

    oklch(49.4% 0.179 263.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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