#7F2C5A

Closest named color: Red Purple (#820747). oklch(43% 0.126 349.4), rgb(127, 44, 90).

Aa

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

About this color

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

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

Values

HEX#7F2C5A
RGBrgb(127, 44, 90)
HSLhsl(327, 49%, 34%)
OKLCHoklch(43% 0.126 349.4)

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 #7F2C5A 8.71:1 AAA Lc -93.7 Preferred for body text
Black text on #7F2C5A 2.41:1 Fails Lc 14.8 Not readable
#7F2C5A text on white 8.71:1 AAA Lc 89.2 Fine for body text
#7F2C5A 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

    #F6E4EC

    oklch(93.6% 0.022 348.8)

  3. Step 200

    200

    #EFCFDD

    oklch(88.5% 0.04 349.7)

  4. Step 300

    300

    #E6AEC8

    oklch(81% 0.073 349.3)

  5. Step 400

    400

    #D781AC

    oklch(70.7% 0.118 349.2)

  6. Step 500

    500

    #CA5F97

    oklch(63.2% 0.15 349.6)

  7. Step 600

    600

    #B54282

    oklch(55.7% 0.163 349.3)

  8. Step 700

    700

    #9B336E

    oklch(49.1% 0.151 349.1)

  9. Step 800

    800 (this color)

    #7F2C5A

    oklch(43% 0.126 349.4)

  10. Step 900

    900

    #662849

    oklch(37.7% 0.098 349.7)

  11. Step 950

    950

    #3C182B

    oklch(27% 0.063 349.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F2C5A 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)#37425B0.138
Deuteranopia (no green cones)#4E50580.123
Tritanopia (no blue cones)#88293F0.047
Achromatopsia (no color)#4B4B4B0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2C5A

    #7F2C5A

    oklch(43% 0.126 349.4)

  • #005E48

    #005E48

    oklch(42.9% 0.085 169.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2C5A

    #7F2C5A

    oklch(43% 0.126 349.4)

  • #6C347A

    #6C347A

    oklch(42.8% 0.126 319.3)

  • #872B33

    #872B33

    oklch(43% 0.125 19.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F2C5A

    #7F2C5A

    oklch(43% 0.126 349.4)

  • #235F0F

    #235F0F

    oklch(43% 0.126 139.5)

  • #005B5F

    #005B5F

    oklch(42.8% 0.073 200)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2C5A

    #7F2C5A

    oklch(43% 0.126 349.4)

  • #545300

    #545300

    oklch(42.9% 0.093 109)

  • #005875

    #005875

    oklch(43.1% 0.085 229.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2C5A

    #7F2C5A

    oklch(43% 0.126 349.4)

  • #694900

    #694900

    oklch(43% 0.089 79.8)

  • #005E48

    #005E48

    oklch(42.9% 0.085 169.8)

  • #214D93

    #214D93

    oklch(43% 0.125 259.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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