#642917#642917

#642917 is a dark, moderate red. Relative luminance 0.044; OKLCH L 36.1% C 0.090 H 37.5°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#642917
RGBrgb(100, 41, 23)
HSLhsl(14, 63%, 24%)
HSVhsv(14, 77%, 39%)
CMYKcmyk(0%, 59%, 77%, 60.8%)
CIE-LABlab(24.82, 25.36, 24.38)
CIE-LCHlch(24.82, 35.18, 43.87°)
OKLaboklab(36.15% 0.0718 0.0551)
OKLCHoklch(36.15% 0.09 37.5)
XYZxyz(6.2037, 4.3579, 1.3249)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642917 #175264
analogous
#64172C #642917 #645017
triadic
#642917 #176429 #291764
tetradic
#642917 #2C6417 #175264 #501764
square
#642917 #2C6417 #175264 #501764
split-complementary
#642917 #176450 #172C64
monochromatic
#190A06 #32150C #642917 #963D22 #C8522E

Accessibility & contrast

On white

11.22
#642917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#642917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642917
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642917#FFFFFF#000000##FFFFFF
##6429171.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#6E1C25
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #642917;
/* rgb */ color: rgb(100, 41, 23);
/* oklch */ color: oklch(36.1% 0.090 37.5);
Tailwind
colors: {
  custom: {
    50: '#966555',
    500: '#642917',
    950: '#000000',
  },
}
SCSS
$custom: #642917;
$custom-light: #966555;
$custom-dark: #000000;
JSON
{
  "hex": "#642917",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 14.026,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.36148,
    "c": 0.09044,
    "h": 37.5
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

primary
#642917
secondary
#3C849A
accent
#BFE642
background
#F9F6F4
surface
#F2EBE8
border
#CCC6C4
text
#0E0503
muted
#7E7A78

Preview Lab

Preview with #642917

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

Preview Lab → · Contrast checker → · Palette generator →

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