#170402

Closest named color: Very Dark Brown (#1D0200). oklch(14.4% 0.039 33.1), rgb(23, 4, 2).

Aa

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

About this color

#170402 is a very dark, muted red. In OKLCH its lightness is 14%, its chroma 0.039 and its hue 33°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.017 away. White text reads best on it, at 19.91:1.

Hue familyReds
Lightnessvery dark (14%)
Chromamuted (0.039)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.05:1
White text19.91:1

Values

HEX#170402
RGBrgb(23, 4, 2)
HSLhsl(6, 84%, 5%)
OKLCHoklch(14.4% 0.039 33.1)

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 #170402 19.91:1 AAA Lc -107.6 Preferred for body text
Black text on #170402 1.05:1 Fails Lc 0.0 Not readable
#170402 text on white 19.91:1 AAA Lc 105.7 Preferred for body text
#170402 text on black 1.05: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

    #F9F4F3

    oklch(97.1% 0.006 31.1)

  2. Step 100

    100

    #F3E7E4

    oklch(93.7% 0.014 34.3)

  3. Step 200

    200

    #E9D4CE

    oklch(88.5% 0.025 36.5)

  4. Step 300

    300

    #DDB7AE

    oklch(81% 0.046 33.5)

  5. Step 400

    400

    #CA9083

    oklch(70.7% 0.074 33)

  6. Step 500

    500

    #BB7464

    oklch(63.1% 0.094 33.4)

  7. Step 600

    600

    #A65B4B

    oklch(55.5% 0.102 33.1)

  8. Step 700

    700

    #8E4B3C

    oklch(49.1% 0.094 33.7)

  9. Step 800

    800

    #743E32

    oklch(42.8% 0.079 33.5)

  10. Step 900

    900

    #5E352C

    oklch(37.8% 0.061 33.2)

  11. Step 950

    950 (this color)

    #170402

    oklch(14.4% 0.039 33.1)

Export this scale for Tailwind in the Tailwind colors tool

#170402 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)#0807020.040
Deuteranopia (no green cones)#0D0B020.037
Tritanopia (no blue cones)#1A02040.015
Achromatopsia (no color)#0909090.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #170402

    #170402

    oklch(14.4% 0.039 33.1)

  • #000D10

    #000D10

    oklch(14.6% 0.025 209.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170402

    #170402

    oklch(14.4% 0.039 33.1)

  • #160408

    #160408

    oklch(14.5% 0.036 5.3)

  • #130700

    #130700

    oklch(14.5% 0.032 65.4)

Open the analogous palette in the generator

Split complementary

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

  • #170402

    #170402

    oklch(14.4% 0.039 33.1)

  • #000D0B

    #000D0B

    oklch(14.3% 0.025 184.8)

  • #000B17

    #000B17

    oklch(14.4% 0.035 243)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170402

    #170402

    oklch(14.4% 0.039 33.1)

  • #000E04

    #000E04

    oklch(14.4% 0.036 153.9)

  • #06081A

    #06081A

    oklch(14.4% 0.039 274.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170402

    #170402

    oklch(14.4% 0.039 33.1)

  • #070C00

    #070C00

    oklch(14.3% 0.036 124)

  • #000D10

    #000D10

    oklch(14.6% 0.025 209.8)

  • #0D0617

    #0D0617

    oklch(14.4% 0.038 301.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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