#7F2728

Closest named color: Red Brown (#8B2E16). oklch(40.9% 0.122 23.7), rgb(127, 39, 40).

Aa

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

About this color

#7F2728 is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.122 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Red Brown (#8B2E16), ΔE 0.039 away. White text reads best on it, at 9.44:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameRed Brown (#8B2E16)
Black text2.22:1
White text9.44:1

Values

HEX#7F2728
RGBrgb(127, 39, 40)
HSLhsl(359, 53%, 33%)
OKLCHoklch(40.9% 0.122 23.7)

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 #7F2728 9.44:1 AAA Lc -95.3 Preferred for body text
Black text on #7F2728 2.22:1 Fails Lc 13.0 Not readable
#7F2728 text on white 9.44:1 AAA Lc 90.9 Preferred for body text
#7F2728 text on black 2.22:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #FCF3F2

    oklch(97.1% 0.01 25.1)

  2. Step 100

    100

    #F7E5E3

    oklch(93.6% 0.02 25.2)

  3. Step 200

    200

    #F2D0CD

    oklch(88.5% 0.039 23.9)

  4. Step 300

    300

    #EBAFAB

    oklch(80.8% 0.071 23.1)

  5. Step 400

    400

    #DF837E

    oklch(70.7% 0.114 23.7)

  6. Step 500

    500

    #D3615E

    oklch(63.2% 0.145 23.6)

  7. Step 600

    600

    #BE4444

    oklch(55.6% 0.157 23.8)

  8. Step 700

    700

    #A43436

    oklch(49.1% 0.147 23.4)

  9. Step 800

    800 (this color)

    #7F2728

    oklch(40.9% 0.122 23.7)

  10. Step 900

    900

    #6B2928

    oklch(37.6% 0.095 23.6)

  11. Step 950

    950

    #3F1918

    oklch(27% 0.06 23.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F2728 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)#3F3A270.130
Deuteranopia (no green cones)#554D250.121
Tritanopia (no blue cones)#8C10280.036
Achromatopsia (no color)#4646460.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2728

    #7F2728

    oklch(40.9% 0.122 23.7)

  • #00555B

    #00555B

    oklch(41% 0.07 203.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2728

    #7F2728

    oklch(40.9% 0.122 23.7)

  • #79274F

    #79274F

    oklch(40.9% 0.122 353.7)

  • #733700

    #733700

    oklch(40.8% 0.103 53.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F2728

    #7F2728

    oklch(40.9% 0.122 23.7)

  • #005746

    #005746

    oklch(40.7% 0.078 173.5)

  • #005171

    #005171

    oklch(41% 0.085 233.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2728

    #7F2728

    oklch(40.9% 0.122 23.7)

  • #125A16

    #125A16

    oklch(41% 0.122 143.6)

  • #26458B

    #26458B

    oklch(40.8% 0.122 263.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2728

    #7F2728

    oklch(40.9% 0.122 23.7)

  • #4A4F00

    #4A4F00

    oklch(40.9% 0.092 113.9)

  • #00555B

    #00555B

    oklch(41% 0.07 203.1)

  • #4F3984

    #4F3984

    oklch(40.9% 0.121 293.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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