#640C17

Closest named color: Claret (#680018). oklch(32.7% 0.119 21.4), rgb(100, 12, 23).

Aa

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

About this color

#640C17 is a dark, moderately saturated red. In OKLCH its lightness is 33%, its chroma 0.119 and its hue 21°. Its hue sits on the warm side of the wheel. The nearest named color is Claret (#680018), ΔE 0.013 away. White text reads best on it, at 13.06:1.

Hue familyReds
Lightnessdark (33%)
Chromamoderately saturated (0.119)
Temperaturewarm
Nearest nameClaret (#680018)
Black text1.60:1
White text13.06:1

Values

HEX#640C17
RGBrgb(100, 12, 23)
HSLhsl(353, 79%, 22%)
OKLCHoklch(32.7% 0.119 21.4)

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 #640C17 13.06:1 AAA Lc -101.4 Preferred for body text
Black text on #640C17 1.60:1 Fails Lc 0.0 Not readable
#640C17 text on white 13.06:1 AAA Lc 98.0 Preferred for body text
#640C17 text on black 1.60: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 900.

  1. Step 50

    50

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE4E2

    oklch(93.7% 0.025 23.6)

  3. Step 200

    200

    #F9CDCB

    oklch(88.6% 0.05 21.2)

  4. Step 300

    300

    #F5AAA7

    oklch(80.9% 0.089 21.8)

  5. Step 400

    400

    #EC7979

    oklch(70.7% 0.142 21.3)

  6. Step 500

    500

    #E34F56

    oklch(63.1% 0.183 21.4)

  7. Step 600

    600

    #CE293B

    oklch(55.6% 0.199 21.6)

  8. Step 700

    700

    #B2172E

    oklch(49.1% 0.185 21.3)

  9. Step 800

    800

    #901927

    oklch(42.7% 0.153 21.2)

  10. Step 900

    900 (this color)

    #640C17

    oklch(32.7% 0.119 21.4)

  11. Step 950

    950

    #441315

    oklch(26.9% 0.076 21.4)

Export this scale for Tailwind in the Tailwind colors tool

#640C17 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)#2825170.132
Deuteranopia (no green cones)#3E37140.119
Tritanopia (no blue cones)#6F00110.024
Achromatopsia (no color)#3131310.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #640C17

    #640C17

    oklch(32.7% 0.119 21.4)

  • #003D40

    #003D40

    oklch(32.7% 0.056 200.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #640C17

    #640C17

    oklch(32.7% 0.119 21.4)

  • #5E0E3B

    #5E0E3B

    oklch(32.7% 0.12 351.9)

  • #552500

    #552500

    oklch(32.7% 0.084 51.6)

Open the analogous palette in the generator

Split complementary

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

  • #640C17

    #640C17

    oklch(32.7% 0.119 21.4)

  • #003F30

    #003F30

    oklch(32.7% 0.064 170.7)

  • #003A50

    #003A50

    oklch(32.7% 0.066 231.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #640C17

    #640C17

    oklch(32.7% 0.119 21.4)

  • #074100

    #074100

    oklch(32.7% 0.108 141.3)

  • #0C2F70

    #0C2F70

    oklch(32.5% 0.12 261.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #640C17

    #640C17

    oklch(32.7% 0.119 21.4)

  • #363800

    #363800

    oklch(32.8% 0.073 112)

  • #003D40

    #003D40

    oklch(32.7% 0.056 200.3)

  • #38236B

    #38236B

    oklch(32.7% 0.119 291.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #640C17 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.