#A12662

Closest named color: Deep Magenta (#A0025C). oklch(48.4% 0.167 355.8), rgb(161, 38, 98).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.167)
Temperaturewarm
Nearest nameDeep Magenta (#A0025C)
Black text2.96:1
White text7.07:1

Values

HEX#A12662
RGBrgb(161, 38, 98)
HSLhsl(331, 62%, 39%)
OKLCHoklch(48.4% 0.167 355.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 #A12662 7.07:1 AAA Lc -88.3 Fine for body text
Black text on #A12662 2.96:1 Fails Lc 20.7 Dividers and decoration only
#A12662 text on white 7.07:1 AAA Lc 83.3 Fine for body text
#A12662 text on black 2.96:1 Fails Lc -18.7 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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F8E4EA

    oklch(93.7% 0.023 357.4)

  3. Step 200

    200

    #F3CEDA

    oklch(88.6% 0.044 356.5)

  4. Step 300

    300

    #ECABC2

    oklch(80.9% 0.081 356.1)

  5. Step 400

    400

    #DF7DA3

    oklch(70.8% 0.128 356.2)

  6. Step 500

    500

    #D3578D

    oklch(63.1% 0.165 355.7)

  7. Step 600

    600

    #BE3877

    oklch(55.6% 0.179 355.8)

  8. Step 700

    700 (this color)

    #A12662

    oklch(48.4% 0.167 355.8)

  9. Step 800

    800

    #852452

    oklch(42.8% 0.138 355.6)

  10. Step 900

    900

    #6B2444

    oklch(37.8% 0.107 355.5)

  11. Step 950

    950

    #3F1628

    oklch(27% 0.068 355.2)

Export this scale for Tailwind in the Tailwind colors tool

#A12662 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)#3F4A640.187
Deuteranopia (no green cones)#61615F0.168
Tritanopia (no blue cones)#AE16410.055
Achromatopsia (no color)#5858580.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #A12662

    #A12662

    oklch(48.4% 0.167 355.8)

  • #006F5C

    #006F5C

    oklch(48.4% 0.091 175.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A12662

    #A12662

    oklch(48.4% 0.167 355.8)

  • #8B3390

    #8B3390

    oklch(48.3% 0.166 325.6)

  • #A92727

    #A92727

    oklch(48.5% 0.167 26)

Open the analogous palette in the generator

Split complementary

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

  • #A12662

    #A12662

    oklch(48.4% 0.167 355.8)

  • #007321

    #007321

    oklch(48.3% 0.148 145.9)

  • #006C75

    #006C75

    oklch(48.5% 0.083 204.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A12662

    #A12662

    oklch(48.4% 0.167 355.8)

  • #5C6500

    #5C6500

    oklch(48.2% 0.11 115.7)

  • #006691

    #006691

    oklch(48.3% 0.104 236.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A12662

    #A12662

    oklch(48.4% 0.167 355.8)

  • #785900

    #785900

    oklch(48.3% 0.099 85)

  • #006F5C

    #006F5C

    oklch(48.4% 0.091 175.3)

  • #3155BB

    #3155BB

    oklch(48.4% 0.166 265.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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