#662540

Closest named color: Merlot (#730039). oklch(36.9% 0.098 357.2), rgb(102, 37, 64).

Aa

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

About this color

#662540 is a dark, moderately saturated red. In OKLCH its lightness is 37%, its chroma 0.098 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Merlot (#730039), ΔE 0.049 away. White text reads best on it, at 11.03:1.

Hue familyReds
Lightnessdark (37%)
Chromamoderately saturated (0.098)
Temperaturewarm
Nearest nameMerlot (#730039)
Black text1.90:1
White text11.03:1

Values

HEX#662540
RGBrgb(102, 37, 64)
HSLhsl(335, 47%, 27%)
OKLCHoklch(36.9% 0.098 357.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 #662540 11.03:1 AAA Lc -98.8 Preferred for body text
Black text on #662540 1.90:1 Fails Lc 9.0 Not readable
#662540 text on white 11.03:1 AAA Lc 94.9 Preferred for body text
#662540 text on black 1.90:1 Fails Lc -7.7 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 900.

  1. Step 50

    50

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F7E4EA

    oklch(93.6% 0.022 356.3)

  3. Step 200

    200

    #F1CFD9

    oklch(88.6% 0.04 358.3)

  4. Step 300

    300

    #E9ADC1

    oklch(80.9% 0.074 357.1)

  5. Step 400

    400

    #DB80A1

    oklch(70.7% 0.118 357.4)

  6. Step 500

    500

    #CE5D8A

    oklch(63% 0.15 357.3)

  7. Step 600

    600

    #B94074

    oklch(55.6% 0.163 357.3)

  8. Step 700

    700

    #9F3162

    oklch(49.1% 0.152 356.9)

  9. Step 800

    800

    #812A50

    oklch(42.7% 0.125 356.8)

  10. Step 900

    900 (this color)

    #662540

    oklch(36.9% 0.098 357.2)

  11. Step 950

    950

    #3D1827

    oklch(27% 0.061 356.5)

Export this scale for Tailwind in the Tailwind colors tool

#662540 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)#3034410.108
Deuteranopia (no green cones)#41413E0.100
Tritanopia (no blue cones)#6E20300.030
Achromatopsia (no color)#3C3C3C0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #662540

    #662540

    oklch(36.9% 0.098 357.2)

  • #004B3F

    #004B3F

    oklch(36.9% 0.068 177.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #662540

    #662540

    oklch(36.9% 0.098 357.2)

  • #5A2A5A

    #5A2A5A

    oklch(37% 0.098 327.3)

  • #6A2621

    #6A2621

    oklch(36.9% 0.099 27.2)

Open the analogous palette in the generator

Split complementary

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

  • #662540

    #662540

    oklch(36.9% 0.098 357.2)

  • #0F4D1D

    #0F4D1D

    oklch(37% 0.099 146.9)

  • #004950

    #004950

    oklch(37% 0.063 205.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #662540

    #662540

    oklch(36.9% 0.098 357.2)

  • #3D4500

    #3D4500

    oklch(37% 0.085 117)

  • #004564

    #004564

    oklch(37% 0.08 236.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #662540

    #662540

    oklch(36.9% 0.098 357.2)

  • #503C00

    #503C00

    oklch(36.8% 0.075 87.4)

  • #004B3F

    #004B3F

    oklch(36.9% 0.068 177.3)

  • #283B73

    #283B73

    oklch(36.8% 0.099 267.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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