#7F2C45

Closest named color: Brownish Purple (#76424E). oklch(42.2% 0.117 5), rgb(127, 44, 69).

Aa

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

About this color

#7F2C45 is a dark, moderately saturated red. In OKLCH its lightness is 42%, its chroma 0.117 and its hue 5°. Its hue sits on the warm side of the wheel. The nearest named color is Brownish Purple (#76424E), ΔE 0.049 away. White text reads best on it, at 8.94:1.

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.117)
Temperaturewarm
Nearest nameBrownish Purple (#76424E)
Black text2.34:1
White text8.94:1

Values

HEX#7F2C45
RGBrgb(127, 44, 69)
HSLhsl(342, 49%, 34%)
OKLCHoklch(42.2% 0.117 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 #7F2C45 8.94:1 AAA Lc -94.3 Preferred for body text
Black text on #7F2C45 2.34:1 Fails Lc 14.2 Not readable
#7F2C45 text on white 8.94:1 AAA Lc 89.8 Fine for body text
#7F2C45 text on black 2.34:1 Fails Lc -12.5 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

    #F6E5E8

    oklch(93.6% 0.019 5.3)

  3. Step 200

    200

    #F0CFD6

    oklch(88.4% 0.038 3.5)

  4. Step 300

    300

    #E8AFBB

    oklch(81% 0.068 4.7)

  5. Step 400

    400

    #DA8397

    oklch(70.8% 0.109 5.4)

  6. Step 500

    500

    #CD617E

    oklch(63.1% 0.139 5)

  7. Step 600

    600

    #B84567

    oklch(55.6% 0.151 5.2)

  8. Step 700

    700

    #9E3656

    oklch(49.1% 0.14 5)

  9. Step 800

    800 (this color)

    #7F2C45

    oklch(42.2% 0.117 5)

  10. Step 900

    900

    #682A3B

    oklch(37.8% 0.091 5.3)

  11. Step 950

    950

    #3D1923

    oklch(27% 0.058 4.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F2C45 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)#3D3F460.129
Deuteranopia (no green cones)#5350430.119
Tritanopia (no blue cones)#8A21360.031
Achromatopsia (no color)#4949490.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2C45

    #7F2C45

    oklch(42.2% 0.117 5)

  • #005B53

    #005B53

    oklch(42.4% 0.075 184.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2C45

    #7F2C45

    oklch(42.2% 0.117 5)

  • #733166

    #733166

    oklch(42.3% 0.116 335.6)

  • #81301C

    #81301C

    oklch(42.2% 0.117 35)

Open the analogous palette in the generator

Split complementary

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

  • #7F2C45

    #7F2C45

    oklch(42.2% 0.117 5)

  • #005E33

    #005E33

    oklch(42.3% 0.105 154.9)

  • #005867

    #005867

    oklch(42.3% 0.075 214.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2C45

    #7F2C45

    oklch(42.2% 0.117 5)

  • #405700

    #405700

    oklch(42.2% 0.107 125.3)

  • #005283

    #005283

    oklch(42.3% 0.106 244.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2C45

    #7F2C45

    oklch(42.2% 0.117 5)

  • #5D4C00

    #5D4C00

    oklch(42.2% 0.086 94.1)

  • #005B53

    #005B53

    oklch(42.4% 0.075 184.6)

  • #3C458C

    #3C458C

    oklch(42.1% 0.117 274.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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