#642B27

Closest named color: Purple Brown (#673A3F). oklch(36.8% 0.083 26), rgb(100, 43, 39).

Aa

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

About this color

#642B27 is a dark, moderately saturated red. In OKLCH its lightness is 37%, its chroma 0.083 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.045 away. White text reads best on it, at 10.95:1.

Hue familyReds
Lightnessdark (37%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text1.91:1
White text10.95:1

Values

HEX#642B27
RGBrgb(100, 43, 39)
HSLhsl(4, 44%, 27%)
OKLCHoklch(36.8% 0.083 26)

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 #642B27 10.95:1 AAA Lc -98.8 Preferred for body text
Black text on #642B27 1.91:1 Fails Lc 9.0 Not readable
#642B27 text on white 10.95:1 AAA Lc 94.9 Preferred for body text
#642B27 text on black 1.91: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

    #FBF3F2

    oklch(97% 0.009 26)

  2. Step 100

    100

    #F6E6E4

    oklch(93.7% 0.018 26.1)

  3. Step 200

    200

    #EFD1CD

    oklch(88.5% 0.034 26.8)

  4. Step 300

    300

    #E7B2AC

    oklch(81% 0.063 25.9)

  5. Step 400

    400

    #D88880

    oklch(70.8% 0.1 26.1)

  6. Step 500

    500

    #CB6860

    oklch(63.1% 0.127 26.1)

  7. Step 600

    600

    #B74D46

    oklch(55.7% 0.139 26.3)

  8. Step 700

    700

    #9D3D38

    oklch(49.1% 0.129 25.9)

  9. Step 800

    800

    #7F332E

    oklch(42.6% 0.107 26.3)

  10. Step 900

    900 (this color)

    #642B27

    oklch(36.8% 0.083 26)

  11. Step 950

    950

    #3D1B18

    oklch(27% 0.054 26.5)

Export this scale for Tailwind in the Tailwind colors tool

#642B27 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)#3935260.087
Deuteranopia (no green cones)#4741260.081
Tritanopia (no blue cones)#6E212A0.029
Achromatopsia (no color)#3C3C3C0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #642B27

    #642B27

    oklch(36.8% 0.083 26)

  • #00484F

    #00484F

    oklch(36.7% 0.063 205.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642B27

    #642B27

    oklch(36.8% 0.083 26)

  • #602A40

    #602A40

    oklch(36.7% 0.083 356.3)

  • #5F3108

    #5F3108

    oklch(36.6% 0.083 56)

Open the analogous palette in the generator

Split complementary

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

  • #642B27

    #642B27

    oklch(36.8% 0.083 26)

  • #004B3E

    #004B3E

    oklch(36.9% 0.069 176)

  • #004563

    #004563

    oklch(36.9% 0.079 235.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642B27

    #642B27

    oklch(36.8% 0.083 26)

  • #1D4A22

    #1D4A22

    oklch(36.6% 0.083 145.8)

  • #2A3D6B

    #2A3D6B

    oklch(36.8% 0.083 265.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642B27

    #642B27

    oklch(36.8% 0.083 26)

  • #3D4401

    #3D4401

    oklch(36.7% 0.083 116.2)

  • #00484F

    #00484F

    oklch(36.7% 0.063 205.9)

  • #433566

    #433566

    oklch(36.8% 0.083 295.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #642B27 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.