#7E2847

Closest named color: Red Purple (#820747). oklch(41.6% 0.122 1.8), rgb(126, 40, 71).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.28:1
White text9.20:1

Values

HEX#7E2847
RGBrgb(126, 40, 71)
HSLhsl(338, 52%, 33%)
OKLCHoklch(41.6% 0.122 1.8)

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 #7E2847 9.20:1 AAA Lc -94.8 Preferred for body text
Black text on #7E2847 2.28:1 Fails Lc 13.6 Not readable
#7E2847 text on white 9.20:1 AAA Lc 90.4 Preferred for body text
#7E2847 text on black 2.28:1 Fails Lc -11.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

    #F7E4E9

    oklch(93.5% 0.022 359.7)

  3. Step 200

    200

    #F1CFD7

    oklch(88.5% 0.039 2)

  4. Step 300

    300

    #E9AEBD

    oklch(80.9% 0.071 2)

  5. Step 400

    400

    #DB819B

    oklch(70.7% 0.114 1.8)

  6. Step 500

    500

    #CE5F83

    oklch(63.1% 0.145 1.7)

  7. Step 600

    600

    #B9426C

    oklch(55.5% 0.158 1.9)

  8. Step 700

    700

    #9F335A

    oklch(49% 0.146 2)

  9. Step 800

    800 (this color)

    #7E2847

    oklch(41.6% 0.122 1.8)

  10. Step 900

    900

    #69283E

    oklch(37.8% 0.096 1.7)

  11. Step 950

    950

    #3E1824

    oklch(27% 0.061 2.1)

Export this scale for Tailwind in the Tailwind colors tool

#7E2847 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)#393D480.136
Deuteranopia (no green cones)#504E450.124
Tritanopia (no blue cones)#891E340.035
Achromatopsia (no color)#4848480.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E2847

    #7E2847

    oklch(41.6% 0.122 1.8)

  • #00594F

    #00594F

    oklch(41.6% 0.075 181.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E2847

    #7E2847

    oklch(41.6% 0.122 1.8)

  • #702E69

    #702E69

    oklch(41.6% 0.121 331.8)

  • #812B1D

    #812B1D

    oklch(41.6% 0.122 31.7)

Open the analogous palette in the generator

Split complementary

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

  • #7E2847

    #7E2847

    oklch(41.6% 0.122 1.8)

  • #005C2B

    #005C2B

    oklch(41.6% 0.11 151.6)

  • #005663

    #005663

    oklch(41.6% 0.073 212.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E2847

    #7E2847

    oklch(41.6% 0.122 1.8)

  • #435400

    #435400

    oklch(41.6% 0.101 122.1)

  • #00517C

    #00517C

    oklch(41.6% 0.098 241.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E2847

    #7E2847

    oklch(41.6% 0.122 1.8)

  • #5D4A00

    #5D4A00

    oklch(41.7% 0.085 91.9)

  • #00594F

    #00594F

    oklch(41.6% 0.075 181.9)

  • #36448D

    #36448D

    oklch(41.6% 0.121 272)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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