#640012

Closest named color: Claret (#680018). oklch(31.8% 0.128 21.4), rgb(100, 0, 18).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (32%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameClaret (#680018)
Black text1.55:1
White text13.54:1

Values

HEX#640012
RGBrgb(100, 0, 18)
HSLhsl(349, 100%, 20%)
OKLCHoklch(31.8% 0.128 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 #640012 13.54:1 AAA Lc -101.6 Preferred for body text
Black text on #640012 1.55:1 Fails Lc 0.0 Not readable
#640012 text on white 13.54:1 AAA Lc 98.2 Preferred for body text
#640012 text on black 1.55: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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FFE2E0

    oklch(93.6% 0.032 22.5)

  3. Step 200

    200

    #FFCAC8

    oklch(88.5% 0.061 20.9)

  4. Step 300

    300

    #FFA4A2

    oklch(80.9% 0.108 21.1)

  5. Step 400

    400

    #FF676C

    oklch(70.7% 0.186 21.2)

  6. Step 500

    500

    #FF003D

    oklch(63.2% 0.254 21.5)

  7. Step 600

    600

    #D70032

    oklch(55.5% 0.224 21.5)

  8. Step 700

    700

    #B60029

    oklch(49% 0.197 21.4)

  9. Step 800

    800

    #970020

    oklch(42.7% 0.172 21.5)

  10. Step 900

    900

    #7F001A

    oklch(37.7% 0.152 21.2)

  11. Step 950

    950 (this color)

    #640012

    oklch(31.8% 0.128 21.4)

Export this scale for Tailwind in the Tailwind colors tool

#640012 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)#2521120.142
Deuteranopia (no green cones)#3C350E0.129
Tritanopia (no blue cones)#6F00080.028
Achromatopsia (no color)#2E2E2E0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #640012

    #640012

    oklch(31.8% 0.128 21.4)

  • #003A3E

    #003A3E

    oklch(31.7% 0.054 202.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #640012

    #640012

    oklch(31.8% 0.128 21.4)

  • #5D043A

    #5D043A

    oklch(31.8% 0.127 351)

  • #522300

    #522300

    oklch(31.8% 0.083 51.1)

Open the analogous palette in the generator

Split complementary

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

  • #640012

    #640012

    oklch(31.8% 0.128 21.4)

  • #003C2E

    #003C2E

    oklch(31.7% 0.062 171.3)

  • #00384D

    #00384D

    oklch(31.9% 0.064 230.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #640012

    #640012

    oklch(31.8% 0.128 21.4)

  • #063E00

    #063E00

    oklch(31.7% 0.105 141.4)

  • #062C72

    #062C72

    oklch(31.9% 0.128 261.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #640012

    #640012

    oklch(31.8% 0.128 21.4)

  • #343500

    #343500

    oklch(31.7% 0.07 110.9)

  • #003A3E

    #003A3E

    oklch(31.7% 0.054 202.4)

  • #361E6C

    #361E6C

    oklch(31.7% 0.127 291.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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