#642816#642816

#642816 is a dark, moderate red. Relative luminance 0.043; OKLCH L 36.0% C 0.092 H 37.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#642816
RGBrgb(100, 40, 22)
HSLhsl(14, 64%, 24%)
HSVhsv(14, 78%, 39%)
CMYKcmyk(0%, 60%, 78%, 60.8%)
CIE-LABlab(24.59, 25.86, 24.73)
CIE-LCHlch(24.59, 35.79, 43.72°)
OKLaboklab(35.97% 0.0731 0.0556)
OKLCHoklch(35.97% 0.092 37.2)
XYZxyz(6.1598, 4.2856, 1.2617)
Luminance0.0428 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642816 #165264
analogous
#64162B #642816 #644F16
triadic
#642816 #166428 #281664
tetradic
#642816 #2B6416 #165264 #4F1664
square
#642816 #2B6416 #165264 #4F1664
split-complementary
#642816 #16644F #162B64
monochromatic
#190A06 #32140B #642816 #963C21 #C8502C

Accessibility & contrast

On white

11.31
#642816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#642816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642816
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642816#FFFFFF#000000##FFFFFF
##6428161.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383214
Deuteranopia (green-blind)
#473F14
Tritanopia (blue-blind)
#6E1B24
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #642816;
/* rgb */ color: rgb(100, 40, 22);
/* oklch */ color: oklch(36.0% 0.092 37.2);
Tailwind
colors: {
  custom: {
    50: '#966454',
    500: '#642816',
    950: '#000000',
  },
}
SCSS
$custom: #642816;
$custom-light: #966454;
$custom-dark: #000000;
JSON
{
  "hex": "#642816",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 22
  },
  "hsl": {
    "h": 13.846,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35972,
    "c": 0.09181,
    "h": 37.2
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#642816
secondary
#3B859B
accent
#C1E741
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0E0502
muted
#7E7A78

Preview Lab

Preview with #642816

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

Preview Lab → · Contrast checker → · Palette generator →

#642816 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva