#7E2540

Closest named color: Wine (#80013F). oklch(41% 0.124 6), rgb(126, 37, 64).

Aa

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

About this color

#7E2540 is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.124 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Wine (#80013F), ΔE 0.041 away. White text reads best on it, at 9.43:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.124)
Temperaturewarm
Nearest nameWine (#80013F)
Black text2.22:1
White text9.43:1

Values

HEX#7E2540
RGBrgb(126, 37, 64)
HSLhsl(342, 55%, 32%)
OKLCHoklch(41% 0.124 6)

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 #7E2540 9.43:1 AAA Lc -95.3 Preferred for body text
Black text on #7E2540 2.22:1 Fails Lc 13.0 Not readable
#7E2540 text on white 9.43:1 AAA Lc 90.9 Preferred for body text
#7E2540 text on black 2.22:1 Fails Lc -11.4 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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F7E4E8

    oklch(93.5% 0.021 3.1)

  3. Step 200

    200

    #F2CFD5

    oklch(88.6% 0.04 6.3)

  4. Step 300

    300

    #EAAEB9

    oklch(80.9% 0.071 6.6)

  5. Step 400

    400

    #DD8195

    oklch(70.7% 0.115 6.4)

  6. Step 500

    500

    #D15E7C

    oklch(63.2% 0.148 5.9)

  7. Step 600

    600

    #BC4065

    oklch(55.6% 0.161 5.8)

  8. Step 700

    700

    #A23154

    oklch(49.1% 0.15 5.8)

  9. Step 800

    800 (this color)

    #7E2540

    oklch(41% 0.124 6)

  10. Step 900

    900

    #6A273A

    oklch(37.6% 0.097 5.4)

  11. Step 950

    950

    #3E1822

    oklch(27% 0.061 5.5)

Export this scale for Tailwind in the Tailwind colors tool

#7E2540 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)#393B410.138
Deuteranopia (no green cones)#504D3E0.127
Tritanopia (no blue cones)#8917300.032
Achromatopsia (no color)#4646460.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E2540

    #7E2540

    oklch(41% 0.124 6)

  • #005750

    #005750

    oklch(41.1% 0.072 185.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E2540

    #7E2540

    oklch(41% 0.124 6)

  • #712A63

    #712A63

    oklch(40.9% 0.124 336)

  • #802A11

    #802A11

    oklch(41.1% 0.124 36.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E2540

    #7E2540

    oklch(41% 0.124 6)

  • #005A33

    #005A33

    oklch(41.1% 0.099 156.2)

  • #005464

    #005464

    oklch(41.1% 0.073 216.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E2540

    #7E2540

    oklch(41% 0.124 6)

  • #3C5400

    #3C5400

    oklch(41.1% 0.105 126.3)

  • #004E80

    #004E80

    oklch(41.1% 0.106 246.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E2540

    #7E2540

    oklch(41% 0.124 6)

  • #584A00

    #584A00

    oklch(41.1% 0.085 96.6)

  • #005750

    #005750

    oklch(41.1% 0.072 185.5)

  • #3A408C

    #3A408C

    oklch(41% 0.124 276)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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