#7E254A

Closest named color: Red Purple (#820747). oklch(41.4% 0.127 358.8), rgb(126, 37, 74).

Aa

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

About this color

#7E254A is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.127 and its hue 359°. 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.33:1.

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

Values

HEX#7E254A
RGBrgb(126, 37, 74)
HSLhsl(335, 55%, 32%)
OKLCHoklch(41.4% 0.127 358.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 #7E254A 9.33:1 AAA Lc -95.1 Preferred for body text
Black text on #7E254A 2.25:1 Fails Lc 13.3 Not readable
#7E254A text on white 9.33:1 AAA Lc 90.7 Preferred for body text
#7E254A text on black 2.25:1 Fails Lc -11.6 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

    #F7E4E9

    oklch(93.5% 0.022 359.7)

  3. Step 200

    200

    #F1CED8

    oklch(88.4% 0.041 358.9)

  4. Step 300

    300

    #E9ADC0

    oklch(80.9% 0.074 358.1)

  5. Step 400

    400

    #DC809F

    oklch(70.7% 0.119 359)

  6. Step 500

    500

    #CF5C88

    oklch(63% 0.152 358.4)

  7. Step 600

    600

    #BB3F71

    oklch(55.7% 0.165 359.1)

  8. Step 700

    700

    #A0305F

    oklch(49.1% 0.153 358.7)

  9. Step 800

    800 (this color)

    #7E254A

    oklch(41.4% 0.127 358.8)

  10. Step 900

    900

    #692741

    oklch(37.7% 0.099 358.4)

  11. Step 950

    950

    #3E1826

    oklch(27.1% 0.062 358.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E254A 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)#363C4B0.142
Deuteranopia (no green cones)#4E4D480.129
Tritanopia (no blue cones)#891B340.039
Achromatopsia (no color)#4747470.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E254A

    #7E254A

    oklch(41.4% 0.127 358.8)

  • #00584C

    #00584C

    oklch(41.2% 0.075 179.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E254A

    #7E254A

    oklch(41.4% 0.127 358.8)

  • #6F2C6D

    #6F2C6D

    oklch(41.4% 0.128 328.8)

  • #83271F

    #83271F

    oklch(41.4% 0.128 28.7)

Open the analogous palette in the generator

Split complementary

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

  • #7E254A

    #7E254A

    oklch(41.4% 0.127 358.8)

  • #005C23

    #005C23

    oklch(41.4% 0.118 148.6)

  • #005660

    #005660

    oklch(41.5% 0.071 208.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E254A

    #7E254A

    oklch(41.4% 0.127 358.8)

  • #465200

    #465200

    oklch(41.3% 0.097 119)

  • #005178

    #005178

    oklch(41.4% 0.093 239)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E254A

    #7E254A

    oklch(41.4% 0.127 358.8)

  • #5E4800

    #5E4800

    oklch(41.3% 0.084 88.6)

  • #00584C

    #00584C

    oklch(41.2% 0.075 179.4)

  • #2F448F

    #2F448F

    oklch(41.3% 0.127 268.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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