#7E1F4F

Closest named color: Red Purple (#820747). oklch(40.9% 0.137 354.1), rgb(126, 31, 79).

Aa

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

About this color

#7E1F4F is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.137 and its hue 354°. 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.56:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.137)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.19:1
White text9.56:1

Values

HEX#7E1F4F
RGBrgb(126, 31, 79)
HSLhsl(330, 61%, 31%)
OKLCHoklch(40.9% 0.137 354.1)

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 #7E1F4F 9.56:1 AAA Lc -95.5 Preferred for body text
Black text on #7E1F4F 2.19:1 Fails Lc 12.9 Not readable
#7E1F4F text on white 9.56:1 AAA Lc 91.1 Preferred for body text
#7E1F4F text on black 2.19:1 Fails Lc -11.2 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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F7E4EB

    oklch(93.6% 0.023 353.2)

  3. Step 200

    200

    #F2CEDB

    oklch(88.6% 0.044 354.3)

  4. Step 300

    300

    #EBACC4

    oklch(81% 0.08 354.4)

  5. Step 400

    400

    #DE7DA6

    oklch(70.7% 0.128 354.1)

  6. Step 500

    500

    #D25890

    oklch(63.1% 0.164 354.2)

  7. Step 600

    600

    #BD397A

    oklch(55.7% 0.178 354.3)

  8. Step 700

    700

    #A22A67

    oklch(49.1% 0.165 354)

  9. Step 800

    800 (this color)

    #7E1F4F

    oklch(40.9% 0.137 354.1)

  10. Step 900

    900

    #6A2445

    oklch(37.6% 0.106 354.2)

  11. Step 950

    950

    #3F1629

    oklch(27.1% 0.069 353.7)

Export this scale for Tailwind in the Tailwind colors tool

#7E1F4F 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)#313A500.153
Deuteranopia (no green cones)#4B4C4D0.138
Tritanopia (no blue cones)#8816340.047
Achromatopsia (no color)#4545450.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E1F4F

    #7E1F4F

    oklch(40.9% 0.137 354.1)

  • #005747

    #005747

    oklch(40.8% 0.077 174.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E1F4F

    #7E1F4F

    oklch(40.9% 0.137 354.1)

  • #6C2973

    #6C2973

    oklch(40.9% 0.136 323.8)

  • #851F22

    #851F22

    oklch(41% 0.137 24.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E1F4F

    #7E1F4F

    oklch(40.9% 0.137 354.1)

  • #005B0E

    #005B0E

    oklch(40.9% 0.132 144.1)

  • #00555B

    #00555B

    oklch(41% 0.07 203.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E1F4F

    #7E1F4F

    oklch(40.9% 0.137 354.1)

  • #4A4F00

    #4A4F00

    oklch(40.9% 0.092 113.9)

  • #005171

    #005171

    oklch(41% 0.085 233.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E1F4F

    #7E1F4F

    oklch(40.9% 0.137 354.1)

  • #5F4500

    #5F4500

    oklch(40.8% 0.084 84)

  • #005747

    #005747

    oklch(40.8% 0.077 174.6)

  • #224493

    #224493

    oklch(41% 0.136 263.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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