#7E1F18

Closest named color: Maroon (#800000). oklch(39.5% 0.131 28.7), rgb(126, 31, 24).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.131)
Temperaturewarm
Nearest nameMaroon (#800000)
Black text2.09:1
White text10.01:1

Values

HEX#7E1F18
RGBrgb(126, 31, 24)
HSLhsl(4, 68%, 29%)
OKLCHoklch(39.5% 0.131 28.7)

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 #7E1F18 10.01:1 AAA Lc -96.3 Preferred for body text
Black text on #7E1F18 2.09:1 Fails Lc 11.9 Not readable
#7E1F18 text on white 10.01:1 AAA Lc 92.1 Preferred for body text
#7E1F18 text on black 2.09:1 Fails Lc -10.3 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

    #FAA89C

    oklch(80.8% 0.099 28.6)

  5. Step 400

    400

    #F37566

    oklch(70.7% 0.158 28.6)

  6. Step 500

    500

    #EA483B

    oklch(63.1% 0.201 28.7)

  7. Step 600

    600

    #D51714

    oklch(55.5% 0.218 28.7)

  8. Step 700

    700

    #B80004

    oklch(49.2% 0.201 28.8)

  9. Step 800

    800

    #960C0A

    oklch(42.8% 0.168 28.7)

  10. Step 900

    900 (this color)

    #7E1F18

    oklch(39.5% 0.131 28.7)

  11. Step 950

    950

    #47110C

    oklch(27% 0.083 29)

Export this scale for Tailwind in the Tailwind colors tool

#7E1F18 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)#3B35160.140
Deuteranopia (no green cones)#534A140.128
Tritanopia (no blue cones)#8B001E0.037
Achromatopsia (no color)#4242420.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E1F18

    #7E1F18

    oklch(39.5% 0.131 28.7)

  • #00505A

    #00505A

    oklch(39.5% 0.068 209.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E1F18

    #7E1F18

    oklch(39.5% 0.131 28.7)

  • #791D45

    #791D45

    oklch(39.5% 0.131 358.7)

  • #6A3700

    #6A3700

    oklch(39.4% 0.094 58.6)

Open the analogous palette in the generator

Split complementary

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

  • #7E1F18

    #7E1F18

    oklch(39.5% 0.131 28.7)

  • #005347

    #005347

    oklch(39.6% 0.073 178.6)

  • #004C70

    #004C70

    oklch(39.6% 0.088 238.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E1F18

    #7E1F18

    oklch(39.5% 0.131 28.7)

  • #005620

    #005620

    oklch(39.5% 0.113 148.6)

  • #2A3E8C

    #2A3E8C

    oklch(39.5% 0.132 268.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E1F18

    #7E1F18

    oklch(39.5% 0.131 28.7)

  • #424D00

    #424D00

    oklch(39.6% 0.093 118.7)

  • #00505A

    #00505A

    oklch(39.5% 0.068 209.2)

  • #513182

    #513182

    oklch(39.6% 0.131 298.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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