#7E0C12

Closest named color: Maroon (#800000). oklch(38% 0.145 26), rgb(126, 12, 18).

Aa

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

About this color

#7E0C12 is a dark, vivid red. In OKLCH its lightness is 38%, its chroma 0.145 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Maroon (#800000), ΔE 0.013 away. White text reads best on it, at 10.77:1.

Hue familyReds
Lightnessdark (38%)
Chromavivid (0.145)
Temperaturewarm
Nearest nameMaroon (#800000)
Black text1.94:1
White text10.77:1

Values

HEX#7E0C12
RGBrgb(126, 12, 18)
HSLhsl(357, 83%, 27%)
OKLCHoklch(38% 0.145 26)

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 #7E0C12 10.77:1 AAA Lc -97.3 Preferred for body text
Black text on #7E0C12 1.94:1 Fails Lc 10.8 Not readable
#7E0C12 text on white 10.77:1 AAA Lc 93.2 Preferred for body text
#7E0C12 text on black 1.94:1 Fails Lc -9.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

    #FFF2F0

    oklch(97.1% 0.014 28)

  2. Step 100

    100

    #FFE2DF

    oklch(93.6% 0.032 24.8)

  3. Step 200

    200

    #FFCBC4

    oklch(88.6% 0.06 27.2)

  4. Step 300

    300

    #FFA59C

    oklch(80.9% 0.108 25.9)

  5. Step 400

    400

    #FA6D65

    oklch(70.6% 0.174 25.8)

  6. Step 500

    500

    #F33739

    oklch(63.1% 0.223 26)

  7. Step 600

    600

    #D8001D

    oklch(55.5% 0.226 26.1)

  8. Step 700

    700

    #B70017

    oklch(49.1% 0.199 26.1)

  9. Step 800

    800

    #980011

    oklch(42.8% 0.174 26.1)

  10. Step 900

    900 (this color)

    #7E0C12

    oklch(38% 0.145 26)

  11. Step 950

    950

    #4A0C0C

    oklch(27% 0.092 25.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E0C12 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)#342E100.160
Deuteranopia (no green cones)#4F460C0.144
Tritanopia (no blue cones)#8C00100.030
Achromatopsia (no color)#3E3E3E0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E0C12

    #7E0C12

    oklch(38% 0.145 26)

  • #004C53

    #004C53

    oklch(38% 0.065 205.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E0C12

    #7E0C12

    oklch(38% 0.145 26)

  • #780C45

    #780C45

    oklch(38% 0.146 355.8)

  • #663200

    #663200

    oklch(37.8% 0.093 55.8)

Open the analogous palette in the generator

Split complementary

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

  • #7E0C12

    #7E0C12

    oklch(38% 0.145 26)

  • #004E41

    #004E41

    oklch(37.9% 0.071 176.6)

  • #004868

    #004868

    oklch(38% 0.082 236.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E0C12

    #7E0C12

    oklch(38% 0.145 26)

  • #005115

    #005115

    oklch(37.8% 0.116 146)

  • #1D398E

    #1D398E

    oklch(38% 0.145 265.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E0C12

    #7E0C12

    oklch(38% 0.145 26)

  • #404700

    #404700

    oklch(37.8% 0.086 116)

  • #004C53

    #004C53

    oklch(38% 0.065 205.4)

  • #4C2985

    #4C2985

    oklch(38% 0.146 296.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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