#A7297F

Closest named color: Warm Purple (#952E8F). oklch(50.8% 0.183 343.8), rgb(167, 41, 127).

Aa

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

About this color

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

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

Values

HEX#A7297F
RGBrgb(167, 41, 127)
HSLhsl(319, 61%, 41%)
OKLCHoklch(50.8% 0.183 343.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 #A7297F 6.42:1 AA Lc -85.9 Fine for body text
Black text on #A7297F 3.26:1 AA large text Lc 23.3 Dividers and decoration only
#A7297F text on white 6.42:1 AA Lc 80.7 Fine for body text
#A7297F text on black 3.26:1 AA large text Lc -21.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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E3EE

    oklch(93.5% 0.026 343.3)

  3. Step 200

    200

    #F2CDE1

    oklch(88.5% 0.049 344.4)

  4. Step 300

    300

    #EAAACF

    oklch(80.9% 0.089 343.7)

  5. Step 400

    400

    #DD7AB6

    oklch(70.7% 0.142 344.1)

  6. Step 500

    500

    #D053A4

    oklch(63% 0.181 343.8)

  7. Step 600

    600

    #BB328F

    oklch(55.5% 0.196 343.8)

  8. Step 700

    700 (this color)

    #A7297F

    oklch(50.8% 0.183 343.8)

  9. Step 800

    800

    #832063

    oklch(42.7% 0.151 343.9)

  10. Step 900

    900

    #6A2151

    oklch(37.8% 0.118 343.9)

  11. Step 950

    950

    #3E152F

    oklch(27% 0.073 344.2)

Export this scale for Tailwind in the Tailwind colors tool

#A7297F 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)#3751810.203
Deuteranopia (no green cones)#5E667C0.177
Tritanopia (no blue cones)#B228510.078
Achromatopsia (no color)#5F5F5F0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #A7297F

    #A7297F

    oklch(50.8% 0.183 343.8)

  • #007854

    #007854

    oklch(50.7% 0.108 163.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A7297F

    #A7297F

    oklch(50.8% 0.183 343.8)

  • #8A3AAD

    #8A3AAD

    oklch(50.8% 0.183 313.8)

  • #B62045

    #B62045

    oklch(50.8% 0.183 13.8)

Open the analogous palette in the generator

Split complementary

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

  • #A7297F

    #A7297F

    oklch(50.8% 0.183 343.8)

  • #407600

    #407600

    oklch(50.8% 0.145 133.7)

  • #007574

    #007574

    oklch(50.9% 0.087 193.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A7297F

    #A7297F

    oklch(50.8% 0.183 343.8)

  • #706800

    #706800

    oklch(50.9% 0.108 104.3)

  • #00718E

    #00718E

    oklch(51% 0.095 223.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A7297F

    #A7297F

    oklch(50.8% 0.183 343.8)

  • #8A5A00

    #8A5A00

    oklch(50.8% 0.108 73.3)

  • #007854

    #007854

    oklch(50.7% 0.108 163.8)

  • #0064BE

    #0064BE

    oklch(50.7% 0.161 254)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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