#240402

Closest named color: Very Dark Brown (#1D0200). oklch(17.4% 0.057 30.6), rgb(36, 4, 2).

Aa

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

About this color

#240402 is a very dark, muted red. In OKLCH its lightness is 17%, its chroma 0.057 and its hue 31°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.023 away. White text reads best on it, at 19.20:1.

Hue familyReds
Lightnessvery dark (17%)
Chromamuted (0.057)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.09:1
White text19.20:1

Values

HEX#240402
RGBrgb(36, 4, 2)
HSLhsl(4, 89%, 7%)
OKLCHoklch(17.4% 0.057 30.6)

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 #240402 19.20:1 AAA Lc -107.2 Preferred for body text
Black text on #240402 1.09:1 Fails Lc 0.0 Not readable
#240402 text on white 19.20:1 AAA Lc 105.2 Preferred for body text
#240402 text on black 1.09: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

    #FBF3F2

    oklch(97% 0.009 26)

  2. Step 100

    100

    #F7E5E2

    oklch(93.5% 0.02 28.9)

  3. Step 200

    200

    #F1D1CA

    oklch(88.6% 0.037 32.4)

  4. Step 300

    300

    #E9B1A6

    oklch(80.9% 0.068 31.2)

  5. Step 400

    400

    #DC8677

    oklch(70.7% 0.109 30.6)

  6. Step 500

    500

    #D06554

    oklch(63.1% 0.139 30.6)

  7. Step 600

    600

    #BB4939

    oklch(55.6% 0.151 30.5)

  8. Step 700

    700

    #A1392B

    oklch(49.1% 0.141 30.5)

  9. Step 800

    800

    #833025

    oklch(42.7% 0.117 30.2)

  10. Step 900

    900

    #692C22

    oklch(37.7% 0.09 31.2)

  11. Step 950

    950 (this color)

    #240402

    oklch(17.4% 0.057 30.6)

Export this scale for Tailwind in the Tailwind colors tool

#240402 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)#0C0A020.061
Deuteranopia (no green cones)#1511010.054
Tritanopia (no blue cones)#2900040.018
Achromatopsia (no color)#0F0F0F0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #240402

    #240402

    oklch(17.4% 0.057 30.6)

  • #001418

    #001418

    oklch(17.5% 0.03 210.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #240402

    #240402

    oklch(17.4% 0.057 30.6)

  • #23030F

    #23030F

    oklch(17.4% 0.059 0.2)

  • #1D0B00

    #1D0B00

    oklch(17.4% 0.041 59.4)

Open the analogous palette in the generator

Split complementary

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

  • #240402

    #240402

    oklch(17.4% 0.057 30.6)

  • #001511

    #001511

    oklch(17.5% 0.032 179.8)

  • #001220

    #001220

    oklch(17.4% 0.04 240.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #240402

    #240402

    oklch(17.4% 0.057 30.6)

  • #001605

    #001605

    oklch(17.5% 0.048 150)

  • #070D29

    #070D29

    oklch(17.4% 0.058 269.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #240402

    #240402

    oklch(17.4% 0.057 30.6)

  • #0E1300

    #0E1300

    oklch(17.5% 0.042 120.7)

  • #001418

    #001418

    oklch(17.5% 0.03 210.7)

  • #150825

    #150825

    oklch(17.4% 0.058 301.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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