#7F2A4E

Closest named color: Red Purple (#820747). oklch(42.3% 0.123 357.5), rgb(127, 42, 78).

Aa

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

About this color

#7F2A4E is a dark, moderately saturated red. In OKLCH its lightness is 42%, its chroma 0.123 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.042 away. White text reads best on it, at 8.96:1.

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.34:1
White text8.96:1

Values

HEX#7F2A4E
RGBrgb(127, 42, 78)
HSLhsl(335, 50%, 33%)
OKLCHoklch(42.3% 0.123 357.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 #7F2A4E 8.96:1 AAA Lc -94.3 Preferred for body text
Black text on #7F2A4E 2.34:1 Fails Lc 14.2 Not readable
#7F2A4E text on white 8.96:1 AAA Lc 89.8 Fine for body text
#7F2A4E 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

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F6E4EA

    oklch(93.5% 0.021 355.2)

  3. Step 200

    200

    #F0CFD9

    oklch(88.5% 0.039 357.7)

  4. Step 300

    300

    #E8AEC1

    oklch(81% 0.072 357.4)

  5. Step 400

    400

    #DA81A1

    oklch(70.7% 0.116 357.4)

  6. Step 500

    500

    #CD5F8A

    oklch(63.2% 0.146 357.5)

  7. Step 600

    600

    #B84274

    oklch(55.6% 0.159 357.4)

  8. Step 700

    700

    #9E3361

    oklch(49.1% 0.148 357.6)

  9. Step 800

    800 (this color)

    #7F2A4E

    oklch(42.3% 0.123 357.5)

  10. Step 900

    900

    #682842

    oklch(37.7% 0.096 357.4)

  11. Step 950

    950

    #3D1827

    oklch(27% 0.061 356.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F2A4E 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)#393F4F0.136
Deuteranopia (no green cones)#504F4C0.123
Tritanopia (no blue cones)#8922380.038
Achromatopsia (no color)#4949490.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2A4E

    #7F2A4E

    oklch(42.3% 0.123 357.5)

  • #005B4D

    #005B4D

    oklch(42.1% 0.078 177.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2A4E

    #7F2A4E

    oklch(42.3% 0.123 357.5)

  • #70316F

    #70316F

    oklch(42.3% 0.122 328.1)

  • #842C25

    #842C25

    oklch(42.3% 0.122 28)

Open the analogous palette in the generator

Split complementary

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

  • #7F2A4E

    #7F2A4E

    oklch(42.3% 0.123 357.5)

  • #025F21

    #025F21

    oklch(42.4% 0.123 147.5)

  • #005862

    #005862

    oklch(42.1% 0.072 208.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2A4E

    #7F2A4E

    oklch(42.3% 0.123 357.5)

  • #4A5400

    #4A5400

    oklch(42.2% 0.098 117.4)

  • #00547A

    #00547A

    oklch(42.3% 0.093 237.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2A4E

    #7F2A4E

    oklch(42.3% 0.123 357.5)

  • #624A00

    #624A00

    oklch(42.3% 0.086 87.2)

  • #005B4D

    #005B4D

    oklch(42.1% 0.078 177.5)

  • #304890

    #304890

    oklch(42.3% 0.122 267.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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