#7F2F4E

Closest named color: Brownish Purple (#76424E). oklch(42.9% 0.115 359), rgb(127, 47, 78).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (43%)
Chromamoderately saturated (0.115)
Temperaturewarm
Nearest nameBrownish Purple (#76424E)
Black text2.41:1
White text8.68:1

Values

HEX#7F2F4E
RGBrgb(127, 47, 78)
HSLhsl(337, 46%, 34%)
OKLCHoklch(42.9% 0.115 359)

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 #7F2F4E 8.68:1 AAA Lc -93.7 Preferred for body text
Black text on #7F2F4E 2.41:1 Fails Lc 14.8 Not readable
#7F2F4E text on white 8.68:1 AAA Lc 89.1 Fine for body text
#7F2F4E text on black 2.41:1 Fails Lc -13.1 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

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F6E5E9

    oklch(93.7% 0.019 1.4)

  3. Step 200

    200

    #EFCFD8

    oklch(88.4% 0.038 359)

  4. Step 300

    300

    #E6AFBF

    oklch(80.9% 0.067 359.5)

  5. Step 400

    400

    #D7839F

    oklch(70.6% 0.108 358.8)

  6. Step 500

    500

    #CA6287

    oklch(63.1% 0.137 359.3)

  7. Step 600

    600

    #B54671

    oklch(55.6% 0.15 359.1)

  8. Step 700

    700

    #9C375F

    oklch(49.2% 0.14 359.1)

  9. Step 800

    800 (this color)

    #7F2F4E

    oklch(42.9% 0.115 359)

  10. Step 900

    900

    #662A40

    oklch(37.6% 0.09 359.3)

  11. Step 950

    950

    #3C1926

    oklch(26.9% 0.058 358.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F2F4E 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)#3D424F0.128
Deuteranopia (no green cones)#52514C0.117
Tritanopia (no blue cones)#89283B0.034
Achromatopsia (no color)#4B4B4B0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2F4E

    #7F2F4E

    oklch(42.9% 0.115 359)

  • #005D50

    #005D50

    oklch(42.8% 0.078 178.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2F4E

    #7F2F4E

    oklch(42.9% 0.115 359)

  • #71356E

    #71356E

    oklch(43% 0.115 329.2)

  • #833128

    #833128

    oklch(42.9% 0.115 29)

Open the analogous palette in the generator

Split complementary

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

  • #7F2F4E

    #7F2F4E

    oklch(42.9% 0.115 359)

  • #0C6029

    #0C6029

    oklch(42.9% 0.115 149)

  • #005A65

    #005A65

    oklch(42.8% 0.074 209.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2F4E

    #7F2F4E

    oklch(42.9% 0.115 359)

  • #4A5700

    #4A5700

    oklch(43% 0.101 119.2)

  • #00557E

    #00557E

    oklch(42.8% 0.097 239.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2F4E

    #7F2F4E

    oklch(42.9% 0.115 359)

  • #634C00

    #634C00

    oklch(42.9% 0.088 88.6)

  • #005D50

    #005D50

    oklch(42.8% 0.078 178.9)

  • #364A8E

    #364A8E

    oklch(42.9% 0.115 268.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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