#642E2F#642E2F

#642E2F is a dark, moderate red. Relative luminance 0.049; OKLCH L 37.5% C 0.078 H 20.4°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#642E2F
RGBrgb(100, 46, 47)
HSLhsl(359, 37%, 29%)
HSVhsv(359, 54%, 39%)
CMYKcmyk(0%, 54%, 53%, 60.8%)
CIE-LABlab(26.36, 24.44, 10.84)
CIE-LCHlch(26.36, 26.73, 23.93°)
OKLaboklab(37.45% 0.0733 0.0273)
OKLCHoklch(37.45% 0.078 20.4)
XYZxyz(6.7461, 4.8693, 3.2734)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642E2F #2E6463
analogous
#642E4A #642E2F #64482E
triadic
#642E2F #2F642E #2E2F64
tetradic
#642E2F #4A642E #2E6463 #482E64
square
#642E2F #4A642E #2E6463 #482E64
split-complementary
#642E2F #2E6448 #2E4A64
monochromatic
#150A0A #3A1B1B #642E2F #8E4143 #B35A5B

Accessibility & contrast

On white

10.64
#642E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#642E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642E2F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642E2F#FFFFFF#000000##FFFFFF
##642E2F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A382F
Deuteranopia (green-blind)
#47432E
Tritanopia (blue-blind)
#6D262F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #642e2f;
/* rgb */ color: rgb(100, 46, 47);
/* oklch */ color: oklch(37.5% 0.078 20.4);
Tailwind
colors: {
  custom: {
    50: '#936867',
    500: '#642e2f',
    950: '#000000',
  },
}
SCSS
$custom: #642e2f;
$custom-light: #936867;
$custom-dark: #000000;
JSON
{
  "hex": "#642e2f",
  "rgb": {
    "r": 100,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 358.889,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37454,
    "c": 0.07816,
    "h": 20.4
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#642E2F
secondary
#589695
accent
#CDCB5B
background
#F9F6F6
surface
#F2EBEB
border
#CCC6C6
text
#0D0606
muted
#7E7A7A

Preview Lab

Preview with #642E2F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#642E2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva