#A7256C

Closest named color: Deep Magenta (#A0025C). oklch(49.7% 0.177 352.4), rgb(167, 37, 108).

Aa

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

About this color

#A7256C is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.177 and its hue 352°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Magenta (#A0025C), ΔE 0.039 away. White text reads best on it, at 6.72:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameDeep Magenta (#A0025C)
Black text3.12:1
White text6.72:1

Values

HEX#A7256C
RGBrgb(167, 37, 108)
HSLhsl(327, 64%, 40%)
OKLCHoklch(49.7% 0.177 352.4)

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 #A7256C 6.72:1 AA Lc -86.9 Fine for body text
Black text on #A7256C 3.12:1 AA large text Lc 22.2 Dividers and decoration only
#A7256C text on white 6.72:1 AA Lc 81.8 Fine for body text
#A7256C text on black 3.12:1 AA large text Lc -20.1 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

    #F3CDDC

    oklch(88.5% 0.047 352.4)

  4. Step 300

    300

    #EDAAC6

    oklch(80.9% 0.086 352.4)

  5. Step 400

    400

    #E07AA9

    oklch(70.6% 0.137 352.1)

  6. Step 500

    500

    #D55494

    oklch(63.2% 0.175 352.4)

  7. Step 600

    600

    #C0327E

    oklch(55.6% 0.19 352.5)

  8. Step 700

    700 (this color)

    #A7256C

    oklch(49.7% 0.177 352.4)

  9. Step 800

    800

    #862057

    oklch(42.7% 0.146 352.2)

  10. Step 900

    900

    #6C2147

    oklch(37.7% 0.114 352.7)

  11. Step 950

    950

    #40152A

    oklch(27.1% 0.072 352.6)

Export this scale for Tailwind in the Tailwind colors tool

#A7256C 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)#3E4D6E0.198
Deuteranopia (no green cones)#6364690.175
Tritanopia (no blue cones)#B418450.064
Achromatopsia (no color)#5C5C5C0.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7256C

    #A7256C

    oklch(49.7% 0.177 352.4)

  • #00745C

    #00745C

    oklch(49.8% 0.097 171.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7256C

    #A7256C

    oklch(49.7% 0.177 352.4)

  • #8F349C

    #8F349C

    oklch(49.7% 0.177 322.5)

  • #B12330

    #B12330

    oklch(49.7% 0.177 22.3)

Open the analogous palette in the generator

Split complementary

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

  • #A7256C

    #A7256C

    oklch(49.7% 0.177 352.4)

  • #027800

    #027800

    oklch(49.6% 0.169 142.4)

  • #007077

    #007077

    oklch(49.6% 0.084 202.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7256C

    #A7256C

    oklch(49.7% 0.177 352.4)

  • #646800

    #646800

    oklch(49.7% 0.11 112.4)

  • #006B92

    #006B92

    oklch(49.6% 0.102 232.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7256C

    #A7256C

    oklch(49.7% 0.177 352.4)

  • #7F5C00

    #7F5C00

    oklch(49.8% 0.102 82.7)

  • #00745C

    #00745C

    oklch(49.8% 0.097 171.8)

  • #265AC5

    #265AC5

    oklch(49.8% 0.177 262.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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