#7F163E

Closest named color: Wine (#80013F). oklch(39.7% 0.141 4.1), rgb(127, 22, 62).

Aa

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

About this color

#7F163E is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.141 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Wine (#80013F), ΔE 0.019 away. White text reads best on it, at 10.06:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.141)
Temperaturewarm
Nearest nameWine (#80013F)
Black text2.08:1
White text10.06:1

Values

HEX#7F163E
RGBrgb(127, 22, 62)
HSLhsl(337, 70%, 29%)
OKLCHoklch(39.7% 0.141 4.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 #7F163E 10.06:1 AAA Lc -96.3 Preferred for body text
Black text on #7F163E 2.08:1 Fails Lc 12.0 Not readable
#7F163E text on white 10.06:1 AAA Lc 92.0 Preferred for body text
#7F163E text on black 2.08:1 Fails Lc -10.4 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FDE2E7

    oklch(93.6% 0.03 5)

  3. Step 200

    200

    #FCCAD4

    oklch(88.5% 0.058 4.9)

  4. Step 300

    300

    #FBA4B9

    oklch(81% 0.106 4)

  5. Step 400

    400

    #F46D94

    oklch(70.8% 0.169 4.3)

  6. Step 500

    500

    #EB397A

    oklch(63.2% 0.216 4.2)

  7. Step 600

    600

    #D20064

    oklch(55.6% 0.224 4.1)

  8. Step 700

    700

    #B20054

    oklch(49.2% 0.198 3.9)

  9. Step 800

    800

    #930044

    oklch(42.7% 0.172 4)

  10. Step 900

    900 (this color)

    #7F163E

    oklch(39.7% 0.141 4.1)

  11. Step 950

    950

    #470C21

    oklch(26.9% 0.09 4.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F163E 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)#31353F0.159
Deuteranopia (no green cones)#4D493C0.143
Tritanopia (no blue cones)#8B00280.039
Achromatopsia (no color)#4242420.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F163E

    #7F163E

    oklch(39.7% 0.141 4.1)

  • #00534B

    #00534B

    oklch(39.7% 0.07 183.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F163E

    #7F163E

    oklch(39.7% 0.141 4.1)

  • #711F65

    #711F65

    oklch(39.7% 0.141 334.4)

  • #821B01

    #821B01

    oklch(39.7% 0.142 34.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F163E

    #7F163E

    oklch(39.7% 0.141 4.1)

  • #00562D

    #00562D

    oklch(39.8% 0.1 154.2)

  • #00505E

    #00505E

    oklch(39.7% 0.07 214.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F163E

    #7F163E

    oklch(39.7% 0.141 4.1)

  • #3C4F00

    #3C4F00

    oklch(39.7% 0.098 124)

  • #004B77

    #004B77

    oklch(39.7% 0.098 243.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F163E

    #7F163E

    oklch(39.7% 0.141 4.1)

  • #554600

    #554600

    oklch(39.8% 0.082 95)

  • #00534B

    #00534B

    oklch(39.7% 0.07 183.8)

  • #323A91

    #323A91

    oklch(39.6% 0.142 274)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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