#7E0215

Closest named color: Maroon (#800000). oklch(37.5% 0.15 23.5), rgb(126, 2, 21).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (38%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameMaroon (#800000)
Black text1.90:1
White text11.01:1

Values

HEX#7E0215
RGBrgb(126, 2, 21)
HSLhsl(351, 97%, 25%)
OKLCHoklch(37.5% 0.15 23.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 #7E0215 11.01:1 AAA Lc -97.4 Preferred for body text
Black text on #7E0215 1.90:1 Fails Lc 10.7 Not readable
#7E0215 text on white 11.01:1 AAA Lc 93.3 Preferred for body text
#7E0215 text on black 1.90:1 Fails Lc -9.2 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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FFE2E0

    oklch(93.6% 0.032 22.5)

  3. Step 200

    200

    #FFCAC6

    oklch(88.4% 0.061 23.4)

  4. Step 300

    300

    #FFA59F

    oklch(81% 0.108 23.9)

  5. Step 400

    400

    #FD6A69

    oklch(70.7% 0.18 23.2)

  6. Step 500

    500

    #F62F3F

    oklch(63.2% 0.23 23.5)

  7. Step 600

    600

    #D8002A

    oklch(55.6% 0.225 23.5)

  8. Step 700

    700

    #B70022

    oklch(49.2% 0.199 23.5)

  9. Step 800

    800

    #97001A

    oklch(42.7% 0.172 23.6)

  10. Step 900

    900 (this color)

    #7E0215

    oklch(37.5% 0.15 23.5)

  11. Step 950

    950

    #4B0A0E

    oklch(27.1% 0.095 23.5)

Export this scale for Tailwind in the Tailwind colors tool

#7E0215 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)#312C140.167
Deuteranopia (no green cones)#4E450F0.150
Tritanopia (no blue cones)#8C000C0.032
Achromatopsia (no color)#3C3C3C0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E0215

    #7E0215

    oklch(37.5% 0.15 23.5)

  • #004B50

    #004B50

    oklch(37.6% 0.064 202.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E0215

    #7E0215

    oklch(37.5% 0.15 23.5)

  • #770647

    #770647

    oklch(37.6% 0.15 353.7)

  • #663000

    #663000

    oklch(37.5% 0.094 53.7)

Open the analogous palette in the generator

Split complementary

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

  • #7E0215

    #7E0215

    oklch(37.5% 0.15 23.5)

  • #004D3E

    #004D3E

    oklch(37.5% 0.071 173.9)

  • #004764

    #004764

    oklch(37.5% 0.078 234)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E0215

    #7E0215

    oklch(37.5% 0.15 23.5)

  • #005007

    #005007

    oklch(37.4% 0.123 143.5)

  • #13388F

    #13388F

    oklch(37.5% 0.15 263.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E0215

    #7E0215

    oklch(37.5% 0.15 23.5)

  • #414500

    #414500

    oklch(37.4% 0.084 113.5)

  • #004B50

    #004B50

    oklch(37.6% 0.064 202.5)

  • #482787

    #482787

    oklch(37.4% 0.151 293.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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