#7F211A

Closest named color: Maroon (#800000). oklch(40% 0.13 28.6), rgb(127, 33, 26).

Aa

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

About this color

#7F211A is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.130 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Maroon (#800000), ΔE 0.034 away. White text reads best on it, at 9.83:1.

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.130)
Temperaturewarm
Nearest nameMaroon (#800000)
Black text2.13:1
White text9.83:1

Values

HEX#7F211A
RGBrgb(127, 33, 26)
HSLhsl(4, 66%, 30%)
OKLCHoklch(40% 0.13 28.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 #7F211A 9.83:1 AAA Lc -96.0 Preferred for body text
Black text on #7F211A 2.13:1 Fails Lc 12.2 Not readable
#7F211A text on white 9.83:1 AAA Lc 91.7 Preferred for body text
#7F211A text on black 2.13:1 Fails Lc -10.7 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

    #FBCCC5

    oklch(88.4% 0.054 28.1)

  4. Step 300

    300

    #F9A99D

    oklch(80.9% 0.097 28.8)

  5. Step 400

    400

    #F27667

    oklch(70.7% 0.155 28.6)

  6. Step 500

    500

    #E9493C

    oklch(63.1% 0.199 28.7)

  7. Step 600

    600

    #D51A16

    oklch(55.7% 0.216 28.7)

  8. Step 700

    700

    #B80005

    oklch(49.2% 0.201 28.7)

  9. Step 800

    800

    #950E0C

    oklch(42.7% 0.166 28.5)

  10. Step 900

    900 (this color)

    #7F211A

    oklch(40% 0.13 28.6)

  11. Step 950

    950

    #47110D

    oklch(27% 0.083 28.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F211A 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)#3D36180.138
Deuteranopia (no green cones)#544B160.127
Tritanopia (no blue cones)#8C00200.039
Achromatopsia (no color)#4343430.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F211A

    #7F211A

    oklch(40% 0.13 28.6)

  • #00515B

    #00515B

    oklch(39.8% 0.069 209.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F211A

    #7F211A

    oklch(40% 0.13 28.6)

  • #7A1F46

    #7A1F46

    oklch(39.9% 0.129 358.8)

  • #6C3800

    #6C3800

    oklch(39.9% 0.095 58.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F211A

    #7F211A

    oklch(40% 0.13 28.6)

  • #005448

    #005448

    oklch(39.9% 0.073 178.8)

  • #004D72

    #004D72

    oklch(40% 0.09 238.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F211A

    #7F211A

    oklch(40% 0.13 28.6)

  • #005721

    #005721

    oklch(39.9% 0.113 148.7)

  • #2B408C

    #2B408C

    oklch(40% 0.129 268.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F211A

    #7F211A

    oklch(40% 0.13 28.6)

  • #434E00

    #434E00

    oklch(40% 0.094 118.6)

  • #00515B

    #00515B

    oklch(39.8% 0.069 209.1)

  • #523283

    #523283

    oklch(39.9% 0.131 298.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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