#240F1A

Closest named color: Rich Black (#0D1B2A). oklch(20.4% 0.039 348.5), rgb(36, 15, 26).

Aa

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

About this color

#240F1A is a very dark, muted red. In OKLCH its lightness is 20%, its chroma 0.039 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.058 away. White text reads best on it, at 18.13:1.

Hue familyReds
Lightnessvery dark (20%)
Chromamuted (0.039)
Temperaturewarm
Nearest nameRich Black (#0D1B2A)
Black text1.15:1
White text18.13:1

Values

HEX#240F1A
RGBrgb(36, 15, 26)
HSLhsl(329, 41%, 10%)
OKLCHoklch(20.4% 0.039 348.5)

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 #240F1A 18.13:1 AAA Lc -106.9 Preferred for body text
Black text on #240F1A 1.15:1 Fails Lc 0.0 Not readable
#240F1A text on white 18.13:1 AAA Lc 104.7 Preferred for body text
#240F1A text on black 1.15: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

    #F9F4F6

    oklch(97.2% 0.006 350.8)

  2. Step 100

    100

    #F1E6EB

    oklch(93.5% 0.014 348)

  3. Step 200

    200

    #E7D3DC

    oklch(88.6% 0.025 348.6)

  4. Step 300

    300

    #D9B5C6

    oklch(81% 0.047 348.1)

  5. Step 400

    400

    #C48EA8

    oklch(70.7% 0.074 348.7)

  6. Step 500

    500

    #B47193

    oklch(63% 0.095 348.4)

  7. Step 600

    600

    #9F587D

    oklch(55.4% 0.104 348.5)

  8. Step 700

    700

    #88486A

    oklch(49% 0.097 348.2)

  9. Step 800

    800

    #6F3C56

    oklch(42.8% 0.079 349.1)

  10. Step 900

    900

    #5A3347

    oklch(37.6% 0.063 348.5)

  11. Step 950

    950 (this color)

    #240F1A

    oklch(20.4% 0.039 348.5)

Export this scale for Tailwind in the Tailwind colors tool

#240F1A 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)#11141A0.043
Deuteranopia (no green cones)#1617190.039
Tritanopia (no blue cones)#270F130.016
Achromatopsia (no color)#1616160.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #240F1A

    #240F1A

    oklch(20.4% 0.039 348.5)

  • #011D14

    #011D14

    oklch(20.6% 0.04 168.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #240F1A

    #240F1A

    oklch(20.4% 0.039 348.5)

  • #1F1123

    #1F1123

    oklch(20.6% 0.04 318.5)

  • #260F10

    #260F10

    oklch(20.4% 0.039 18.4)

Open the analogous palette in the generator

Split complementary

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

  • #240F1A

    #240F1A

    oklch(20.4% 0.039 348.5)

  • #0D1B09

    #0D1B09

    oklch(20.3% 0.039 139)

  • #001C1D

    #001C1D

    oklch(20.6% 0.035 198)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #240F1A

    #240F1A

    oklch(20.4% 0.039 348.5)

  • #191802

    #191802

    oklch(20.4% 0.04 107.2)

  • #001A25

    #001A25

    oklch(20.3% 0.04 228.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #240F1A

    #240F1A

    oklch(20.4% 0.039 348.5)

  • #211401

    #211401

    oklch(20.4% 0.04 77.1)

  • #011D14

    #011D14

    oklch(20.6% 0.04 168.6)

  • #0B1729

    #0B1729

    oklch(20.4% 0.04 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 #240F1A, closest first.

Similar named colors

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

Use #240F1A 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.