#30171C

Closest named color: Dark Brown (#341C02). oklch(24.2% 0.041 7.7), rgb(48, 23, 28).

Aa

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

About this color

#30171C is a very dark, muted red. In OKLCH its lightness is 24%, its chroma 0.041 and its hue 8°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.048 away. White text reads best on it, at 16.60:1.

Hue familyReds
Lightnessvery dark (24%)
Chromamuted (0.041)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.26:1
White text16.60:1

Values

HEX#30171C
RGBrgb(48, 23, 28)
HSLhsl(348, 35%, 14%)
OKLCHoklch(24.2% 0.041 7.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 #30171C 16.60:1 AAA Lc -105.9 Preferred for body text
Black text on #30171C 1.26:1 Fails Lc 0.0 Not readable
#30171C text on white 16.60:1 AAA Lc 103.4 Preferred for body text
#30171C text on black 1.26: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

    #FAF4F4

    oklch(97.2% 0.006 17.3)

  2. Step 100

    100

    #F3E6E8

    oklch(93.6% 0.014 6.7)

  3. Step 200

    200

    #EAD2D6

    oklch(88.5% 0.027 6.2)

  4. Step 300

    300

    #DDB4BB

    oklch(80.8% 0.048 6.7)

  5. Step 400

    400

    #CB8D98

    oklch(70.8% 0.077 7.5)

  6. Step 500

    500

    #BC6F7E

    oklch(63% 0.099 7.7)

  7. Step 600

    600

    #A75667

    oklch(55.5% 0.107 7.9)

  8. Step 700

    700

    #8F4656

    oklch(49% 0.1 7.6)

  9. Step 800

    800

    #743A46

    oklch(42.6% 0.082 8)

  10. Step 900

    900

    #5E323B

    oklch(37.6% 0.064 7.5)

  11. Step 950

    950 (this color)

    #30171C

    oklch(24.2% 0.041 7.7)

Export this scale for Tailwind in the Tailwind colors tool

#30171C 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)#1B1B1C0.045
Deuteranopia (no green cones)#21201B0.042
Tritanopia (no blue cones)#3415190.010
Achromatopsia (no color)#1E1E1E0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #30171C

    #30171C

    oklch(24.2% 0.041 7.7)

  • #012623

    #012623

    oklch(24.2% 0.041 186.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #30171C

    #30171C

    oklch(24.2% 0.041 7.7)

  • #2C1826

    #2C1826

    oklch(24.2% 0.04 338.7)

  • #301811

    #301811

    oklch(24.1% 0.041 37.1)

Open the analogous palette in the generator

Split complementary

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

  • #30171C

    #30171C

    oklch(24.2% 0.041 7.7)

  • #0C2518

    #0C2518

    oklch(24% 0.04 158.5)

  • #03242C

    #03242C

    oklch(24.1% 0.04 217.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #30171C

    #30171C

    oklch(24.2% 0.041 7.7)

  • #1A230D

    #1A230D

    oklch(24.1% 0.041 127.5)

  • #0F2132

    #0F2132

    oklch(24.1% 0.041 248.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #30171C

    #30171C

    oklch(24.2% 0.041 7.7)

  • #252006

    #252006

    oklch(24.3% 0.042 98.5)

  • #012623

    #012623

    oklch(24.2% 0.041 186.9)

  • #1B1E33

    #1B1E33

    oklch(24.3% 0.04 276.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #30171C 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.