#7E0236

Closest named color: Wine (#80013F). oklch(38.2% 0.152 6.2), rgb(126, 2, 54).

Aa

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

About this color

#7E0236 is a dark, vivid red. In OKLCH its lightness is 38%, its chroma 0.152 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Wine (#80013F), ΔE 0.015 away. White text reads best on it, at 10.77:1.

Hue familyReds
Lightnessdark (38%)
Chromavivid (0.152)
Temperaturewarm
Nearest nameWine (#80013F)
Black text1.94:1
White text10.77:1

Values

HEX#7E0236
RGBrgb(126, 2, 54)
HSLhsl(335, 97%, 25%)
OKLCHoklch(38.2% 0.152 6.2)

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 #7E0236 10.77:1 AAA Lc -97.0 Preferred for body text
Black text on #7E0236 1.94:1 Fails Lc 11.1 Not readable
#7E0236 text on white 10.77:1 AAA Lc 92.9 Preferred for body text
#7E0236 text on black 1.94:1 Fails Lc -9.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

    #FFF2F4

    oklch(97.2% 0.014 6.7)

  2. Step 100

    100

    #FFE1E6

    oklch(93.6% 0.034 6.4)

  3. Step 200

    200

    #FFC8D2

    oklch(88.4% 0.064 6.3)

  4. Step 300

    300

    #FFA1B5

    oklch(80.9% 0.114 6.1)

  5. Step 400

    400

    #FA678F

    oklch(70.7% 0.182 6.1)

  6. Step 500

    500

    #F22973

    oklch(63.1% 0.233 6.3)

  7. Step 600

    600

    #D3005F

    oklch(55.7% 0.223 6.1)

  8. Step 700

    700

    #B2004F

    oklch(49% 0.197 6.1)

  9. Step 800

    800

    #940040

    oklch(42.8% 0.172 6.4)

  10. Step 900

    900 (this color)

    #7E0236

    oklch(38.2% 0.152 6.2)

  11. Step 950

    950

    #49081F

    oklch(26.9% 0.096 5.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E0236 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)#2C2F370.172
Deuteranopia (no green cones)#4A46330.156
Tritanopia (no blue cones)#8A001D0.046
Achromatopsia (no color)#3E3E3E0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E0236

    #7E0236

    oklch(38.2% 0.152 6.2)

  • #004E48

    #004E48

    oklch(38.1% 0.067 186)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E0236

    #7E0236

    oklch(38.2% 0.152 6.2)

  • #701260

    #701260

    oklch(38.2% 0.152 336.4)

  • #791E00

    #791E00

    oklch(38.3% 0.13 36.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E0236

    #7E0236

    oklch(38.2% 0.152 6.2)

  • #00512D

    #00512D

    oklch(38.2% 0.093 156)

  • #004B5A

    #004B5A

    oklch(38.1% 0.068 217)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E0236

    #7E0236

    oklch(38.2% 0.152 6.2)

  • #364B00

    #364B00

    oklch(38.1% 0.097 125.8)

  • #004674

    #004674

    oklch(38.2% 0.099 246.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E0236

    #7E0236

    oklch(38.2% 0.152 6.2)

  • #4F4200

    #4F4200

    oklch(38.1% 0.078 96.4)

  • #004E48

    #004E48

    oklch(38.1% 0.067 186)

  • #323291

    #323291

    oklch(38.1% 0.152 276.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7E0236.

Similar named colors

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

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