#240518

Closest named color: Very Dark Brown (#1D0200). oklch(18.4% 0.06 346.2), rgb(36, 5, 24).

Aa

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

About this color

#240518 is a very dark, muted red. In OKLCH its lightness is 18%, its chroma 0.060 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.058 away. White text reads best on it, at 18.92:1.

Hue familyReds
Lightnessvery dark (18%)
Chromamuted (0.060)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.10:1
White text18.92:1

Values

HEX#240518
RGBrgb(36, 5, 24)
HSLhsl(323, 76%, 8%)
OKLCHoklch(18.4% 0.06 346.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 #240518 18.92:1 AAA Lc -107.1 Preferred for body text
Black text on #240518 1.10:1 Fails Lc 0.0 Not readable
#240518 text on white 18.92:1 AAA Lc 105.0 Preferred for body text
#240518 text on black 1.10: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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E5ED

    oklch(93.7% 0.02 345.7)

  3. Step 200

    200

    #EECFDF

    oklch(88.5% 0.04 345.4)

  4. Step 300

    300

    #E4AECA

    oklch(80.8% 0.072 346.4)

  5. Step 400

    400

    #D483AF

    oklch(70.8% 0.113 346.6)

  6. Step 500

    500

    #C6619C

    oklch(63.1% 0.146 346)

  7. Step 600

    600

    #B14586

    oklch(55.6% 0.158 346.3)

  8. Step 700

    700

    #983672

    oklch(49.2% 0.147 346.1)

  9. Step 800

    800

    #7C2D5D

    oklch(42.7% 0.123 346.1)

  10. Step 900

    900

    #64294C

    oklch(37.6% 0.096 346.1)

  11. Step 950

    950 (this color)

    #240518

    oklch(18.4% 0.06 346.2)

Export this scale for Tailwind in the Tailwind colors tool

#240518 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)#080D190.066
Deuteranopia (no green cones)#1113170.060
Tritanopia (no blue cones)#27050D0.024
Achromatopsia (no color)#1111110.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #240518

    #240518

    oklch(18.4% 0.06 346.2)

  • #00180F

    #00180F

    oklch(18.5% 0.038 166.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #240518

    #240518

    oklch(18.4% 0.06 346.2)

  • #1D0824

    #1D0824

    oklch(18.5% 0.06 316.9)

  • #280409

    #280409

    oklch(18.5% 0.061 16)

Open the analogous palette in the generator

Split complementary

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

  • #240518

    #240518

    oklch(18.4% 0.06 346.2)

  • #061800

    #061800

    oklch(18.6% 0.056 136.4)

  • #001717

    #001717

    oklch(18.5% 0.032 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #240518

    #240518

    oklch(18.4% 0.06 346.2)

  • #151300

    #151300

    oklch(18.3% 0.039 104.9)

  • #00161E

    #00161E

    oklch(18.6% 0.035 223)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #240518

    #240518

    oklch(18.4% 0.06 346.2)

  • #1C1000

    #1C1000

    oklch(18.5% 0.039 77.5)

  • #00180F

    #00180F

    oklch(18.5% 0.038 166.7)

  • #01122C

    #01122C

    oklch(18.5% 0.059 255.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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