#A12788

Closest named color: Warm Purple (#952E8F). oklch(50.1% 0.187 337.7), rgb(161, 39, 136).

Aa

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

About this color

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

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

Values

HEX#A12788
RGBrgb(161, 39, 136)
HSLhsl(312, 61%, 39%)
OKLCHoklch(50.1% 0.187 337.7)

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 #A12788 6.64:1 AA Lc -86.7 Fine for body text
Black text on #A12788 3.16:1 AA large text Lc 22.4 Dividers and decoration only
#A12788 text on white 6.64:1 AA Lc 81.6 Fine for body text
#A12788 text on black 3.16:1 AA large text Lc -20.3 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

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #F0CDE5

    oklch(88.5% 0.05 337.5)

  4. Step 300

    300

    #E7AAD5

    oklch(80.8% 0.09 337.6)

  5. Step 400

    400

    #D97BC0

    oklch(70.7% 0.144 337.8)

  6. Step 500

    500

    #CC54B0

    oklch(63.1% 0.185 337.7)

  7. Step 600

    600

    #B7329C

    oklch(55.5% 0.202 337.4)

  8. Step 700

    700 (this color)

    #A12788

    oklch(50.1% 0.187 337.7)

  9. Step 800

    800

    #80206C

    oklch(42.7% 0.155 337.7)

  10. Step 900

    900

    #672158

    oklch(37.6% 0.121 337.2)

  11. Step 950

    950

    #3D1533

    oklch(27% 0.076 338.3)

Export this scale for Tailwind in the Tailwind colors tool

#A12788 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)#2C508B0.206
Deuteranopia (no green cones)#5663850.176
Tritanopia (no blue cones)#AA2E550.090
Achromatopsia (no color)#5C5C5C0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #A12788

    #A12788

    oklch(50.1% 0.187 337.7)

  • #007748

    #007748

    oklch(50.1% 0.118 157.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A12788

    #A12788

    oklch(50.1% 0.187 337.7)

  • #813AB4

    #813AB4

    oklch(50.2% 0.187 307.7)

  • #B3194F

    #B3194F

    oklch(50.1% 0.187 8)

Open the analogous palette in the generator

Split complementary

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

  • #A12788

    #A12788

    oklch(50.1% 0.187 337.7)

  • #4E7000

    #4E7000

    oklch(50% 0.13 127.6)

  • #00736D

    #00736D

    oklch(50.1% 0.087 188.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A12788

    #A12788

    oklch(50.1% 0.187 337.7)

  • #746300

    #746300

    oklch(50.1% 0.103 97.4)

  • #006F85

    #006F85

    oklch(50% 0.09 217.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A12788

    #A12788

    oklch(50.1% 0.187 337.7)

  • #8C5500

    #8C5500

    oklch(50.1% 0.11 67.5)

  • #007748

    #007748

    oklch(50.1% 0.118 157.6)

  • #0067AB

    #0067AB

    oklch(50.1% 0.134 247.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #A12788.

Similar named colors

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

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