#7E1F2C

Closest named color: Wine Red (#7B0323). oklch(39.9% 0.129 17.8), rgb(126, 31, 44).

Aa

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

About this color

#7E1F2C is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.129 and its hue 18°. Its hue sits on the warm side of the wheel. The nearest named color is Wine Red (#7B0323), ΔE 0.032 away. White text reads best on it, at 9.90:1.

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.129)
Temperaturewarm
Nearest nameWine Red (#7B0323)
Black text2.11:1
White text9.90:1

Values

HEX#7E1F2C
RGBrgb(126, 31, 44)
HSLhsl(352, 61%, 31%)
OKLCHoklch(39.9% 0.129 17.8)

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 #7E1F2C 9.90:1 AAA Lc -96.2 Preferred for body text
Black text on #7E1F2C 2.11:1 Fails Lc 12.1 Not readable
#7E1F2C text on white 9.90:1 AAA Lc 91.9 Preferred for body text
#7E1F2C text on black 2.11:1 Fails Lc -10.5 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E3

    oklch(93.6% 0.028 17.7)

  3. Step 200

    200

    #FBCCCC

    oklch(88.6% 0.053 18.2)

  4. Step 300

    300

    #F9A7A9

    oklch(80.9% 0.097 17.8)

  5. Step 400

    400

    #F1747C

    oklch(70.7% 0.154 17.9)

  6. Step 500

    500

    #E8465B

    oklch(63.1% 0.197 17.7)

  7. Step 600

    600

    #D31441

    oklch(55.5% 0.214 17.7)

  8. Step 700

    700

    #B50034

    oklch(49% 0.196 17.6)

  9. Step 800

    800

    #940A2A

    oklch(42.7% 0.165 18.1)

  10. Step 900

    900 (this color)

    #7E1F2C

    oklch(39.9% 0.129 17.8)

  11. Step 950

    950

    #461017

    oklch(26.9% 0.082 17.3)

Export this scale for Tailwind in the Tailwind colors tool

#7E1F2C 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)#39362C0.142
Deuteranopia (no green cones)#514A290.130
Tritanopia (no blue cones)#8B00250.033
Achromatopsia (no color)#4343430.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E1F2C

    #7E1F2C

    oklch(39.9% 0.129 17.8)

  • #005254

    #005254

    oklch(39.8% 0.068 197.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E1F2C

    #7E1F2C

    oklch(39.9% 0.129 17.8)

  • #752153

    #752153

    oklch(39.7% 0.129 347.9)

  • #743000

    #743000

    oklch(39.8% 0.109 47.6)

Open the analogous palette in the generator

Split complementary

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

  • #7E1F2C

    #7E1F2C

    oklch(39.9% 0.129 17.8)

  • #00553F

    #00553F

    oklch(39.9% 0.081 168)

  • #004F68

    #004F68

    oklch(39.9% 0.078 227.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E1F2C

    #7E1F2C

    oklch(39.9% 0.129 17.8)

  • #205500

    #205500

    oklch(39.8% 0.122 137.7)

  • #11448B

    #11448B

    oklch(39.8% 0.13 258.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E1F2C

    #7E1F2C

    oklch(39.9% 0.129 17.8)

  • #4C4A00

    #4C4A00

    oklch(39.8% 0.086 108)

  • #005254

    #005254

    oklch(39.8% 0.068 197.6)

  • #463787

    #463787

    oklch(39.8% 0.128 287.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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