#642417#642417

#642417 is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.4% C 0.096 H 33.3°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#642417
RGBrgb(100, 36, 23)
HSLhsl(10, 63%, 24%)
HSVhsv(10, 77%, 39%)
CMYKcmyk(0%, 64%, 77%, 60.8%)
CIE-LABlab(23.78, 28.07, 23.22)
CIE-LCHlch(23.78, 36.43, 39.60°)
OKLaboklab(35.36% 0.0801 0.0526)
OKLCHoklch(35.36% 0.096 33.3)
XYZxyz(6.0417, 4.0338, 1.2709)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642417 #175764
analogous
#641731 #642417 #644B17
triadic
#642417 #176424 #241764
tetradic
#642417 #316417 #175764 #4B1764
square
#642417 #316417 #175764 #4B1764
split-complementary
#642417 #17644B #173164
monochromatic
#190906 #32120C #642417 #963622 #C8482E

Accessibility & contrast

On white

11.62
#642417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#642417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642417
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642417#FFFFFF#000000##FFFFFF
##6424171.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353015
Deuteranopia (green-blind)
#453E15
Tritanopia (blue-blind)
#6E1521
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #642417;
/* rgb */ color: rgb(100, 36, 23);
/* oklch */ color: oklch(35.4% 0.096 33.3);
Tailwind
colors: {
  custom: {
    50: '#966154',
    500: '#642417',
    950: '#000000',
  },
}
SCSS
$custom: #642417;
$custom-light: #966154;
$custom-dark: #000000;
JSON
{
  "hex": "#642417",
  "rgb": {
    "r": 100,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 10.13,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35362,
    "c": 0.09582,
    "h": 33.3
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#642417
secondary
#3C8B9A
accent
#CAE642
background
#F9F5F4
surface
#F2EAE7
border
#CCC6C3
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #642417

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

Preview Lab → · Contrast checker → · Palette generator →

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