#7F5151

Closest named color: Dark Mauve (#874C62). oklch(48.6% 0.062 19.6), rgb(127, 81, 81).

Aa

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

About this color

#7F5151 is a medium-dark, muted red. In OKLCH its lightness is 49%, its chroma 0.062 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mauve (#874C62), ΔE 0.037 away. White text reads best on it, at 6.56:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromamuted (0.062)
Temperaturewarm
Nearest nameDark Mauve (#874C62)
Black text3.19:1
White text6.56:1

Values

HEX#7F5151
RGBrgb(127, 81, 81)
HSLhsl(0, 22%, 41%)
OKLCHoklch(48.6% 0.062 19.6)

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 #7F5151 6.56:1 AA Lc -87.4 Fine for body text
Black text on #7F5151 3.19:1 AA large text Lc 21.7 Dividers and decoration only
#7F5151 text on white 6.56:1 AA Lc 82.4 Fine for body text
#7F5151 text on black 3.19:1 AA large text Lc -19.5 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F8F4F4

    oklch(97% 0.004 17.2)

  2. Step 100

    100

    #F0E8E7

    oklch(93.7% 0.009 26)

  3. Step 200

    200

    #E4D5D5

    oklch(88.5% 0.017 17.5)

  4. Step 300

    300

    #D4B9B9

    oklch(80.9% 0.031 17.8)

  5. Step 400

    400

    #BD9594

    oklch(70.7% 0.048 20)

  6. Step 500

    500

    #AC7B7A

    oklch(63.2% 0.062 20.3)

  7. Step 600

    600

    #976363

    oklch(55.5% 0.068 19.4)

  8. Step 700

    700 (this color)

    #7F5151

    oklch(48.6% 0.062 19.6)

  9. Step 800

    800

    #684443

    oklch(42.7% 0.05 21.1)

  10. Step 900

    900

    #553939

    oklch(37.7% 0.04 19.1)

  11. Step 950

    950

    #322221

    oklch(27.1% 0.025 22.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F5151 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)#5A58510.066
Deuteranopia (no green cones)#6561500.062
Tritanopia (no blue cones)#884C510.020
Achromatopsia (no color)#5D5D5D0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F5151

    #7F5151

    oklch(48.6% 0.062 19.6)

  • #2E6A6D

    #2E6A6D

    oklch(48.6% 0.062 199.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F5151

    #7F5151

    oklch(48.6% 0.062 19.6)

  • #7A5165

    #7A5165

    oklch(48.7% 0.062 348.9)

  • #7C553F

    #7C553F

    oklch(48.6% 0.062 50.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F5151

    #7F5151

    oklch(48.6% 0.062 19.6)

  • #386B5A

    #386B5A

    oklch(48.7% 0.062 169.9)

  • #37667C

    #37667C

    oklch(48.6% 0.062 230.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F5151

    #7F5151

    oklch(48.6% 0.062 19.6)

  • #4D6846

    #4D6846

    oklch(48.6% 0.062 139.3)

  • #4A6083

    #4A6083

    oklch(48.6% 0.063 259.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F5151

    #7F5151

    oklch(48.6% 0.062 19.6)

  • #626338

    #626338

    oklch(48.8% 0.063 109.7)

  • #2E6A6D

    #2E6A6D

    oklch(48.6% 0.062 199.8)

  • #5E5A81

    #5E5A81

    oklch(48.7% 0.062 288.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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