#7F2D58

Closest named color: Red Purple (#820747). oklch(43% 0.123 351), rgb(127, 45, 88).

Aa

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

About this color

#7F2D58 is a dark, moderately saturated red. In OKLCH its lightness is 43%, its chroma 0.123 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.050 away. White text reads best on it, at 8.68:1.

Hue familyReds
Lightnessdark (43%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.41:1
White text8.68:1

Values

HEX#7F2D58
RGBrgb(127, 45, 88)
HSLhsl(329, 48%, 34%)
OKLCHoklch(43% 0.123 351)

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 #7F2D58 8.68:1 AAA Lc -93.7 Preferred for body text
Black text on #7F2D58 2.41:1 Fails Lc 14.9 Not readable
#7F2D58 text on white 8.68:1 AAA Lc 89.1 Fine for body text
#7F2D58 text on black 2.41:1 Fails Lc -13.1 Not readable

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 800.

  1. Step 50

    50

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F6E4EB

    oklch(93.5% 0.022 351.9)

  3. Step 200

    200

    #EFCFDC

    oklch(88.5% 0.04 351.5)

  4. Step 300

    300

    #E6AEC6

    oklch(80.9% 0.072 351.3)

  5. Step 400

    400

    #D782A9

    oklch(70.8% 0.115 351.4)

  6. Step 500

    500

    #CA5F94

    oklch(63.1% 0.148 351.2)

  7. Step 600

    600

    #B5437F

    oklch(55.7% 0.16 350.9)

  8. Step 700

    700

    #9B346B

    oklch(49.1% 0.148 350.9)

  9. Step 800

    800 (this color)

    #7F2D58

    oklch(43% 0.123 351)

  10. Step 900

    900

    #662948

    oklch(37.8% 0.096 351)

  11. Step 950

    950

    #3C192A

    oklch(27.1% 0.06 351.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F2D58 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)#3842590.136
Deuteranopia (no green cones)#4F51560.122
Tritanopia (no blue cones)#88293E0.045
Achromatopsia (no color)#4B4B4B0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2D58

    #7F2D58

    oklch(43% 0.123 351)

  • #005E4A

    #005E4A

    oklch(42.9% 0.083 171.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2D58

    #7F2D58

    oklch(43% 0.123 351)

  • #6D3578

    #6D3578

    oklch(43% 0.122 320.8)

  • #862C31

    #862C31

    oklch(42.9% 0.123 20.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F2D58

    #7F2D58

    oklch(43% 0.123 351)

  • #215F16

    #215F16

    oklch(42.9% 0.123 140.9)

  • #005B60

    #005B60

    oklch(42.9% 0.073 201.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2D58

    #7F2D58

    oklch(43% 0.123 351)

  • #525400

    #525400

    oklch(43% 0.095 111.4)

  • #005876

    #005876

    oklch(43.1% 0.086 230.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2D58

    #7F2D58

    oklch(43% 0.123 351)

  • #684A00

    #684A00

    oklch(43% 0.089 81.9)

  • #005E4A

    #005E4A

    oklch(42.9% 0.083 171.7)

  • #264D92

    #264D92

    oklch(43.1% 0.122 260.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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