#642F2B#642F2B

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

Color values

HEX#642F2B
RGBrgb(100, 47, 43)
HSLhsl(4, 40%, 28%)
HSVhsv(4, 57%, 39%)
CMYKcmyk(0%, 53%, 57%, 60.8%)
CIE-LABlab(26.50, 23.45, 13.68)
CIE-LCHlch(26.50, 27.15, 30.25°)
OKLaboklab(37.53% 0.0697 0.0338)
OKLCHoklch(37.53% 0.077 25.9)
XYZxyz(6.7086, 4.9175, 2.8809)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642F2B #2B6064
analogous
#642B43 #642F2B #644B2B
triadic
#642F2B #2B642F #2F2B64
tetradic
#642F2B #43642B #2B6064 #4B2B64
square
#642F2B #43642B #2B6064 #4B2B64
split-complementary
#642F2B #2B644B #2B4364
monochromatic
#150A09 #391B19 #642F2B #8F433D #B55B54

Accessibility & contrast

On white

10.59
#642F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#642F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642F2B
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642F2B#FFFFFF#000000##FFFFFF
##642F2B1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382A
Deuteranopia (green-blind)
#49432A
Tritanopia (blue-blind)
#6D272E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #642f2b;
/* rgb */ color: rgb(100, 47, 43);
/* oklch */ color: oklch(37.5% 0.077 25.9);
Tailwind
colors: {
  custom: {
    50: '#946964',
    500: '#642f2b',
    950: '#000000',
  },
}
SCSS
$custom: #642f2b;
$custom-light: #946964;
$custom-dark: #000000;
JSON
{
  "hex": "#642f2b",
  "rgb": {
    "r": 100,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 4.211,
    "s": 39.86,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37531,
    "c": 0.0774,
    "h": 25.9
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#642F2B
secondary
#559296
accent
#C7D058
background
#F9F6F5
surface
#F2EBEA
border
#CCC6C6
text
#0E0605
muted
#7E7A79

Preview Lab

Preview with #642F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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