#642717#642717

#642717 is a dark, moderate red. Relative luminance 0.042; OKLCH L 35.8% C 0.093 H 35.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#642717
RGBrgb(100, 39, 23)
HSLhsl(12, 63%, 24%)
HSVhsv(12, 77%, 39%)
CMYKcmyk(0%, 61%, 77%, 60.8%)
CIE-LABlab(24.40, 26.46, 23.91)
CIE-LCHlch(24.40, 35.66, 42.09°)
OKLaboklab(35.83% 0.0752 0.054)
OKLCHoklch(35.83% 0.093 35.7)
XYZxyz(6.1363, 4.2230, 1.3024)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642717 #175464
analogous
#64172D #642717 #644E17
triadic
#642717 #176427 #271764
tetradic
#642717 #2D6417 #175464 #4E1764
square
#642717 #2D6417 #175464 #4E1764
split-complementary
#642717 #17644E #172D64
monochromatic
#190A06 #32140C #642717 #963A22 #C84E2E

Accessibility & contrast

On white

11.39
#642717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#642717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642717
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642717#FFFFFF#000000##FFFFFF
##6427171.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383215
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#6E1A24
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #642717;
/* rgb */ color: rgb(100, 39, 23);
/* oklch */ color: oklch(35.8% 0.093 35.7);
Tailwind
colors: {
  custom: {
    50: '#966354',
    500: '#642717',
    950: '#000000',
  },
}
SCSS
$custom: #642717;
$custom-light: #966354;
$custom-dark: #000000;
JSON
{
  "hex": "#642717",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 12.468,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35825,
    "c": 0.09256,
    "h": 35.7
  },
  "luminance": 0.04222
}

Semantic roles & 50–950 ramp

primary
#642717
secondary
#3C879A
accent
#C4E642
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0E0503
muted
#7E7A78

Preview Lab

Preview with #642717

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

Preview Lab → · Contrast checker → · Palette generator →

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