#7F2252

Closest named color: Red Purple (#820747). oklch(41.5% 0.135 353), rgb(127, 34, 82).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.135)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.25:1
White text9.32:1

Values

HEX#7F2252
RGBrgb(127, 34, 82)
HSLhsl(329, 58%, 32%)
OKLCHoklch(41.5% 0.135 353)

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 #7F2252 9.32:1 AAA Lc -95.0 Preferred for body text
Black text on #7F2252 2.25:1 Fails Lc 13.4 Not readable
#7F2252 text on white 9.32:1 AAA Lc 90.6 Preferred for body text
#7F2252 text on black 2.25:1 Fails Lc -11.8 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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F7E4EB

    oklch(93.6% 0.023 353.2)

  3. Step 200

    200

    #F2CEDC

    oklch(88.6% 0.044 352.6)

  4. Step 300

    300

    #EAACC5

    oklch(80.9% 0.079 353)

  5. Step 400

    400

    #DD7EA7

    oklch(70.8% 0.126 353.5)

  6. Step 500

    500

    #D05992

    oklch(63.1% 0.162 352.8)

  7. Step 600

    600

    #BB3A7C

    oklch(55.5% 0.176 352.9)

  8. Step 700

    700

    #A12B69

    oklch(49.1% 0.164 352.7)

  9. Step 800

    800 (this color)

    #7F2252

    oklch(41.5% 0.135 353)

  10. Step 900

    900

    #6A2546

    oklch(37.8% 0.105 353.6)

  11. Step 950

    950

    #3E1629

    oklch(26.9% 0.067 352.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F2252 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)#323C530.151
Deuteranopia (no green cones)#4C4D500.135
Tritanopia (no blue cones)#891B370.047
Achromatopsia (no color)#4747470.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2252

    #7F2252

    oklch(41.5% 0.135 353)

  • #005948

    #005948

    oklch(41.4% 0.079 173.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2252

    #7F2252

    oklch(41.5% 0.135 353)

  • #6D2B75

    #6D2B75

    oklch(41.4% 0.136 323.2)

  • #862126

    #862126

    oklch(41.4% 0.136 22.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F2252

    #7F2252

    oklch(41.5% 0.135 353)

  • #055D09

    #055D09

    oklch(41.6% 0.136 143)

  • #00575D

    #00575D

    oklch(41.6% 0.071 202.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2252

    #7F2252

    oklch(41.5% 0.135 353)

  • #4C5000

    #4C5000

    oklch(41.4% 0.092 113.1)

  • #005372

    #005372

    oklch(41.6% 0.085 232.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2252

    #7F2252

    oklch(41.5% 0.135 353)

  • #624600

    #624600

    oklch(41.4% 0.085 82.4)

  • #005948

    #005948

    oklch(41.4% 0.079 173.9)

  • #224694

    #224694

    oklch(41.5% 0.135 263.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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