#7F2A51

Closest named color: Red Purple (#820747). oklch(42.4% 0.124 355.3), rgb(127, 42, 81).

Aa

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

About this color

#7F2A51 is a dark, moderately saturated red. In OKLCH its lightness is 42%, its chroma 0.124 and its hue 355°. 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.92:1.

Hue familyReds
Lightnessdark (42%)
Chromamoderately saturated (0.124)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.35:1
White text8.92:1

Values

HEX#7F2A51
RGBrgb(127, 42, 81)
HSLhsl(332, 50%, 33%)
OKLCHoklch(42.4% 0.124 355.3)

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 #7F2A51 8.92:1 AAA Lc -94.2 Preferred for body text
Black text on #7F2A51 2.35:1 Fails Lc 14.3 Not readable
#7F2A51 text on white 8.92:1 AAA Lc 89.7 Fine for body text
#7F2A51 text on black 2.35: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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F6E4EA

    oklch(93.5% 0.021 355.2)

  3. Step 200

    200

    #F0CFDA

    oklch(88.5% 0.04 355.8)

  4. Step 300

    300

    #E7AEC3

    oklch(80.9% 0.072 354.9)

  5. Step 400

    400

    #D981A4

    oklch(70.7% 0.116 355.1)

  6. Step 500

    500

    #CC5E8D

    oklch(63% 0.148 355.4)

  7. Step 600

    600

    #B74177

    oklch(55.5% 0.161 355.3)

  8. Step 700

    700

    #9E3264

    oklch(49.1% 0.15 355.6)

  9. Step 800

    800 (this color)

    #7F2A51

    oklch(42.4% 0.124 355.3)

  10. Step 900

    900

    #672844

    oklch(37.6% 0.096 355)

  11. Step 950

    950

    #3D1828

    oklch(27% 0.062 354.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F2A51 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)#3840520.138
Deuteranopia (no green cones)#4F4F4F0.124
Tritanopia (no blue cones)#89233A0.040
Achromatopsia (no color)#4A4A4A0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2A51

    #7F2A51

    oklch(42.4% 0.124 355.3)

  • #005C4C

    #005C4C

    oklch(42.4% 0.08 175.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2A51

    #7F2A51

    oklch(42.4% 0.124 355.3)

  • #6F3172

    #6F3172

    oklch(42.4% 0.124 325.7)

  • #852B29

    #852B29

    oklch(42.4% 0.124 25.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F2A51

    #7F2A51

    oklch(42.4% 0.124 355.3)

  • #0E5F1D

    #0E5F1D

    oklch(42.5% 0.124 145.4)

  • #005961

    #005961

    oklch(42.4% 0.072 205.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2A51

    #7F2A51

    oklch(42.4% 0.124 355.3)

  • #4D5400

    #4D5400

    oklch(42.5% 0.096 115.2)

  • #005578

    #005578

    oklch(42.4% 0.09 235)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2A51

    #7F2A51

    oklch(42.4% 0.124 355.3)

  • #634A00

    #634A00

    oklch(42.4% 0.087 86.3)

  • #005C4C

    #005C4C

    oklch(42.4% 0.08 175.5)

  • #2C4991

    #2C4991

    oklch(42.4% 0.124 265)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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