#A12C7D

Closest named color: Warm Purple (#952E8F). oklch(50% 0.174 342.9), rgb(161, 44, 125).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (50%)
Chromavivid (0.174)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.17:1
White text6.62:1

Values

HEX#A12C7D
RGBrgb(161, 44, 125)
HSLhsl(318, 57%, 40%)
OKLCHoklch(50% 0.174 342.9)

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 #A12C7D 6.62:1 AA Lc -86.8 Fine for body text
Black text on #A12C7D 3.17:1 AA large text Lc 22.4 Dividers and decoration only
#A12C7D text on white 6.62:1 AA Lc 81.7 Fine for body text
#A12C7D text on black 3.17:1 AA large text Lc -20.2 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

    #F6E4EE

    oklch(93.6% 0.024 342.9)

  3. Step 200

    200

    #F0CDE1

    oklch(88.4% 0.047 342.8)

  4. Step 300

    300

    #E8ABCF

    oklch(80.9% 0.085 343)

  5. Step 400

    400

    #DA7DB7

    oklch(70.8% 0.135 343)

  6. Step 500

    500

    #CD57A5

    oklch(63.1% 0.173 342.8)

  7. Step 600

    600

    #B83890

    oklch(55.6% 0.187 342.8)

  8. Step 700

    700 (this color)

    #A12C7D

    oklch(50% 0.174 342.9)

  9. Step 800

    800

    #802463

    oklch(42.6% 0.144 343)

  10. Step 900

    900

    #682451

    oklch(37.8% 0.112 343.2)

  11. Step 950

    950

    #3D1630

    oklch(27% 0.071 342.3)

Export this scale for Tailwind in the Tailwind colors tool

#A12C7D 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)#37507F0.192
Deuteranopia (no green cones)#5C647A0.168
Tritanopia (no blue cones)#AB2D510.076
Achromatopsia (no color)#5D5D5D0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #A12C7D

    #A12C7D

    oklch(50% 0.174 342.9)

  • #007651

    #007651

    oklch(50% 0.108 162.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A12C7D

    #A12C7D

    oklch(50% 0.174 342.9)

  • #853CA8

    #853CA8

    oklch(50.1% 0.173 313)

  • #B02446

    #B02446

    oklch(50% 0.175 13.1)

Open the analogous palette in the generator

Split complementary

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

  • #A12C7D

    #A12C7D

    oklch(50% 0.174 342.9)

  • #417300

    #417300

    oklch(50% 0.141 132.9)

  • #007271

    #007271

    oklch(49.9% 0.085 193.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A12C7D

    #A12C7D

    oklch(50% 0.174 342.9)

  • #6F6500

    #6F6500

    oklch(50% 0.105 102.7)

  • #006E8A

    #006E8A

    oklch(50% 0.093 223.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A12C7D

    #A12C7D

    oklch(50% 0.174 342.9)

  • #875800

    #875800

    oklch(50% 0.106 73.3)

  • #007651

    #007651

    oklch(50% 0.108 162.9)

  • #0063B7

    #0063B7

    oklch(50% 0.154 252.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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