#7E2C56

Closest named color: Red Purple (#820747). oklch(42.6% 0.123 351.8), rgb(126, 44, 86).

Aa

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

About this color

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

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

Values

HEX#7E2C56
RGBrgb(126, 44, 86)
HSLhsl(329, 48%, 33%)
OKLCHoklch(42.6% 0.123 351.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 #7E2C56 8.81:1 AAA Lc -94.0 Preferred for body text
Black text on #7E2C56 2.38:1 Fails Lc 14.5 Not readable
#7E2C56 text on white 8.81:1 AAA Lc 89.5 Fine for body text
#7E2C56 text on black 2.38:1 Fails Lc -12.8 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

    #D782A8

    oklch(70.8% 0.114 352.1)

  6. Step 500

    500

    #CA6093

    oklch(63.2% 0.146 352)

  7. Step 600

    600

    #B5437D

    oklch(55.6% 0.159 352)

  8. Step 700

    700

    #9B346A

    oklch(49.1% 0.148 351.5)

  9. Step 800

    800 (this color)

    #7E2C56

    oklch(42.6% 0.123 351.8)

  10. Step 900

    900

    #662947

    oklch(37.8% 0.095 351.9)

  11. Step 950

    950

    #3C192A

    oklch(27.1% 0.06 351.4)

Export this scale for Tailwind in the Tailwind colors tool

#7E2C56 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)#3841570.135
Deuteranopia (no green cones)#4E50540.122
Tritanopia (no blue cones)#87283D0.043
Achromatopsia (no color)#4A4A4A0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E2C56

    #7E2C56

    oklch(42.6% 0.123 351.8)

  • #005D49

    #005D49

    oklch(42.6% 0.083 171.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E2C56

    #7E2C56

    oklch(42.6% 0.123 351.8)

  • #6D3476

    #6D3476

    oklch(42.8% 0.122 322)

  • #852C2F

    #852C2F

    oklch(42.7% 0.122 22)

Open the analogous palette in the generator

Split complementary

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

  • #7E2C56

    #7E2C56

    oklch(42.6% 0.123 351.8)

  • #1E5E17

    #1E5E17

    oklch(42.5% 0.122 141.7)

  • #005A60

    #005A60

    oklch(42.6% 0.073 202.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E2C56

    #7E2C56

    oklch(42.6% 0.123 351.8)

  • #515300

    #515300

    oklch(42.6% 0.094 111.4)

  • #005676

    #005676

    oklch(42.6% 0.087 232.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E2C56

    #7E2C56

    oklch(42.6% 0.123 351.8)

  • #674900

    #674900

    oklch(42.7% 0.088 81.6)

  • #005D49

    #005D49

    oklch(42.6% 0.083 171.6)

  • #274B91

    #274B91

    oklch(42.6% 0.123 262.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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