#7F1F21

Closest named color: Maroon (#800000). oklch(39.8% 0.131 24.4), rgb(127, 31, 33).

Aa

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

About this color

#7F1F21 is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.131 and its hue 24°. 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.90:1.

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.131)
Temperaturewarm
Nearest nameMaroon (#800000)
Black text2.12:1
White text9.90:1

Values

HEX#7F1F21
RGBrgb(127, 31, 33)
HSLhsl(359, 61%, 31%)
OKLCHoklch(39.8% 0.131 24.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 #7F1F21 9.90:1 AAA Lc -96.1 Preferred for body text
Black text on #7F1F21 2.12:1 Fails Lc 12.1 Not readable
#7F1F21 text on white 9.90:1 AAA Lc 91.8 Preferred for body text
#7F1F21 text on black 2.12:1 Fails Lc -10.6 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FDE3E1

    oklch(93.6% 0.029 23)

  3. Step 200

    200

    #FBCCC8

    oklch(88.5% 0.054 23.9)

  4. Step 300

    300

    #FAA8A1

    oklch(81% 0.098 24.8)

  5. Step 400

    400

    #F3746F

    oklch(70.7% 0.157 24.2)

  6. Step 500

    500

    #EA4648

    oklch(63.1% 0.201 24.4)

  7. Step 600

    600

    #D5132A

    oklch(55.6% 0.218 24.3)

  8. Step 700

    700

    #B7001F

    oklch(49.1% 0.199 24.3)

  9. Step 800

    800

    #96091A

    oklch(42.8% 0.168 24.4)

  10. Step 900

    900 (this color)

    #7F1F21

    oklch(39.8% 0.131 24.4)

  11. Step 950

    950

    #471111

    oklch(27.1% 0.082 24.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F1F21 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)#3B36200.141
Deuteranopia (no green cones)#534A1E0.128
Tritanopia (no blue cones)#8C00210.035
Achromatopsia (no color)#4343430.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F1F21

    #7F1F21

    oklch(39.8% 0.131 24.4)

  • #005258

    #005258

    oklch(40% 0.068 203.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F1F21

    #7F1F21

    oklch(39.8% 0.131 24.4)

  • #791F4C

    #791F4C

    oklch(39.9% 0.131 354.2)

  • #6F3500

    #6F3500

    oklch(39.8% 0.1 53.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F1F21

    #7F1F21

    oklch(39.8% 0.131 24.4)

  • #005444

    #005444

    oklch(39.8% 0.076 174.1)

  • #004E6D

    #004E6D

    oklch(39.9% 0.083 233.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F1F21

    #7F1F21

    oklch(39.8% 0.131 24.4)

  • #00580F

    #00580F

    oklch(40% 0.128 144.3)

  • #22418C

    #22418C

    oklch(39.8% 0.13 264.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F1F21

    #7F1F21

    oklch(39.8% 0.131 24.4)

  • #474C00

    #474C00

    oklch(39.8% 0.09 114)

  • #005258

    #005258

    oklch(40% 0.068 203.3)

  • #4E3485

    #4E3485

    oklch(40% 0.13 294.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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