#7E1B56

Closest named color: Red Purple (#820747). oklch(40.8% 0.145 349.1), rgb(126, 27, 86).

Aa

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

About this color

#7E1B56 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.145 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.028 away. White text reads best on it, at 9.64:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.145)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.17:1
White text9.64:1

Values

HEX#7E1B56
RGBrgb(126, 27, 86)
HSLhsl(324, 65%, 30%)
OKLCHoklch(40.8% 0.145 349.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 #7E1B56 9.64:1 AAA Lc -95.5 Preferred for body text
Black text on #7E1B56 2.17:1 Fails Lc 12.8 Not readable
#7E1B56 text on white 9.64:1 AAA Lc 91.2 Preferred for body text
#7E1B56 text on black 2.17: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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E4EC

    oklch(93.6% 0.023 350.1)

  3. Step 200

    200

    #F2CDDE

    oklch(88.5% 0.047 348.7)

  4. Step 300

    300

    #EBABC9

    oklch(81% 0.084 349.4)

  5. Step 400

    400

    #DE7BAE

    oklch(70.7% 0.136 349)

  6. Step 500

    500

    #D2559A

    oklch(63.1% 0.174 349)

  7. Step 600

    600

    #BD3484

    oklch(55.6% 0.189 349.2)

  8. Step 700

    700

    #A32570

    oklch(49.2% 0.176 349.2)

  9. Step 800

    800 (this color)

    #7E1B56

    oklch(40.8% 0.145 349.1)

  10. Step 900

    900

    #6A224B

    oklch(37.6% 0.113 348.7)

  11. Step 950

    950

    #3F152C

    oklch(27% 0.072 349)

Export this scale for Tailwind in the Tailwind colors tool

#7E1B56 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)#2B3A580.163
Deuteranopia (no green cones)#484B540.143
Tritanopia (no blue cones)#8815360.056
Achromatopsia (no color)#4545450.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E1B56

    #7E1B56

    oklch(40.8% 0.145 349.1)

  • #005842

    #005842

    oklch(40.9% 0.082 168.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E1B56

    #7E1B56

    oklch(40.8% 0.145 349.1)

  • #6A277A

    #6A277A

    oklch(40.8% 0.145 319.3)

  • #871728

    #871728

    oklch(40.8% 0.145 19.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E1B56

    #7E1B56

    oklch(40.8% 0.145 349.1)

  • #1C5900

    #1C5900

    oklch(40.8% 0.129 139)

  • #005558

    #005558

    oklch(40.8% 0.069 198.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E1B56

    #7E1B56

    oklch(40.8% 0.145 349.1)

  • #4E4D00

    #4E4D00

    oklch(40.8% 0.088 108.9)

  • #00516D

    #00516D

    oklch(40.7% 0.081 230.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E1B56

    #7E1B56

    oklch(40.8% 0.145 349.1)

  • #624300

    #624300

    oklch(40.7% 0.085 78.8)

  • #005842

    #005842

    oklch(40.9% 0.082 168.6)

  • #0D4596

    #0D4596

    oklch(40.8% 0.144 259)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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