#7E254C

Closest named color: Red Purple (#820747). oklch(41.4% 0.128 357.4), rgb(126, 37, 76).

Aa

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

About this color

#7E254C is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.128 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.034 away. White text reads best on it, at 9.30:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.25:1
White text9.30:1

Values

HEX#7E254C
RGBrgb(126, 37, 76)
HSLhsl(334, 55%, 32%)
OKLCHoklch(41.4% 0.128 357.4)

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 #7E254C 9.30:1 AAA Lc -95.0 Preferred for body text
Black text on #7E254C 2.25:1 Fails Lc 13.4 Not readable
#7E254C text on white 9.30:1 AAA Lc 90.6 Preferred for body text
#7E254C text on black 2.25:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F7E4EA

    oklch(93.6% 0.022 356.3)

  3. Step 200

    200

    #F1CED9

    oklch(88.4% 0.042 357.1)

  4. Step 300

    300

    #E9ADC1

    oklch(80.9% 0.074 357.1)

  5. Step 400

    400

    #DC80A1

    oklch(70.8% 0.119 357.6)

  6. Step 500

    500

    #CF5C8A

    oklch(63% 0.153 357.3)

  7. Step 600

    600

    #BA3F74

    oklch(55.6% 0.165 357.3)

  8. Step 700

    700

    #A03061

    oklch(49.1% 0.154 357.6)

  9. Step 800

    800 (this color)

    #7E254C

    oklch(41.4% 0.128 357.4)

  10. Step 900

    900

    #692742

    oklch(37.8% 0.099 357.4)

  11. Step 950

    950

    #3E1727

    oklch(27% 0.064 356.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E254C 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)#363C4D0.142
Deuteranopia (no green cones)#4E4D4A0.128
Tritanopia (no blue cones)#881C350.040
Achromatopsia (no color)#4747470.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E254C

    #7E254C

    oklch(41.4% 0.128 357.4)

  • #00594B

    #00594B

    oklch(41.5% 0.077 177.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E254C

    #7E254C

    oklch(41.4% 0.128 357.4)

  • #6E2D6F

    #6E2D6F

    oklch(41.5% 0.127 327)

  • #832621

    #832621

    oklch(41.4% 0.128 27.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E254C

    #7E254C

    oklch(41.4% 0.128 357.4)

  • #005C1F

    #005C1F

    oklch(41.4% 0.122 147.4)

  • #00565F

    #00565F

    oklch(41.4% 0.071 207)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E254C

    #7E254C

    oklch(41.4% 0.128 357.4)

  • #485200

    #485200

    oklch(41.5% 0.096 117.5)

  • #005276

    #005276

    oklch(41.5% 0.09 236.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E254C

    #7E254C

    oklch(41.4% 0.128 357.4)

  • #5F4800

    #5F4800

    oklch(41.5% 0.085 87.6)

  • #00594B

    #00594B

    oklch(41.5% 0.077 177.2)

  • #2D4590

    #2D4590

    oklch(41.5% 0.127 267.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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