#7F2731

Closest named color: Red Wine (#8C0034). oklch(41% 0.121 17.8), rgb(127, 39, 49).

Aa

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

About this color

#7F2731 is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.121 and its hue 18°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.046 away. White text reads best on it, at 9.38:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.23:1
White text9.38:1

Values

HEX#7F2731
RGBrgb(127, 39, 49)
HSLhsl(353, 53%, 33%)
OKLCHoklch(41% 0.121 17.8)

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 #7F2731 9.38:1 AAA Lc -95.2 Preferred for body text
Black text on #7F2731 2.23:1 Fails Lc 13.1 Not readable
#7F2731 text on white 9.38:1 AAA Lc 90.8 Preferred for body text
#7F2731 text on black 2.23:1 Fails Lc -11.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

    #FCF3F3

    oklch(97.1% 0.01 17.3)

  2. Step 100

    100

    #F7E5E5

    oklch(93.6% 0.02 17.5)

  3. Step 200

    200

    #F2CFCF

    oklch(88.4% 0.039 17.9)

  4. Step 300

    300

    #EBAFB0

    oklch(81% 0.07 17.6)

  5. Step 400

    400

    #DE8286

    oklch(70.6% 0.114 17.6)

  6. Step 500

    500

    #D26068

    oklch(63.1% 0.144 17.9)

  7. Step 600

    600

    #BD4350

    oklch(55.6% 0.156 17.6)

  8. Step 700

    700

    #A33440

    oklch(49.2% 0.146 18.2)

  9. Step 800

    800 (this color)

    #7F2731

    oklch(41% 0.121 17.8)

  10. Step 900

    900

    #6B292E

    oklch(37.8% 0.094 18.2)

  11. Step 950

    950

    #3F191B

    oklch(27.1% 0.059 18.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F2731 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)#3D3B310.133
Deuteranopia (no green cones)#544D2F0.121
Tritanopia (no blue cones)#8B142B0.031
Achromatopsia (no color)#4646460.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2731

    #7F2731

    oklch(41% 0.121 17.8)

  • #005658

    #005658

    oklch(41.1% 0.07 197.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2731

    #7F2731

    oklch(41% 0.121 17.8)

  • #772956

    #772956

    oklch(41.1% 0.121 348)

  • #793300

    #793300

    oklch(41.1% 0.112 48.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F2731

    #7F2731

    oklch(41% 0.121 17.8)

  • #005941

    #005941

    oklch(41.2% 0.084 167)

  • #00526C

    #00526C

    oklch(41% 0.08 227.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2731

    #7F2731

    oklch(41% 0.121 17.8)

  • #245907

    #245907

    oklch(41.2% 0.122 137.8)

  • #1A498A

    #1A498A

    oklch(41.1% 0.12 257.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2731

    #7F2731

    oklch(41% 0.121 17.8)

  • #504D00

    #504D00

    oklch(41% 0.088 107.1)

  • #005658

    #005658

    oklch(41.1% 0.07 197.5)

  • #493C87

    #493C87

    oklch(41% 0.121 287.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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