#7E0C02

Closest named color: Maroon (#800000). oklch(37.8% 0.147 30.5), rgb(126, 12, 2).

Aa

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

About this color

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

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

Values

HEX#7E0C02
RGBrgb(126, 12, 2)
HSLhsl(5, 97%, 25%)
OKLCHoklch(37.8% 0.147 30.5)

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 #7E0C02 10.82:1 AAA Lc -97.3 Preferred for body text
Black text on #7E0C02 1.94:1 Fails Lc 10.7 Not readable
#7E0C02 text on white 10.82:1 AAA Lc 93.2 Preferred for body text
#7E0C02 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

    #FFE3DD

    oklch(93.7% 0.032 32.1)

  3. Step 200

    200

    #FFCBC1

    oklch(88.5% 0.061 30.9)

  4. Step 300

    300

    #FFA696

    oklch(80.9% 0.109 30.7)

  5. Step 400

    400

    #FB6E59

    oklch(70.7% 0.177 30.6)

  6. Step 500

    500

    #F43823

    oklch(63.2% 0.226 30.5)

  7. Step 600

    600

    #D61700

    oklch(55.6% 0.22 30.5)

  8. Step 700

    700

    #B51100

    oklch(49.1% 0.194 30.5)

  9. Step 800

    800

    #960C00

    oklch(42.7% 0.169 30.4)

  10. Step 900

    900 (this color)

    #7E0C02

    oklch(37.8% 0.147 30.5)

  11. Step 950

    950

    #4A0C06

    oklch(27% 0.093 30.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E0C02 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)#352E000.159
Deuteranopia (no green cones)#5046000.142
Tritanopia (no blue cones)#8C000C0.031
Achromatopsia (no color)#3D3D3D0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E0C02

    #7E0C02

    oklch(37.8% 0.147 30.5)

  • #004B55

    #004B55

    oklch(37.8% 0.065 210)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E0C02

    #7E0C02

    oklch(37.8% 0.147 30.5)

  • #7A083E

    #7A083E

    oklch(37.9% 0.147 0.6)

  • #633500

    #633500

    oklch(38% 0.088 60.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E0C02

    #7E0C02

    oklch(37.8% 0.147 30.5)

  • #004E44

    #004E44

    oklch(38% 0.069 180.5)

  • #00476B

    #00476B

    oklch(37.9% 0.087 239.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E0C02

    #7E0C02

    oklch(37.8% 0.147 30.5)

  • #005022

    #005022

    oklch(37.7% 0.103 150.5)

  • #27368E

    #27368E

    oklch(37.9% 0.146 270.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E0C02

    #7E0C02

    oklch(37.8% 0.147 30.5)

  • #3C4800

    #3C4800

    oklch(37.7% 0.09 119.9)

  • #004B55

    #004B55

    oklch(37.8% 0.065 210)

  • #502682

    #502682

    oklch(37.8% 0.147 300.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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