#7F2B4F

Closest named color: Red Purple (#820747). oklch(42.4% 0.122 357.1), rgb(127, 43, 79).

Aa

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

About this color

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

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

Values

HEX#7F2B4F
RGBrgb(127, 43, 79)
HSLhsl(334, 49%, 33%)
OKLCHoklch(42.4% 0.122 357.1)

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

    #E7AEC1

    oklch(80.9% 0.071 357)

  5. Step 400

    400

    #D982A1

    oklch(70.8% 0.113 357.5)

  6. Step 500

    500

    #CC5F8B

    oklch(63.1% 0.146 356.7)

  7. Step 600

    600

    #B74374

    oklch(55.6% 0.157 357.3)

  8. Step 700

    700

    #9D3462

    oklch(49.1% 0.146 356.9)

  9. Step 800

    800 (this color)

    #7F2B4F

    oklch(42.4% 0.122 357.1)

  10. Step 900

    900

    #672942

    oklch(37.7% 0.094 357.3)

  11. Step 950

    950

    #3D1827

    oklch(27% 0.061 356.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F2B4F 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)#3A40500.134
Deuteranopia (no green cones)#50504D0.123
Tritanopia (no blue cones)#8924390.039
Achromatopsia (no color)#4A4A4A0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2B4F

    #7F2B4F

    oklch(42.4% 0.122 357.1)

  • #005C4D

    #005C4D

    oklch(42.4% 0.079 176.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2B4F

    #7F2B4F

    oklch(42.4% 0.122 357.1)

  • #6F3270

    #6F3270

    oklch(42.4% 0.121 326.8)

  • #842C27

    #842C27

    oklch(42.4% 0.122 26.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F2B4F

    #7F2B4F

    oklch(42.4% 0.122 357.1)

  • #085F21

    #085F21

    oklch(42.4% 0.122 147)

  • #005962

    #005962

    oklch(42.4% 0.073 206.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2B4F

    #7F2B4F

    oklch(42.4% 0.122 357.1)

  • #4B5400

    #4B5400

    oklch(42.3% 0.097 116.7)

  • #00547A

    #00547A

    oklch(42.3% 0.093 237.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2B4F

    #7F2B4F

    oklch(42.4% 0.122 357.1)

  • #634A00

    #634A00

    oklch(42.4% 0.087 86.3)

  • #005C4D

    #005C4D

    oklch(42.4% 0.079 176.6)

  • #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 #7F2B4F, closest first.

Similar named colors

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

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