#642E2A#642E2A

#642E2A is a dark, moderate red. Relative luminance 0.048; OKLCH L 37.3% C 0.079 H 25.9°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#642E2A
RGBrgb(100, 46, 42)
HSLhsl(4, 41%, 28%)
HSVhsv(4, 58%, 39%)
CMYKcmyk(0%, 54%, 58%, 60.8%)
CIE-LABlab(26.25, 23.94, 14.00)
CIE-LCHlch(26.25, 27.73, 30.33°)
OKLaboklab(37.33% 0.071 0.0345)
OKLCHoklch(37.33% 0.079 25.9)
XYZxyz(6.6510, 4.8312, 2.7723)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642E2A #2A6064
analogous
#642A43 #642E2A #644B2A
triadic
#642E2A #2A642E #2E2A64
tetradic
#642E2A #43642A #2A6064 #4B2A64
square
#642E2A #43642A #2A6064 #4B2A64
split-complementary
#642E2A #2A644B #2A4364
monochromatic
#160A09 #391A18 #642E2A #8F423C #B65952

Accessibility & contrast

On white

10.68
#642E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642E2A
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642E2A#FFFFFF#000000##FFFFFF
##642E2A1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3729
Deuteranopia (green-blind)
#484229
Tritanopia (blue-blind)
#6D252D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #642e2a;
/* rgb */ color: rgb(100, 46, 42);
/* oklch */ color: oklch(37.3% 0.079 25.9);
Tailwind
colors: {
  custom: {
    50: '#946863',
    500: '#642e2a',
    950: '#000000',
  },
}
SCSS
$custom: #642e2a;
$custom-light: #946863;
$custom-dark: #000000;
JSON
{
  "hex": "#642e2a",
  "rgb": {
    "r": 100,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 4.138,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37334,
    "c": 0.07892,
    "h": 25.9
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#642E2A
secondary
#539296
accent
#C8D157
background
#F9F6F5
surface
#F2EBEA
border
#CCC6C6
text
#0E0605
muted
#7E7A79

Preview Lab

Preview with #642E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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