#47171F

Closest named color: Mahogany (#4A0100). oklch(28.3% 0.074 13), rgb(71, 23, 31).

Aa

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

About this color

#47171F is a dark, moderately saturated red. In OKLCH its lightness is 28%, its chroma 0.074 and its hue 13°. Its hue sits on the warm side of the wheel. The nearest named color is Mahogany (#4A0100), ΔE 0.047 away. White text reads best on it, at 14.89:1.

Hue familyReds
Lightnessdark (28%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.41:1
White text14.89:1

Values

HEX#47171F
RGBrgb(71, 23, 31)
HSLhsl(350, 51%, 18%)
OKLCHoklch(28.3% 0.074 13)

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 #47171F 14.89:1 AAA Lc -104.2 Preferred for body text
Black text on #47171F 1.41:1 Fails Lc 0.0 Not readable
#47171F text on white 14.89:1 AAA Lc 101.3 Preferred for body text
#47171F text on black 1.41:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FAE3E5

    oklch(93.5% 0.025 11.6)

  3. Step 200

    200

    #F7CDD0

    oklch(88.5% 0.048 13.2)

  4. Step 300

    300

    #F3AAB0

    oklch(80.9% 0.086 13.7)

  5. Step 400

    400

    #EA7988

    oklch(70.8% 0.14 12.9)

  6. Step 500

    500

    #DF506A

    oklch(63% 0.178 13)

  7. Step 600

    600

    #CB2B52

    oklch(55.7% 0.194 13)

  8. Step 700

    700

    #AF1B43

    oklch(49.2% 0.18 12.9)

  9. Step 800

    800

    #8E1B37

    oklch(42.7% 0.149 13)

  10. Step 900

    900

    #721F2F

    oklch(37.7% 0.116 13.5)

  11. Step 950

    950 (this color)

    #47171F

    oklch(28.3% 0.074 13)

Export this scale for Tailwind in the Tailwind colors tool

#47171F 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)#22211F0.081
Deuteranopia (no green cones)#2E2B1E0.075
Tritanopia (no blue cones)#4E101A0.019
Achromatopsia (no color)#2727270.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #47171F

    #47171F

    oklch(28.3% 0.074 13)

  • #003130

    #003130

    oklch(28.3% 0.049 192.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #47171F

    #47171F

    oklch(28.3% 0.074 13)

  • #411833

    #411833

    oklch(28.2% 0.074 342.7)

  • #461B06

    #461B06

    oklch(28.3% 0.073 44)

Open the analogous palette in the generator

Split complementary

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

  • #47171F

    #47171F

    oklch(28.3% 0.074 13)

  • #003321

    #003321

    oklch(28.4% 0.061 163.2)

  • #002F3C

    #002F3C

    oklch(28.3% 0.052 222.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #47171F

    #47171F

    oklch(28.3% 0.074 13)

  • #1A3104

    #1A3104

    oklch(28.3% 0.074 133.1)

  • #092A4D

    #092A4D

    oklch(28.3% 0.074 253.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #47171F

    #47171F

    oklch(28.3% 0.074 13)

  • #2F2A00

    #2F2A00

    oklch(28.2% 0.059 102.5)

  • #003130

    #003130

    oklch(28.3% 0.049 192.6)

  • #25234C

    #25234C

    oklch(28.2% 0.073 282.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #47171F 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.