#7E2F4E

Closest named color: Brownish Purple (#76424E). oklch(42.7% 0.114 358.7), rgb(126, 47, 78).

Aa

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

About this color

#7E2F4E is a dark, moderately saturated red. In OKLCH its lightness is 43%, its chroma 0.114 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Brownish Purple (#76424E), ΔE 0.046 away. White text reads best on it, at 8.73:1.

Hue familyReds
Lightnessdark (43%)
Chromamoderately saturated (0.114)
Temperaturewarm
Nearest nameBrownish Purple (#76424E)
Black text2.40:1
White text8.73:1

Values

HEX#7E2F4E
RGBrgb(126, 47, 78)
HSLhsl(336, 46%, 34%)
OKLCHoklch(42.7% 0.114 358.7)

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 #7E2F4E 8.73:1 AAA Lc -93.8 Preferred for body text
Black text on #7E2F4E 2.40:1 Fails Lc 14.7 Not readable
#7E2F4E text on white 8.73:1 AAA Lc 89.3 Fine for body text
#7E2F4E text on black 2.40:1 Fails Lc -12.9 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

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F6E5E9

    oklch(93.7% 0.019 1.4)

  3. Step 200

    200

    #EFD0D9

    oklch(88.6% 0.037 358.4)

  4. Step 300

    300

    #E6AFC0

    oklch(80.9% 0.068 358.4)

  5. Step 400

    400

    #D6849F

    oklch(70.7% 0.106 358.9)

  6. Step 500

    500

    #C96288

    oklch(63% 0.137 358.5)

  7. Step 600

    600

    #B44772

    oklch(55.6% 0.148 358.5)

  8. Step 700

    700

    #9B385F

    oklch(49.2% 0.137 359)

  9. Step 800

    800 (this color)

    #7E2F4E

    oklch(42.7% 0.114 358.7)

  10. Step 900

    900

    #662B41

    oklch(37.8% 0.089 358.8)

  11. Step 950

    950

    #3C1A26

    oklch(27.1% 0.056 359.1)

Export this scale for Tailwind in the Tailwind colors tool

#7E2F4E 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)#3D424F0.126
Deuteranopia (no green cones)#52504C0.114
Tritanopia (no blue cones)#88283B0.034
Achromatopsia (no color)#4B4B4B0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E2F4E

    #7E2F4E

    oklch(42.7% 0.114 358.7)

  • #005D50

    #005D50

    oklch(42.8% 0.078 178.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E2F4E

    #7E2F4E

    oklch(42.7% 0.114 358.7)

  • #70356E

    #70356E

    oklch(42.9% 0.114 328.6)

  • #823128

    #823128

    oklch(42.7% 0.114 29)

Open the analogous palette in the generator

Split complementary

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

  • #7E2F4E

    #7E2F4E

    oklch(42.7% 0.114 358.7)

  • #0E5F28

    #0E5F28

    oklch(42.6% 0.114 148.6)

  • #005A64

    #005A64

    oklch(42.8% 0.073 207.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E2F4E

    #7E2F4E

    oklch(42.7% 0.114 358.7)

  • #4A5600

    #4A5600

    oklch(42.8% 0.1 118.6)

  • #00557D

    #00557D

    oklch(42.7% 0.096 238.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E2F4E

    #7E2F4E

    oklch(42.7% 0.114 358.7)

  • #634C00

    #634C00

    oklch(42.9% 0.088 88.6)

  • #005D50

    #005D50

    oklch(42.8% 0.078 178.9)

  • #354A8D

    #354A8D

    oklch(42.8% 0.114 268.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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