#7F1B2A

Closest named color: Wine Red (#7B0323). oklch(39.6% 0.134 18), rgb(127, 27, 42).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.134)
Temperaturewarm
Nearest nameWine Red (#7B0323)
Black text2.09:1
White text10.03:1

Values

HEX#7F1B2A
RGBrgb(127, 27, 42)
HSLhsl(351, 65%, 30%)
OKLCHoklch(39.6% 0.134 18)

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 #7F1B2A 10.03:1 AAA Lc -96.3 Preferred for body text
Black text on #7F1B2A 2.09:1 Fails Lc 11.9 Not readable
#7F1B2A text on white 10.03:1 AAA Lc 92.1 Preferred for body text
#7F1B2A text on black 2.09: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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FDE3E2

    oklch(93.7% 0.029 20.3)

  3. Step 200

    200

    #FCCBCB

    oklch(88.5% 0.056 18.3)

  4. Step 300

    300

    #FBA6A8

    oklch(80.9% 0.101 18)

  5. Step 400

    400

    #F4717A

    oklch(70.7% 0.161 17.9)

  6. Step 500

    500

    #EB4158

    oklch(63.1% 0.205 18.1)

  7. Step 600

    600

    #D6003E

    oklch(55.5% 0.222 18)

  8. Step 700

    700

    #B50033

    oklch(49% 0.196 18)

  9. Step 800

    800

    #960029

    oklch(42.7% 0.171 17.8)

  10. Step 900

    900 (this color)

    #7F1B2A

    oklch(39.6% 0.134 18)

  11. Step 950

    950

    #470F16

    oklch(27% 0.084 18)

Export this scale for Tailwind in the Tailwind colors tool

#7F1B2A 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)#38352A0.147
Deuteranopia (no green cones)#514A270.136
Tritanopia (no blue cones)#8C00220.030
Achromatopsia (no color)#4242420.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F1B2A

    #7F1B2A

    oklch(39.6% 0.134 18)

  • #005154

    #005154

    oklch(39.5% 0.067 199.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F1B2A

    #7F1B2A

    oklch(39.6% 0.134 18)

  • #761E53

    #761E53

    oklch(39.6% 0.134 348)

  • #733000

    #733000

    oklch(39.6% 0.108 48)

Open the analogous palette in the generator

Split complementary

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

  • #7F1B2A

    #7F1B2A

    oklch(39.6% 0.134 18)

  • #00543E

    #00543E

    oklch(39.6% 0.08 167.8)

  • #004E67

    #004E67

    oklch(39.6% 0.077 228)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F1B2A

    #7F1B2A

    oklch(39.6% 0.134 18)

  • #1F5500

    #1F5500

    oklch(39.7% 0.123 137.9)

  • #0C438D

    #0C438D

    oklch(39.6% 0.135 258.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F1B2A

    #7F1B2A

    oklch(39.6% 0.134 18)

  • #4B4900

    #4B4900

    oklch(39.4% 0.085 107.9)

  • #005154

    #005154

    oklch(39.5% 0.067 199.1)

  • #463589

    #463589

    oklch(39.6% 0.134 288)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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