#7F2A42

Closest named color: Red Wine (#8C0034). oklch(41.9% 0.119 6.5), rgb(127, 42, 66).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.119)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.31:1
White text9.08:1

Values

HEX#7F2A42
RGBrgb(127, 42, 66)
HSLhsl(343, 50%, 33%)
OKLCHoklch(41.9% 0.119 6.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 #7F2A42 9.08:1 AAA Lc -94.6 Preferred for body text
Black text on #7F2A42 2.31:1 Fails Lc 13.8 Not readable
#7F2A42 text on white 9.08:1 AAA Lc 90.1 Preferred for body text
#7F2A42 text on black 2.31:1 Fails Lc -12.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

    #FBF3F4

    oklch(97.1% 0.009 8.5)

  2. Step 100

    100

    #F7E5E7

    oklch(93.7% 0.02 9.8)

  3. Step 200

    200

    #F1CFD5

    oklch(88.5% 0.039 5.9)

  4. Step 300

    300

    #E9AEB9

    oklch(80.8% 0.07 6.4)

  5. Step 400

    400

    #DB8295

    oklch(70.7% 0.111 6.5)

  6. Step 500

    500

    #CF607B

    oklch(63.1% 0.142 6.8)

  7. Step 600

    600

    #BA4464

    oklch(55.7% 0.154 7)

  8. Step 700

    700

    #A03453

    oklch(49.1% 0.144 6.7)

  9. Step 800

    800 (this color)

    #7F2A42

    oklch(41.9% 0.119 6.5)

  10. Step 900

    900

    #692939

    oklch(37.7% 0.093 7.1)

  11. Step 950

    950

    #3E1922

    oklch(27.1% 0.059 6.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F2A42 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)#3C3E430.132
Deuteranopia (no green cones)#534F400.121
Tritanopia (no blue cones)#8A1E330.031
Achromatopsia (no color)#4848480.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2A42

    #7F2A42

    oklch(41.9% 0.119 6.5)

  • #005953

    #005953

    oklch(41.8% 0.073 186.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2A42

    #7F2A42

    oklch(41.9% 0.119 6.5)

  • #732E64

    #732E64

    oklch(41.8% 0.119 336.8)

  • #802F17

    #802F17

    oklch(41.9% 0.118 36.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F2A42

    #7F2A42

    oklch(41.9% 0.119 6.5)

  • #005C35

    #005C35

    oklch(41.8% 0.1 156.6)

  • #005667

    #005667

    oklch(41.8% 0.075 217.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2A42

    #7F2A42

    oklch(41.9% 0.119 6.5)

  • #3D5600

    #3D5600

    oklch(41.7% 0.107 126.5)

  • #005084

    #005084

    oklch(41.9% 0.109 246.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2A42

    #7F2A42

    oklch(41.9% 0.119 6.5)

  • #5A4C00

    #5A4C00

    oklch(41.8% 0.086 96.9)

  • #005953

    #005953

    oklch(41.8% 0.073 186.9)

  • #3D438C

    #3D438C

    oklch(41.8% 0.119 276.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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