#642A18#642A18

#642A18 is a dark, moderate red. Relative luminance 0.044; OKLCH L 36.3% C 0.089 H 37.8°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#642A18
RGBrgb(100, 42, 24)
HSLhsl(14, 61%, 24%)
HSVhsv(14, 76%, 39%)
CMYKcmyk(0%, 58%, 76%, 60.8%)
CIE-LABlab(25.05, 24.86, 24.03)
CIE-LCHlch(25.05, 34.57, 44.03°)
OKLaboklab(36.33% 0.0704 0.0545)
OKLCHoklch(36.33% 0.089 37.8)
XYZxyz(6.2490, 4.4320, 1.3904)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A18 #185264
analogous
#64182C #642A18 #645018
triadic
#642A18 #18642A #2A1864
tetradic
#642A18 #2C6418 #185264 #501864
square
#642A18 #2C6418 #185264 #501864
split-complementary
#642A18 #186450 #182C64
monochromatic
#190A06 #33150C #642A18 #953F24 #C75330

Accessibility & contrast

On white

11.13
#642A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#642A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642A18
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A18#FFFFFF#000000##FFFFFF
##642A181.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3316
Deuteranopia (green-blind)
#484017
Tritanopia (blue-blind)
#6E1E26
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #642a18;
/* rgb */ color: rgb(100, 42, 24);
/* oklch */ color: oklch(36.3% 0.089 37.8);
Tailwind
colors: {
  custom: {
    50: '#956555',
    500: '#642a18',
    950: '#000000',
  },
}
SCSS
$custom: #642a18;
$custom-light: #956555;
$custom-dark: #000000;
JSON
{
  "hex": "#642a18",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 14.211,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36327,
    "c": 0.08905,
    "h": 37.8
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#642A18
secondary
#3E849A
accent
#BEE443
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0E0603
muted
#7E7A78

Preview Lab

Preview with #642A18

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

Preview Lab → · Contrast checker → · Palette generator →

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