#7E245C

Closest named color: Red Purple (#820747). oklch(42% 0.138 346.4), rgb(126, 36, 92).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.138)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.29:1
White text9.15:1

Values

HEX#7E245C
RGBrgb(126, 36, 92)
HSLhsl(323, 56%, 32%)
OKLCHoklch(42% 0.138 346.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 #7E245C 9.15:1 AAA Lc -94.6 Preferred for body text
Black text on #7E245C 2.29:1 Fails Lc 13.8 Not readable
#7E245C text on white 9.15:1 AAA Lc 90.2 Preferred for body text
#7E245C text on black 2.29:1 Fails Lc -12.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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #F0CEDF

    oklch(88.5% 0.044 346.4)

  4. Step 300

    300

    #E8ACCB

    oklch(80.9% 0.08 346.7)

  5. Step 400

    400

    #DA7EB1

    oklch(70.8% 0.129 346.5)

  6. Step 500

    500

    #CD5A9E

    oklch(63.2% 0.164 346.3)

  7. Step 600

    600

    #B83B88

    oklch(55.6% 0.179 346.6)

  8. Step 700

    700

    #9E2C74

    oklch(49.1% 0.166 346.2)

  9. Step 800

    800 (this color)

    #7E245C

    oklch(42% 0.138 346.4)

  10. Step 900

    900

    #68254D

    oklch(37.8% 0.108 346.6)

  11. Step 950

    950

    #3D172D

    oklch(27.1% 0.067 346.7)

Export this scale for Tailwind in the Tailwind colors tool

#7E245C 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)#2F3E5E0.152
Deuteranopia (no green cones)#494E5A0.135
Tritanopia (no blue cones)#87223C0.057
Achromatopsia (no color)#4848480.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E245C

    #7E245C

    oklch(42% 0.138 346.4)

  • #005C42

    #005C42

    oklch(42.1% 0.087 165.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E245C

    #7E245C

    oklch(42% 0.138 346.4)

  • #692F7E

    #692F7E

    oklch(42% 0.137 316.1)

  • #882132

    #882132

    oklch(42% 0.137 16.4)

Open the analogous palette in the generator

Split complementary

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

  • #7E245C

    #7E245C

    oklch(42% 0.138 346.4)

  • #285B00

    #285B00

    oklch(41.9% 0.125 136.3)

  • #00595A

    #00595A

    oklch(42.1% 0.072 196.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E245C

    #7E245C

    oklch(42% 0.138 346.4)

  • #534F00

    #534F00

    oklch(41.8% 0.089 106.3)

  • #00556F

    #00556F

    oklch(41.9% 0.081 227.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E245C

    #7E245C

    oklch(42% 0.138 346.4)

  • #684500

    #684500

    oklch(42% 0.088 76)

  • #005C42

    #005C42

    oklch(42.1% 0.087 165.9)

  • #094A96

    #094A96

    oklch(41.9% 0.139 256.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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