#7E2A4E

Closest named color: Red Purple (#820747). oklch(42.1% 0.122 357.2), rgb(126, 42, 78).

Aa

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

About this color

#7E2A4E is a dark, moderately saturated red. In OKLCH its lightness is 42%, its chroma 0.122 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.042 away. White text reads best on it, at 9.01:1.

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.32:1
White text9.01:1

Values

HEX#7E2A4E
RGBrgb(126, 42, 78)
HSLhsl(334, 50%, 33%)
OKLCHoklch(42.1% 0.122 357.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 #7E2A4E 9.01:1 AAA Lc -94.4 Preferred for body text
Black text on #7E2A4E 2.32:1 Fails Lc 14.0 Not readable
#7E2A4E text on white 9.01:1 AAA Lc 90.0 Fine for body text
#7E2A4E text on black 2.32:1 Fails Lc -12.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

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F6E4EA

    oklch(93.5% 0.021 355.2)

  3. Step 200

    200

    #F0CFD9

    oklch(88.5% 0.039 357.7)

  4. Step 300

    300

    #E7AEC1

    oklch(80.9% 0.071 357)

  5. Step 400

    400

    #D982A1

    oklch(70.8% 0.113 357.5)

  6. Step 500

    500

    #CC5F8A

    oklch(63% 0.145 357.3)

  7. Step 600

    600

    #B74374

    oklch(55.6% 0.157 357.3)

  8. Step 700

    700

    #9D3362

    oklch(49% 0.147 356.7)

  9. Step 800

    800 (this color)

    #7E2A4E

    oklch(42.1% 0.122 357.2)

  10. Step 900

    900

    #672942

    oklch(37.7% 0.094 357.3)

  11. Step 950

    950

    #3D1827

    oklch(27% 0.061 356.5)

Export this scale for Tailwind in the Tailwind colors tool

#7E2A4E 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)#393F4F0.135
Deuteranopia (no green cones)#4F4F4C0.123
Tritanopia (no blue cones)#8823380.039
Achromatopsia (no color)#4949490.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E2A4E

    #7E2A4E

    oklch(42.1% 0.122 357.2)

  • #005B4D

    #005B4D

    oklch(42.1% 0.078 177.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E2A4E

    #7E2A4E

    oklch(42.1% 0.122 357.2)

  • #6F316F

    #6F316F

    oklch(42.2% 0.121 327.5)

  • #832B26

    #832B26

    oklch(42% 0.122 26.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E2A4E

    #7E2A4E

    oklch(42.1% 0.122 357.2)

  • #055E21

    #055E21

    oklch(42.1% 0.121 147.3)

  • #005861

    #005861

    oklch(42.1% 0.072 206.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E2A4E

    #7E2A4E

    oklch(42.1% 0.122 357.2)

  • #4A5400

    #4A5400

    oklch(42.2% 0.098 117.4)

  • #005479

    #005479

    oklch(42.2% 0.092 236.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E2A4E

    #7E2A4E

    oklch(42.1% 0.122 357.2)

  • #614900

    #614900

    oklch(41.9% 0.086 87)

  • #005B4D

    #005B4D

    oklch(42.1% 0.078 177.5)

  • #30478F

    #30478F

    oklch(42% 0.122 267.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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