#7E2F5A

Closest named color: Red Purple (#820747). oklch(43.2% 0.12 349.5), rgb(126, 47, 90).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (43%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.44:1
White text8.60:1

Values

HEX#7E2F5A
RGBrgb(126, 47, 90)
HSLhsl(327, 46%, 34%)
OKLCHoklch(43.2% 0.12 349.5)

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 #7E2F5A 8.60:1 AAA Lc -93.5 Preferred for body text
Black text on #7E2F5A 2.44:1 Fails Lc 15.1 Dividers and decoration only
#7E2F5A text on white 8.60:1 AAA Lc 88.9 Fine for body text
#7E2F5A text on black 2.44:1 Fails Lc -13.3 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

    #F5E5EC

    oklch(93.7% 0.02 349.1)

  3. Step 200

    200

    #EECFDD

    oklch(88.4% 0.039 348.9)

  4. Step 300

    300

    #E4AFC7

    oklch(80.9% 0.069 349.9)

  5. Step 400

    400

    #D583AB

    oklch(70.8% 0.112 349.7)

  6. Step 500

    500

    #C76196

    oklch(63% 0.143 349.6)

  7. Step 600

    600

    #B24581

    oklch(55.5% 0.156 349.2)

  8. Step 700

    700

    #99366D

    oklch(49.1% 0.145 349.4)

  9. Step 800

    800 (this color)

    #7E2F5A

    oklch(43.2% 0.12 349.5)

  10. Step 900

    900

    #652A49

    oklch(37.8% 0.093 349.8)

  11. Step 950

    950

    #3B192B

    oklch(27% 0.059 348.8)

Export this scale for Tailwind in the Tailwind colors tool

#7E2F5A 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)#39435B0.131
Deuteranopia (no green cones)#4F51580.118
Tritanopia (no blue cones)#872C400.045
Achromatopsia (no color)#4C4C4C0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E2F5A

    #7E2F5A

    oklch(43.2% 0.12 349.5)

  • #005F49

    #005F49

    oklch(43.2% 0.085 170)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E2F5A

    #7E2F5A

    oklch(43.2% 0.12 349.5)

  • #6C3779

    #6C3779

    oklch(43.2% 0.119 319.4)

  • #862E34

    #862E34

    oklch(43.2% 0.12 19.8)

Open the analogous palette in the generator

Split complementary

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

  • #7E2F5A

    #7E2F5A

    oklch(43.2% 0.12 349.5)

  • #275F16

    #275F16

    oklch(43.2% 0.12 139.5)

  • #005C60

    #005C60

    oklch(43.2% 0.073 200)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E2F5A

    #7E2F5A

    oklch(43.2% 0.12 349.5)

  • #545400

    #545400

    oklch(43.2% 0.094 109.8)

  • #005876

    #005876

    oklch(43.1% 0.086 230.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E2F5A

    #7E2F5A

    oklch(43.2% 0.12 349.5)

  • #6A4900

    #6A4900

    oklch(43.1% 0.089 79)

  • #005F49

    #005F49

    oklch(43.2% 0.085 170)

  • #244E91

    #244E91

    oklch(43.2% 0.12 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 #7E2F5A, closest first.

Similar named colors

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

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