#7F182A

Closest named color: Wine Red (#7B0323). oklch(39.4% 0.137 17.1), rgb(127, 24, 42).

Aa

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

About this color

#7F182A is a dark, moderately saturated red. In OKLCH its lightness is 39%, its chroma 0.137 and its hue 17°. Its hue sits on the warm side of the wheel. The nearest named color is Wine Red (#7B0323), ΔE 0.024 away. White text reads best on it, at 10.16:1.

Hue familyReds
Lightnessdark (39%)
Chromamoderately saturated (0.137)
Temperaturewarm
Nearest nameWine Red (#7B0323)
Black text2.06:1
White text10.16:1

Values

HEX#7F182A
RGBrgb(127, 24, 42)
HSLhsl(350, 68%, 30%)
OKLCHoklch(39.4% 0.137 17.1)

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 #7F182A 10.16:1 AAA Lc -96.5 Preferred for body text
Black text on #7F182A 2.06:1 Fails Lc 11.7 Not readable
#7F182A text on white 10.16:1 AAA Lc 92.3 Preferred for body text
#7F182A text on black 2.06:1 Fails Lc -10.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

    #FFF2F2

    oklch(97.1% 0.014 17.4)

  2. Step 100

    100

    #FDE2E3

    oklch(93.5% 0.03 15.1)

  3. Step 200

    200

    #FDCBCC

    oklch(88.6% 0.057 16.9)

  4. Step 300

    300

    #FCA5A9

    oklch(80.9% 0.103 16.6)

  5. Step 400

    400

    #F5707B

    oklch(70.7% 0.163 17.2)

  6. Step 500

    500

    #ED3E59

    oklch(63.2% 0.21 17.3)

  7. Step 600

    600

    #D60041

    oklch(55.6% 0.222 17)

  8. Step 700

    700

    #B50035

    oklch(49% 0.196 17.2)

  9. Step 800

    800

    #96002B

    oklch(42.7% 0.171 17)

  10. Step 900

    900 (this color)

    #7F182A

    oklch(39.4% 0.137 17.1)

  11. Step 950

    950

    #480E16

    oklch(27% 0.087 17.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F182A 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)#36342A0.152
Deuteranopia (no green cones)#5049270.139
Tritanopia (no blue cones)#8C00200.030
Achromatopsia (no color)#4141410.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F182A

    #7F182A

    oklch(39.4% 0.137 17.1)

  • #005152

    #005152

    oklch(39.4% 0.067 196.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F182A

    #7F182A

    oklch(39.4% 0.137 17.1)

  • #761C54

    #761C54

    oklch(39.4% 0.137 347)

  • #732F00

    #732F00

    oklch(39.5% 0.109 47.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F182A

    #7F182A

    oklch(39.4% 0.137 17.1)

  • #00533D

    #00533D

    oklch(39.3% 0.08 167.6)

  • #004D65

    #004D65

    oklch(39.2% 0.076 227.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F182A

    #7F182A

    oklch(39.4% 0.137 17.1)

  • #215300

    #215300

    oklch(39.2% 0.119 137.2)

  • #04438D

    #04438D

    oklch(39.5% 0.136 257)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F182A

    #7F182A

    oklch(39.4% 0.137 17.1)

  • #4B4900

    #4B4900

    oklch(39.4% 0.085 107.9)

  • #005152

    #005152

    oklch(39.4% 0.067 196.2)

  • #44348A

    #44348A

    oklch(39.4% 0.137 286.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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