#A42F7F

Closest named color: Warm Purple (#952E8F). oklch(50.9% 0.174 343.2), rgb(164, 47, 127).

Aa

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

About this color

#A42F7F is a medium-dark, vivid pink. In OKLCH its lightness is 51%, 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.043 away. White text reads best on it, at 6.37:1.

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

Values

HEX#A42F7F
RGBrgb(164, 47, 127)
HSLhsl(319, 55%, 41%)
OKLCHoklch(50.9% 0.174 343.2)

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 #A42F7F 6.37:1 AA Lc -85.8 Fine for body text
Black text on #A42F7F 3.29:1 AA large text Lc 23.4 Dividers and decoration only
#A42F7F text on white 6.37:1 AA Lc 80.7 Fine for body text
#A42F7F text on black 3.29:1 AA large text Lc -21.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

    #DA7DB6

    oklch(70.8% 0.134 343.5)

  6. Step 500

    500

    #CD57A4

    oklch(63.1% 0.173 343.2)

  7. Step 600

    600

    #B8388F

    oklch(55.6% 0.187 343.2)

  8. Step 700

    700 (this color)

    #A42F7F

    oklch(50.9% 0.174 343.2)

  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

    #3D162F

    oklch(27% 0.071 343.6)

Export this scale for Tailwind in the Tailwind colors tool

#A42F7F 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)#3A53810.192
Deuteranopia (no green cones)#5E667C0.167
Tritanopia (no blue cones)#AF2F530.075
Achromatopsia (no color)#5F5F5F0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #A42F7F

    #A42F7F

    oklch(50.9% 0.174 343.2)

  • #007953

    #007953

    oklch(51% 0.11 162.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A42F7F

    #A42F7F

    oklch(50.9% 0.174 343.2)

  • #883EAA

    #883EAA

    oklch(50.9% 0.174 313.5)

  • #B32848

    #B32848

    oklch(50.9% 0.174 13.3)

Open the analogous palette in the generator

Split complementary

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

  • #A42F7F

    #A42F7F

    oklch(50.9% 0.174 343.2)

  • #427600

    #427600

    oklch(50.9% 0.144 133.2)

  • #007573

    #007573

    oklch(50.8% 0.087 192.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A42F7F

    #A42F7F

    oklch(50.9% 0.174 343.2)

  • #716800

    #716800

    oklch(51% 0.107 103.6)

  • #00718D

    #00718D

    oklch(50.9% 0.095 222.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A42F7F

    #A42F7F

    oklch(50.9% 0.174 343.2)

  • #8A5A00

    #8A5A00

    oklch(50.8% 0.108 73.3)

  • #007953

    #007953

    oklch(51% 0.11 162.8)

  • #0065BC

    #0065BC

    oklch(50.8% 0.158 253.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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