#7F2017

Closest named color: Maroon (#800000). oklch(39.8% 0.131 29.5), rgb(127, 32, 23).

Aa

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

About this color

#7F2017 is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.131 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Maroon (#800000), ΔE 0.032 away. White text reads best on it, at 9.89:1.

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.131)
Temperaturewarm
Nearest nameMaroon (#800000)
Black text2.12:1
White text9.89:1

Values

HEX#7F2017
RGBrgb(127, 32, 23)
HSLhsl(5, 69%, 29%)
OKLCHoklch(39.8% 0.131 29.5)

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 #7F2017 9.89:1 AAA Lc -96.1 Preferred for body text
Black text on #7F2017 2.12:1 Fails Lc 12.1 Not readable
#7F2017 text on white 9.89:1 AAA Lc 91.8 Preferred for body text
#7F2017 text on black 2.12:1 Fails Lc -10.6 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

    #FEF2F0

    oklch(97% 0.013 28.9)

  2. Step 100

    100

    #FCE3DF

    oklch(93.5% 0.028 28.5)

  3. Step 200

    200

    #FBCCC4

    oklch(88.4% 0.055 29.4)

  4. Step 300

    300

    #FAA99B

    oklch(81% 0.098 30.2)

  5. Step 400

    400

    #F37564

    oklch(70.7% 0.158 29.5)

  6. Step 500

    500

    #EA4838

    oklch(63.1% 0.201 29.5)

  7. Step 600

    600

    #D6170C

    oklch(55.7% 0.219 29.5)

  8. Step 700

    700

    #B70400

    oklch(49.1% 0.2 29.5)

  9. Step 800

    800

    #960C05

    oklch(42.8% 0.169 29.6)

  10. Step 900

    900 (this color)

    #7F2017

    oklch(39.8% 0.131 29.5)

  11. Step 950

    950

    #47110B

    oklch(27% 0.084 29.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F2017 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)#3C36150.140
Deuteranopia (no green cones)#544B130.128
Tritanopia (no blue cones)#8C001F0.039
Achromatopsia (no color)#4343430.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2017

    #7F2017

    oklch(39.8% 0.131 29.5)

  • #00515B

    #00515B

    oklch(39.8% 0.069 209.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2017

    #7F2017

    oklch(39.8% 0.131 29.5)

  • #7B1E45

    #7B1E45

    oklch(39.9% 0.131 359.6)

  • #6B3800

    #6B3800

    oklch(39.8% 0.094 59)

Open the analogous palette in the generator

Split complementary

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

  • #7F2017

    #7F2017

    oklch(39.8% 0.131 29.5)

  • #005448

    #005448

    oklch(39.9% 0.073 178.8)

  • #004C72

    #004C72

    oklch(39.7% 0.09 239.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2017

    #7F2017

    oklch(39.8% 0.131 29.5)

  • #005723

    #005723

    oklch(39.9% 0.111 149.5)

  • #2C3F8D

    #2C3F8D

    oklch(39.9% 0.131 269.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2017

    #7F2017

    oklch(39.8% 0.131 29.5)

  • #424E00

    #424E00

    oklch(39.9% 0.094 119.3)

  • #00515B

    #00515B

    oklch(39.8% 0.069 209.1)

  • #533182

    #533182

    oklch(39.8% 0.131 299.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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