#7F2A4C

Closest named color: Red Purple (#820747). oklch(42.2% 0.122 359), rgb(127, 42, 76).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.33:1
White text8.98:1

Values

HEX#7F2A4C
RGBrgb(127, 42, 76)
HSLhsl(336, 50%, 33%)
OKLCHoklch(42.2% 0.122 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 #7F2A4C 8.98:1 AAA Lc -94.3 Preferred for body text
Black text on #7F2A4C 2.33:1 Fails Lc 14.1 Not readable
#7F2A4C text on white 8.98:1 AAA Lc 89.9 Fine for body text
#7F2A4C text on black 2.33:1 Fails Lc -12.4 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

    #F6E4E9

    oklch(93.5% 0.021 358.7)

  3. Step 200

    200

    #F0CFD8

    oklch(88.5% 0.039 359.6)

  4. Step 300

    300

    #E8AEBF

    oklch(80.9% 0.071 359.5)

  5. Step 400

    400

    #DA819F

    oklch(70.7% 0.115 358.8)

  6. Step 500

    500

    #CD5F87

    oklch(63.1% 0.145 359.2)

  7. Step 600

    600

    #B84271

    oklch(55.5% 0.158 359)

  8. Step 700

    700

    #9E335F

    oklch(49% 0.147 358.7)

  9. Step 800

    800 (this color)

    #7F2A4C

    oklch(42.2% 0.122 359)

  10. Step 900

    900

    #682840

    oklch(37.7% 0.096 359.3)

  11. Step 950

    950

    #3D1826

    oklch(26.9% 0.061 358.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F2A4C 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)#3A3F4D0.135
Deuteranopia (no green cones)#514F4A0.122
Tritanopia (no blue cones)#8921380.036
Achromatopsia (no color)#4949490.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2A4C

    #7F2A4C

    oklch(42.2% 0.122 359)

  • #005B4E

    #005B4E

    oklch(42.2% 0.077 178.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2A4C

    #7F2A4C

    oklch(42.2% 0.122 359)

  • #70306E

    #70306E

    oklch(42.1% 0.123 328.7)

  • #832C23

    #832C23

    oklch(42.1% 0.122 29.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F2A4C

    #7F2A4C

    oklch(42.2% 0.122 359)

  • #005E25

    #005E25

    oklch(42.1% 0.119 149)

  • #005863

    #005863

    oklch(42.2% 0.073 209.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2A4C

    #7F2A4C

    oklch(42.2% 0.122 359)

  • #485400

    #485400

    oklch(42% 0.099 118.8)

  • #00537B

    #00537B

    oklch(42.1% 0.095 239.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2A4C

    #7F2A4C

    oklch(42.2% 0.122 359)

  • #604A00

    #604A00

    oklch(42% 0.086 89.1)

  • #005B4E

    #005B4E

    oklch(42.2% 0.077 178.6)

  • #33478F

    #33478F

    oklch(42.2% 0.121 269)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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