#25171E

Closest named color: Jet (#212529). oklch(22.6% 0.026 347.9), rgb(37, 23, 30).

Aa

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

About this color

#25171E is a very dark close to neutral grey. In OKLCH its lightness is 23%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.046 away. White text reads best on it, at 17.21:1.

Hue familyNeutrals
Lightnessvery dark (23%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.21:1
White text17.21:1

Values

HEX#25171E
RGBrgb(37, 23, 30)
HSLhsl(330, 23%, 12%)
OKLCHoklch(22.6% 0.026 347.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 #25171E 17.21:1 AAA Lc -106.4 Preferred for body text
Black text on #25171E 1.21:1 Fails Lc 0.0 Not readable
#25171E text on white 17.21:1 AAA Lc 104.1 Preferred for body text
#25171E text on black 1.21: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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #EFE8EB

    oklch(93.7% 0.009 349.3)

  3. Step 200

    200

    #E2D5DB

    oklch(88.5% 0.016 347.7)

  4. Step 300

    300

    #D0B9C4

    oklch(80.8% 0.03 347.3)

  5. Step 400

    400

    #B895A6

    oklch(70.7% 0.048 347.6)

  6. Step 500

    500

    #A67A90

    oklch(63% 0.062 347.6)

  7. Step 600

    600

    #91637A

    oklch(55.5% 0.067 348.1)

  8. Step 700

    700

    #7C5267

    oklch(49.2% 0.063 348.3)

  9. Step 800

    800

    #644354

    oklch(42.6% 0.052 347.3)

  10. Step 900

    900

    #523945

    oklch(37.7% 0.04 348.8)

  11. Step 950

    950 (this color)

    #25171E

    oklch(22.6% 0.026 347.9)

Export this scale for Tailwind in the Tailwind colors tool

#25171E 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)#181A1E0.027
Deuteranopia (no green cones)#1B1C1E0.026
Tritanopia (no blue cones)#2717190.010
Achromatopsia (no color)#1B1B1B0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #25171E

    #25171E

    oklch(22.6% 0.026 347.9)

  • #0F201A

    #0F201A

    oklch(22.6% 0.026 169.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #25171E

    #25171E

    oklch(22.6% 0.026 347.9)

  • #211824

    #211824

    oklch(22.6% 0.026 317.6)

  • #271717

    #271717

    oklch(22.6% 0.026 19.3)

Open the analogous palette in the generator

Split complementary

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

  • #25171E

    #25171E

    oklch(22.6% 0.026 347.9)

  • #161F13

    #161F13

    oklch(22.6% 0.026 138)

  • #0C2020

    #0C2020

    oklch(22.7% 0.026 195.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #25171E

    #25171E

    oklch(22.6% 0.026 347.9)

  • #1D1D0F

    #1D1D0F

    oklch(22.6% 0.025 108.2)

  • #0E1E25

    #0E1E25

    oklch(22.4% 0.026 227.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #25171E

    #25171E

    oklch(22.6% 0.026 347.9)

  • #231A0E

    #231A0E

    oklch(22.5% 0.026 73.9)

  • #0F201A

    #0F201A

    oklch(22.6% 0.026 169.4)

  • #141C28

    #141C28

    oklch(22.5% 0.026 258.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #25171E 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.