#30171F

Closest named color: Jet (#212529). oklch(24.3% 0.042 0.2), rgb(48, 23, 31).

Aa

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

About this color

#30171F is a very dark, muted red. In OKLCH its lightness is 24%, its chroma 0.042 and its hue 0°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.050 away. White text reads best on it, at 16.56:1.

Hue familyReds
Lightnessvery dark (24%)
Chromamuted (0.042)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.26:1
White text16.56:1

Values

HEX#30171F
RGBrgb(48, 23, 31)
HSLhsl(341, 35%, 14%)
OKLCHoklch(24.3% 0.042 0.2)

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 #30171F 16.56:1 AAA Lc -105.9 Preferred for body text
Black text on #30171F 1.26:1 Fails Lc 0.0 Not readable
#30171F text on white 16.56:1 AAA Lc 103.4 Preferred for body text
#30171F 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

    #FAF4F5

    oklch(97.2% 0.007 5.6)

  2. Step 100

    100

    #F3E6E9

    oklch(93.6% 0.015 1.6)

  3. Step 200

    200

    #EAD2D8

    oklch(88.5% 0.028 0.7)

  4. Step 300

    300

    #DDB4BF

    oklch(80.9% 0.049 0.4)

  5. Step 400

    400

    #CA8C9E

    oklch(70.7% 0.079 0.3)

  6. Step 500

    500

    #BB6E87

    oklch(63% 0.102 359.6)

  7. Step 600

    600

    #A65570

    oklch(55.5% 0.11 0.1)

  8. Step 700

    700

    #8E455E

    oklch(49% 0.103 359.9)

  9. Step 800

    800

    #74394D

    oklch(42.7% 0.086 359.8)

  10. Step 900

    900

    #5E3240

    oklch(37.8% 0.066 0.4)

  11. Step 950

    950 (this color)

    #30171F

    oklch(24.3% 0.042 0.2)

Export this scale for Tailwind in the Tailwind colors tool

#30171F 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)#1B1C1F0.045
Deuteranopia (no green cones)#21201E0.042
Tritanopia (no blue cones)#34151A0.012
Achromatopsia (no color)#1F1F1F0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #30171F

    #30171F

    oklch(24.3% 0.042 0.2)

  • #022621

    #022621

    oklch(24.2% 0.041 181.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #30171F

    #30171F

    oklch(24.3% 0.042 0.2)

  • #2B1829

    #2B1829

    oklch(24.2% 0.042 330.6)

  • #311814

    #311814

    oklch(24.3% 0.041 30)

Open the analogous palette in the generator

Split complementary

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

  • #30171F

    #30171F

    oklch(24.3% 0.042 0.2)

  • #102515

    #102515

    oklch(24.1% 0.041 150.1)

  • #00252B

    #00252B

    oklch(24.2% 0.042 210.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #30171F

    #30171F

    oklch(24.3% 0.042 0.2)

  • #1D230A

    #1D230A

    oklch(24.3% 0.043 120.9)

  • #0B2232

    #0B2232

    oklch(24.2% 0.042 241.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #30171F

    #30171F

    oklch(24.3% 0.042 0.2)

  • #281F06

    #281F06

    oklch(24.4% 0.041 89.3)

  • #022621

    #022621

    oklch(24.2% 0.041 181.6)

  • #181F34

    #181F34

    oklch(24.4% 0.042 269.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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