#7F313D

Closest named color: Brownish Purple (#76424E). oklch(42.7% 0.108 13.6), rgb(127, 49, 61).

Aa

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

About this color

#7F313D is a dark, moderately saturated red. In OKLCH its lightness is 43%, its chroma 0.108 and its hue 14°. Its hue sits on the warm side of the wheel. The nearest named color is Brownish Purple (#76424E), ΔE 0.042 away. White text reads best on it, at 8.71:1.

Hue familyReds
Lightnessdark (43%)
Chromamoderately saturated (0.108)
Temperaturewarm
Nearest nameBrownish Purple (#76424E)
Black text2.40:1
White text8.71:1

Values

HEX#7F313D
RGBrgb(127, 49, 61)
HSLhsl(351, 44%, 35%)
OKLCHoklch(42.7% 0.108 13.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 #7F313D 8.71:1 AAA Lc -93.8 Preferred for body text
Black text on #7F313D 2.40:1 Fails Lc 14.7 Not readable
#7F313D text on white 8.71:1 AAA Lc 89.3 Fine for body text
#7F313D text on black 2.40:1 Fails Lc -13.0 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

    #FBF3F4

    oklch(97.1% 0.009 8.5)

  2. Step 100

    100

    #F6E5E6

    oklch(93.6% 0.019 13.4)

  3. Step 200

    200

    #EFD0D2

    oklch(88.4% 0.035 13.4)

  4. Step 300

    300

    #E6B0B4

    oklch(80.8% 0.063 13.6)

  5. Step 400

    400

    #D8868E

    oklch(70.8% 0.101 13.6)

  6. Step 500

    500

    #CB6572

    oklch(63.1% 0.13 13.5)

  7. Step 600

    600

    #B64A5B

    oklch(55.6% 0.14 13.3)

  8. Step 700

    700

    #9C3A4A

    oklch(49% 0.131 13.5)

  9. Step 800

    800 (this color)

    #7F313D

    oklch(42.7% 0.108 13.6)

  10. Step 900

    900

    #672C34

    oklch(37.7% 0.085 13.7)

  11. Step 950

    950

    #3C1A1F

    oklch(26.9% 0.054 12.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F313D 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)#42413D0.119
Deuteranopia (no green cones)#56513B0.110
Tritanopia (no blue cones)#8A25360.028
Achromatopsia (no color)#4B4B4B0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F313D

    #7F313D

    oklch(42.7% 0.108 13.6)

  • #005B5A

    #005B5A

    oklch(42.6% 0.073 193.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F313D

    #7F313D

    oklch(42.7% 0.108 13.6)

  • #76335E

    #76335E

    oklch(42.7% 0.109 343.4)

  • #7E3715

    #7E3715

    oklch(42.7% 0.109 43.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F313D

    #7F313D

    oklch(42.7% 0.108 13.6)

  • #005E41

    #005E41

    oklch(42.7% 0.091 163.9)

  • #00586F

    #00586F

    oklch(42.7% 0.08 223.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F313D

    #7F313D

    oklch(42.7% 0.108 13.6)

  • #355B13

    #355B13

    oklch(42.7% 0.108 133.6)

  • #1D5088

    #1D5088

    oklch(42.8% 0.108 253.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F313D

    #7F313D

    oklch(42.7% 0.108 13.6)

  • #585000

    #585000

    oklch(42.6% 0.089 102.9)

  • #005B5A

    #005B5A

    oklch(42.6% 0.073 193.5)

  • #484487

    #484487

    oklch(42.5% 0.108 283.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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