#7E3440

Closest named color: Brownish Purple (#76424E). oklch(43% 0.103 12.5), rgb(126, 52, 64).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (43%)
Chromamoderately saturated (0.103)
Temperaturewarm
Nearest nameBrownish Purple (#76424E)
Black text2.45:1
White text8.56:1

Values

HEX#7E3440
RGBrgb(126, 52, 64)
HSLhsl(350, 42%, 35%)
OKLCHoklch(43% 0.103 12.5)

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 #7E3440 8.56:1 AAA Lc -93.5 Preferred for body text
Black text on #7E3440 2.45:1 Fails Lc 15.1 Dividers and decoration only
#7E3440 text on white 8.56:1 AAA Lc 88.9 Fine for body text
#7E3440 text on black 2.45:1 Fails Lc -13.3 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

    #FBF3F4

    oklch(97.1% 0.009 8.5)

  2. Step 100

    100

    #F5E5E7

    oklch(93.5% 0.018 8.8)

  3. Step 200

    200

    #EED1D3

    oklch(88.5% 0.033 13)

  4. Step 300

    300

    #E5B1B6

    oklch(80.9% 0.061 12.1)

  5. Step 400

    400

    #D58790

    oklch(70.6% 0.096 12.3)

  6. Step 500

    500

    #C86775

    oklch(63% 0.124 12.2)

  7. Step 600

    600

    #B34D5D

    oklch(55.6% 0.133 12.8)

  8. Step 700

    700

    #9A3D4D

    oklch(49.1% 0.125 12.4)

  9. Step 800

    800 (this color)

    #7E3440

    oklch(43% 0.103 12.5)

  10. Step 900

    900

    #652D36

    oklch(37.6% 0.081 11.7)

  11. Step 950

    950

    #3B1B1F

    oklch(26.9% 0.05 13.1)

Export this scale for Tailwind in the Tailwind colors tool

#7E3440 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)#4443400.113
Deuteranopia (no green cones)#57523E0.104
Tritanopia (no blue cones)#892A390.026
Achromatopsia (no color)#4C4C4C0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E3440

    #7E3440

    oklch(43% 0.103 12.5)

  • #005C5B

    #005C5B

    oklch(42.9% 0.073 193.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E3440

    #7E3440

    oklch(43% 0.103 12.5)

  • #75365F

    #75365F

    oklch(43% 0.103 342.6)

  • #7D391C

    #7D391C

    oklch(43% 0.103 42.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E3440

    #7E3440

    oklch(43% 0.103 12.5)

  • #005F40

    #005F40

    oklch(42.9% 0.093 162.6)

  • #00596F

    #00596F

    oklch(43% 0.08 222.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E3440

    #7E3440

    oklch(43% 0.103 12.5)

  • #395B17

    #395B17

    oklch(43% 0.103 132.4)

  • #1F5186

    #1F5186

    oklch(42.9% 0.103 252.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E3440

    #7E3440

    oklch(43% 0.103 12.5)

  • #5A5100

    #5A5100

    oklch(43% 0.09 102.1)

  • #005C5B

    #005C5B

    oklch(42.9% 0.073 193.5)

  • #484786

    #484786

    oklch(43.1% 0.102 281.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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