#7E2538

Closest named color: Red Wine (#8C0034). oklch(40.8% 0.123 11.8), rgb(126, 37, 56).

Aa

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

About this color

#7E2538 is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.123 and its hue 12°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.041 away. White text reads best on it, at 9.50:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.20:1
White text9.50:1

Values

HEX#7E2538
RGBrgb(126, 37, 56)
HSLhsl(347, 55%, 32%)
OKLCHoklch(40.8% 0.123 11.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 #7E2538 9.50:1 AAA Lc -95.5 Preferred for body text
Black text on #7E2538 2.20:1 Fails Lc 12.9 Not readable
#7E2538 text on white 9.50:1 AAA Lc 91.1 Preferred for body text
#7E2538 text on black 2.20: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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F7E5E6

    oklch(93.7% 0.02 13.6)

  3. Step 200

    200

    #F2CFD2

    oklch(88.5% 0.04 12.1)

  4. Step 300

    300

    #EBAEB4

    oklch(80.9% 0.072 12.2)

  5. Step 400

    400

    #DE818E

    oklch(70.7% 0.115 11.5)

  6. Step 500

    500

    #D25E72

    oklch(63.1% 0.147 11.6)

  7. Step 600

    600

    #BD415A

    oklch(55.5% 0.159 11.9)

  8. Step 700

    700

    #A3324A

    oklch(49.2% 0.148 12)

  9. Step 800

    800 (this color)

    #7E2538

    oklch(40.8% 0.123 11.8)

  10. Step 900

    900

    #6B2834

    oklch(37.8% 0.096 12)

  11. Step 950

    950

    #3F181F

    oklch(27% 0.061 10.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E2538 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)#3B3A380.135
Deuteranopia (no green cones)#524C360.123
Tritanopia (no blue cones)#8A132D0.031
Achromatopsia (no color)#4646460.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E2538

    #7E2538

    oklch(40.8% 0.123 11.8)

  • #005653

    #005653

    oklch(40.9% 0.07 190.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E2538

    #7E2538

    oklch(40.8% 0.123 11.8)

  • #74295C

    #74295C

    oklch(40.9% 0.122 342.3)

  • #7D2C01

    #7D2C01

    oklch(40.8% 0.122 42.1)

Open the analogous palette in the generator

Split complementary

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

  • #7E2538

    #7E2538

    oklch(40.8% 0.123 11.8)

  • #00583A

    #00583A

    oklch(40.7% 0.09 161.8)

  • #005267

    #005267

    oklch(40.7% 0.076 222.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E2538

    #7E2538

    oklch(40.8% 0.123 11.8)

  • #325500

    #325500

    oklch(40.7% 0.112 131.5)

  • #004A89

    #004A89

    oklch(40.7% 0.122 252.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E2538

    #7E2538

    oklch(40.8% 0.123 11.8)

  • #534B00

    #534B00

    oklch(40.8% 0.086 102.5)

  • #005653

    #005653

    oklch(40.9% 0.07 190.7)

  • #413D89

    #413D89

    oklch(40.7% 0.123 281.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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