#30171A

Closest named color: Dark Brown (#341C02). oklch(24.1% 0.04 12.9), rgb(48, 23, 26).

Aa

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

About this color

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

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

Values

HEX#30171A
RGBrgb(48, 23, 26)
HSLhsl(353, 35%, 14%)
OKLCHoklch(24.1% 0.04 12.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 #30171A 16.62:1 AAA Lc -105.9 Preferred for body text
Black text on #30171A 1.26:1 Fails Lc 0.0 Not readable
#30171A text on white 16.62:1 AAA Lc 103.4 Preferred for body text
#30171A 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

    #F3E6E7

    oklch(93.6% 0.014 12)

  3. Step 200

    200

    #EAD2D4

    oklch(88.4% 0.027 11.9)

  4. Step 300

    300

    #DEB5B8

    oklch(81% 0.048 13.2)

  5. Step 400

    400

    #CC8D93

    oklch(70.7% 0.077 12.9)

  6. Step 500

    500

    #BD7079

    oklch(63.2% 0.098 12.7)

  7. Step 600

    600

    #A85761

    oklch(55.6% 0.106 13.3)

  8. Step 700

    700

    #904751

    oklch(49.2% 0.099 12.8)

  9. Step 800

    800

    #753A42

    oklch(42.6% 0.083 12.7)

  10. Step 900

    900

    #5F3338

    oklch(37.8% 0.064 13.3)

  11. Step 950

    950 (this color)

    #30171A

    oklch(24.1% 0.04 12.9)

Export this scale for Tailwind in the Tailwind colors tool

#30171A 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)#1C1B1A0.043
Deuteranopia (no green cones)#22201A0.040
Tritanopia (no blue cones)#3414180.011
Achromatopsia (no color)#1E1E1E0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #30171A

    #30171A

    oklch(24.1% 0.04 12.9)

  • #012525

    #012525

    oklch(24% 0.04 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #30171A

    #30171A

    oklch(24.1% 0.04 12.9)

  • #2D1725

    #2D1725

    oklch(24.1% 0.042 342)

  • #30190F

    #30190F

    oklch(24.2% 0.041 43.9)

Open the analogous palette in the generator

Split complementary

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

  • #30171A

    #30171A

    oklch(24.1% 0.04 12.9)

  • #0A251A

    #0A251A

    oklch(24% 0.039 163.8)

  • #04242D

    #04242D

    oklch(24.2% 0.04 220.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #30171A

    #30171A

    oklch(24.1% 0.04 12.9)

  • #18240F

    #18240F

    oklch(24.3% 0.041 133)

  • #112032

    #112032

    oklch(24% 0.04 253.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #30171A

    #30171A

    oklch(24.1% 0.04 12.9)

  • #232007

    #232007

    oklch(24% 0.04 102.6)

  • #012525

    #012525

    oklch(24% 0.04 194.8)

  • #1D1D32

    #1D1D32

    oklch(24.2% 0.04 283)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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