#7F213F

Closest named color: Wine (#80013F). oklch(40.7% 0.13 5.9), rgb(127, 33, 63).

Aa

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

About this color

#7F213F is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.130 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Wine (#80013F), ΔE 0.035 away. White text reads best on it, at 9.58:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.130)
Temperaturewarm
Nearest nameWine (#80013F)
Black text2.19:1
White text9.58:1

Values

HEX#7F213F
RGBrgb(127, 33, 63)
HSLhsl(341, 59%, 31%)
OKLCHoklch(40.7% 0.13 5.9)

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 #7F213F 9.58:1 AAA Lc -95.5 Preferred for body text
Black text on #7F213F 2.19:1 Fails Lc 12.8 Not readable
#7F213F text on white 9.58:1 AAA Lc 91.2 Preferred for body text
#7F213F text on black 2.19:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F8E4E7

    oklch(93.6% 0.022 7.2)

  3. Step 200

    200

    #F3CED5

    oklch(88.5% 0.043 5.2)

  4. Step 300

    300

    #ECADB9

    oklch(81% 0.075 6.3)

  5. Step 400

    400

    #DF7F95

    oklch(70.7% 0.12 5.9)

  6. Step 500

    500

    #D45B7B

    oklch(63.2% 0.155 6.1)

  7. Step 600

    600

    #BF3C64

    oklch(55.6% 0.169 6)

  8. Step 700

    700

    #A42D53

    oklch(49% 0.157 5.9)

  9. Step 800

    800 (this color)

    #7F213F

    oklch(40.7% 0.13 5.9)

  10. Step 900

    900

    #6C2639

    oklch(37.8% 0.101 6.5)

  11. Step 950

    950

    #3F1722

    oklch(27% 0.064 5.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F213F 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)#3739400.145
Deuteranopia (no green cones)#504C3D0.132
Tritanopia (no blue cones)#8B0F2D0.035
Achromatopsia (no color)#4545450.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F213F

    #7F213F

    oklch(40.7% 0.13 5.9)

  • #00564F

    #00564F

    oklch(40.8% 0.072 185.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F213F

    #7F213F

    oklch(40.7% 0.13 5.9)

  • #722764

    #722764

    oklch(40.7% 0.13 335.8)

  • #81260B

    #81260B

    oklch(40.8% 0.13 35.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F213F

    #7F213F

    oklch(40.7% 0.13 5.9)

  • #005932

    #005932

    oklch(40.8% 0.099 156)

  • #005362

    #005362

    oklch(40.7% 0.072 215.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F213F

    #7F213F

    oklch(40.7% 0.13 5.9)

  • #3C5300

    #3C5300

    oklch(40.8% 0.104 125.8)

  • #004D7E

    #004D7E

    oklch(40.7% 0.104 245.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F213F

    #7F213F

    oklch(40.7% 0.13 5.9)

  • #574900

    #574900

    oklch(40.8% 0.084 96.5)

  • #00564F

    #00564F

    oklch(40.8% 0.072 185.4)

  • #393F8E

    #393F8E

    oklch(40.8% 0.129 275.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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