#7E1C42

Closest named color: Red Purple (#820747). oklch(40.2% 0.135 2.3), rgb(126, 28, 66).

Aa

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

About this color

#7E1C42 is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.135 and its hue 2°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.025 away. White text reads best on it, at 9.85:1.

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.135)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.13:1
White text9.85:1

Values

HEX#7E1C42
RGBrgb(126, 28, 66)
HSLhsl(337, 64%, 30%)
OKLCHoklch(40.2% 0.135 2.3)

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 #7E1C42 9.85:1 AAA Lc -96.0 Preferred for body text
Black text on #7E1C42 2.13:1 Fails Lc 12.3 Not readable
#7E1C42 text on white 9.85:1 AAA Lc 91.7 Preferred for body text
#7E1C42 text on black 2.13:1 Fails Lc -10.7 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 900.

  1. Step 50

    50

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FCE2E8

    oklch(93.6% 0.03 2)

  3. Step 200

    200

    #FACAD6

    oklch(88.4% 0.056 1.6)

  4. Step 300

    300

    #F8A5BB

    oklch(80.9% 0.101 2.3)

  5. Step 400

    400

    #F07098

    oklch(70.8% 0.162 2.4)

  6. Step 500

    500

    #E63F7F

    oklch(63% 0.208 2.1)

  7. Step 600

    600

    #D10068

    oklch(55.6% 0.224 2.4)

  8. Step 700

    700

    #B10057

    oklch(49.1% 0.198 2.4)

  9. Step 800

    800

    #920047

    oklch(42.6% 0.172 2.2)

  10. Step 900

    900 (this color)

    #7E1C42

    oklch(40.2% 0.135 2.3)

  11. Step 950

    950

    #460E23

    oklch(27% 0.087 2.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E1C42 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)#3337430.152
Deuteranopia (no green cones)#4D4A400.137
Tritanopia (no blue cones)#89082C0.039
Achromatopsia (no color)#4343430.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E1C42

    #7E1C42

    oklch(40.2% 0.135 2.3)

  • #00544B

    #00544B

    oklch(40% 0.071 182.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E1C42

    #7E1C42

    oklch(40.2% 0.135 2.3)

  • #6F2467

    #6F2467

    oklch(40.1% 0.135 332.3)

  • #81200F

    #81200F

    oklch(40.1% 0.135 32.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E1C42

    #7E1C42

    oklch(40.2% 0.135 2.3)

  • #00572A

    #00572A

    oklch(40% 0.104 152.4)

  • #00525E

    #00525E

    oklch(40.2% 0.07 211.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E1C42

    #7E1C42

    oklch(40.2% 0.135 2.3)

  • #3F5000

    #3F5000

    oklch(40.2% 0.098 122.6)

  • #004D77

    #004D77

    oklch(40.3% 0.096 242)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E1C42

    #7E1C42

    oklch(40.2% 0.135 2.3)

  • #584600

    #584600

    oklch(40.2% 0.082 92)

  • #00544B

    #00544B

    oklch(40% 0.071 182.6)

  • #313E90

    #313E90

    oklch(40.3% 0.135 272.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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