#7F2540

Closest named color: Red Wine (#8C0034). oklch(41.2% 0.125 6.3), rgb(127, 37, 64).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.24:1
White text9.37:1

Values

HEX#7F2540
RGBrgb(127, 37, 64)
HSLhsl(342, 55%, 32%)
OKLCHoklch(41.2% 0.125 6.3)

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 #7F2540 9.37:1 AAA Lc -95.1 Preferred for body text
Black text on #7F2540 2.24:1 Fails Lc 13.2 Not readable
#7F2540 text on white 9.37:1 AAA Lc 90.8 Preferred for body text
#7F2540 text on black 2.24: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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F7E4E7

    oklch(93.5% 0.021 6.6)

  3. Step 200

    200

    #F2CFD5

    oklch(88.6% 0.04 6.3)

  4. Step 300

    300

    #EBADB9

    oklch(80.9% 0.074 6)

  5. Step 400

    400

    #DE8095

    oklch(70.7% 0.118 6.2)

  6. Step 500

    500

    #D25D7B

    oklch(63.2% 0.15 6.4)

  7. Step 600

    600

    #BD4064

    oklch(55.7% 0.162 6.5)

  8. Step 700

    700

    #A23053

    oklch(49% 0.151 6.1)

  9. Step 800

    800 (this color)

    #7F2540

    oklch(41.2% 0.125 6.3)

  10. Step 900

    900

    #6A2739

    oklch(37.6% 0.097 6.4)

  11. Step 950

    950

    #3F1822

    oklch(27.1% 0.062 6)

Export this scale for Tailwind in the Tailwind colors tool

#7F2540 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)#393B410.140
Deuteranopia (no green cones)#514D3E0.127
Tritanopia (no blue cones)#8A16300.032
Achromatopsia (no color)#4646460.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2540

    #7F2540

    oklch(41.2% 0.125 6.3)

  • #005751

    #005751

    oklch(41.1% 0.072 186.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2540

    #7F2540

    oklch(41.2% 0.125 6.3)

  • #722A64

    #722A64

    oklch(41.1% 0.125 335.9)

  • #812A10

    #812A10

    oklch(41.3% 0.125 36.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F2540

    #7F2540

    oklch(41.2% 0.125 6.3)

  • #005A33

    #005A33

    oklch(41.1% 0.099 156.2)

  • #005464

    #005464

    oklch(41.1% 0.073 216.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2540

    #7F2540

    oklch(41.2% 0.125 6.3)

  • #3C5400

    #3C5400

    oklch(41.1% 0.105 126.3)

  • #004E81

    #004E81

    oklch(41.2% 0.107 246.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2540

    #7F2540

    oklch(41.2% 0.125 6.3)

  • #594A00

    #594A00

    oklch(41.2% 0.085 95.7)

  • #005751

    #005751

    oklch(41.1% 0.072 186.8)

  • #3B408D

    #3B408D

    oklch(41.1% 0.126 276.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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