#A8318C

Closest named color: Warm Purple (#952E8F). oklch(52.3% 0.183 338.8), rgb(168, 49, 140).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (52%)
Chromavivid (0.183)
Temperaturewarm
Nearest nameWarm Purple (#952E8F)
Black text3.48:1
White text6.02:1

Values

HEX#A8318C
RGBrgb(168, 49, 140)
HSLhsl(314, 55%, 43%)
OKLCHoklch(52.3% 0.183 338.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 #A8318C 6.02:1 AA Lc -84.3 Fine for body text
Black text on #A8318C 3.48:1 AA large text Lc 25.0 Dividers and decoration only
#A8318C text on white 6.02:1 AA Lc 79.1 Fine for body text
#A8318C text on black 3.48:1 AA large text Lc -22.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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #F0CDE4

    oklch(88.5% 0.049 338.8)

  4. Step 300

    300

    #E7ABD4

    oklch(80.9% 0.088 338.6)

  5. Step 400

    400

    #D97BBE

    oklch(70.7% 0.142 338.8)

  6. Step 500

    500

    #CC55AD

    oklch(63% 0.181 338.9)

  7. Step 600

    600

    #B73599

    oklch(55.6% 0.196 338.7)

  8. Step 700

    700 (this color)

    #A8318C

    oklch(52.3% 0.183 338.8)

  9. Step 800

    800

    #80226A

    oklch(42.8% 0.151 338.9)

  10. Step 900

    900

    #672256

    oklch(37.6% 0.118 338.7)

  11. Step 950

    950

    #3D1532

    oklch(27% 0.075 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#A8318C 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)#37578F0.199
Deuteranopia (no green cones)#5D6A890.174
Tritanopia (no blue cones)#B1365A0.086
Achromatopsia (no color)#6363630.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #A8318C

    #A8318C

    oklch(52.3% 0.183 338.8)

  • #007E4F

    #007E4F

    oklch(52.3% 0.121 158.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A8318C

    #A8318C

    oklch(52.3% 0.183 338.8)

  • #8842B8

    #8842B8

    oklch(52.3% 0.183 308.7)

  • #BA2754

    #BA2754

    oklch(52.4% 0.183 8.8)

Open the analogous palette in the generator

Split complementary

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

  • #A8318C

    #A8318C

    oklch(52.3% 0.183 338.8)

  • #507800

    #507800

    oklch(52.3% 0.139 129)

  • #007A74

    #007A74

    oklch(52.2% 0.091 188.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A8318C

    #A8318C

    oklch(52.3% 0.183 338.8)

  • #7A6A00

    #7A6A00

    oklch(52.4% 0.108 98.8)

  • #00768E

    #00768E

    oklch(52.3% 0.094 218.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A8318C

    #A8318C

    oklch(52.3% 0.183 338.8)

  • #945B00

    #945B00

    oklch(52.3% 0.115 68.3)

  • #007E4F

    #007E4F

    oklch(52.3% 0.121 158.7)

  • #006DB8

    #006DB8

    oklch(52.4% 0.144 248.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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