#7F231A

Closest named color: Chestnut (#742802). oklch(40.2% 0.128 29.4), rgb(127, 35, 26).

Aa

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

About this color

#7F231A is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.128 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Chestnut (#742802), ΔE 0.033 away. White text reads best on it, at 9.73:1.

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameChestnut (#742802)
Black text2.15:1
White text9.73:1

Values

HEX#7F231A
RGBrgb(127, 35, 26)
HSLhsl(5, 66%, 30%)
OKLCHoklch(40.2% 0.128 29.4)

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 #7F231A 9.73:1 AAA Lc -95.8 Preferred for body text
Black text on #7F231A 2.15:1 Fails Lc 12.4 Not readable
#7F231A text on white 9.73:1 AAA Lc 91.5 Preferred for body text
#7F231A text on black 2.15:1 Fails Lc -10.9 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 900.

  1. Step 50

    50

    #FEF2F0

    oklch(97% 0.013 28.9)

  2. Step 100

    100

    #FCE3DF

    oklch(93.5% 0.028 28.5)

  3. Step 200

    200

    #FBCDC5

    oklch(88.6% 0.054 29.6)

  4. Step 300

    300

    #F8A99D

    oklch(80.8% 0.096 28.9)

  5. Step 400

    400

    #F17766

    oklch(70.7% 0.154 29.6)

  6. Step 500

    500

    #E84B3B

    oklch(63.1% 0.196 29.4)

  7. Step 600

    600

    #D31F14

    oklch(55.5% 0.213 29.5)

  8. Step 700

    700

    #B70803

    oklch(49.2% 0.198 29.4)

  9. Step 800

    800

    #94120A

    oklch(42.7% 0.164 29.5)

  10. Step 900

    900 (this color)

    #7F231A

    oklch(40.2% 0.128 29.4)

  11. Step 950

    950

    #46120D

    oklch(27% 0.081 29)

Export this scale for Tailwind in the Tailwind colors tool

#7F231A 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)#3E37180.135
Deuteranopia (no green cones)#554B160.123
Tritanopia (no blue cones)#8C02220.042
Achromatopsia (no color)#4444440.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F231A

    #7F231A

    oklch(40.2% 0.128 29.4)

  • #00525C

    #00525C

    oklch(40.1% 0.069 208.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F231A

    #7F231A

    oklch(40.2% 0.128 29.4)

  • #7B2146

    #7B2146

    oklch(40.3% 0.128 359.6)

  • #6C3900

    #6C3900

    oklch(40.1% 0.095 59.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F231A

    #7F231A

    oklch(40.2% 0.128 29.4)

  • #005549

    #005549

    oklch(40.2% 0.074 178.9)

  • #004D74

    #004D74

    oklch(40.1% 0.092 240.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F231A

    #7F231A

    oklch(40.2% 0.128 29.4)

  • #005823

    #005823

    oklch(40.2% 0.113 149.3)

  • #2D408C

    #2D408C

    oklch(40.1% 0.128 269.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F231A

    #7F231A

    oklch(40.2% 0.128 29.4)

  • #434F00

    #434F00

    oklch(40.3% 0.095 119.2)

  • #00525C

    #00525C

    oklch(40.1% 0.069 208.9)

  • #533382

    #533382

    oklch(40.1% 0.128 299.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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