#7F162B

Closest named color: Wine Red (#7B0323). oklch(39.2% 0.138 16.1), rgb(127, 22, 43).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (39%)
Chromamoderately saturated (0.138)
Temperaturewarm
Nearest nameWine Red (#7B0323)
Black text2.05:1
White text10.23:1

Values

HEX#7F162B
RGBrgb(127, 22, 43)
HSLhsl(348, 70%, 29%)
OKLCHoklch(39.2% 0.138 16.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 #7F162B 10.23:1 AAA Lc -96.6 Preferred for body text
Black text on #7F162B 2.05:1 Fails Lc 11.6 Not readable
#7F162B text on white 10.23:1 AAA Lc 92.4 Preferred for body text
#7F162B text on black 2.05:1 Fails Lc -10.1 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

    #FDCACC

    oklch(88.4% 0.058 15.7)

  4. Step 300

    300

    #FCA5AA

    oklch(80.9% 0.103 15.9)

  5. Step 400

    400

    #F66F7D

    oklch(70.8% 0.166 16)

  6. Step 500

    500

    #ED3C5C

    oklch(63% 0.212 16)

  7. Step 600

    600

    #D60044

    oklch(55.6% 0.223 16.1)

  8. Step 700

    700

    #B50038

    oklch(49.1% 0.196 16.1)

  9. Step 800

    800

    #96002D

    oklch(42.7% 0.171 16.1)

  10. Step 900

    900 (this color)

    #7F162B

    oklch(39.2% 0.138 16.1)

  11. Step 950

    950

    #480D17

    oklch(27% 0.088 16.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F162B 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)#35332B0.154
Deuteranopia (no green cones)#5049280.141
Tritanopia (no blue cones)#8C001F0.030
Achromatopsia (no color)#4141410.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F162B

    #7F162B

    oklch(39.2% 0.138 16.1)

  • #005051

    #005051

    oklch(39.1% 0.067 196.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F162B

    #7F162B

    oklch(39.2% 0.138 16.1)

  • #751B55

    #751B55

    oklch(39.2% 0.138 345.8)

  • #732D00

    #732D00

    oklch(39.2% 0.11 45.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F162B

    #7F162B

    oklch(39.2% 0.138 16.1)

  • #00533B

    #00533B

    oklch(39.2% 0.082 165.7)

  • #004D64

    #004D64

    oklch(39.1% 0.075 226.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F162B

    #7F162B

    oklch(39.2% 0.138 16.1)

  • #245300

    #245300

    oklch(39.3% 0.118 136.3)

  • #00438B

    #00438B

    oklch(39.2% 0.134 256)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F162B

    #7F162B

    oklch(39.2% 0.138 16.1)

  • #4C4800

    #4C4800

    oklch(39.3% 0.084 106)

  • #005051

    #005051

    oklch(39.1% 0.067 196.2)

  • #43348B

    #43348B

    oklch(39.3% 0.138 286.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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