#642817#642817

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

Color values

HEX#642817
RGBrgb(100, 40, 23)
HSLhsl(13, 63%, 24%)
HSVhsv(13, 77%, 39%)
CMYKcmyk(0%, 60%, 77%, 60.8%)
CIE-LABlab(24.61, 25.92, 24.14)
CIE-LCHlch(24.61, 35.42, 42.97°)
OKLaboklab(35.99% 0.0735 0.0545)
OKLCHoklch(35.99% 0.091 36.6)
XYZxyz(6.1696, 4.2896, 1.3135)
Luminance0.0429 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642817 #175364
analogous
#64172D #642817 #644F17
triadic
#642817 #176428 #281764
tetradic
#642817 #2D6417 #175364 #4F1764
square
#642817 #2D6417 #175364 #4F1764
split-complementary
#642817 #17644F #172D64
monochromatic
#190A06 #32140C #642817 #963C22 #C8502E

Accessibility & contrast

On white

11.30
#642817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #642817
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642817#FFFFFF#000000##FFFFFF
##6428171.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #642817;
/* rgb */ color: rgb(100, 40, 23);
/* oklch */ color: oklch(36.0% 0.091 36.6);
Tailwind
colors: {
  custom: {
    50: '#966455',
    500: '#642817',
    950: '#000000',
  },
}
SCSS
$custom: #642817;
$custom-light: #966455;
$custom-dark: #000000;
JSON
{
  "hex": "#642817",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 13.247,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35985,
    "c": 0.09149,
    "h": 36.6
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#642817
secondary
#3C869A
accent
#C2E642
background
#F9F6F4
surface
#F2EBE7
border
#CCC6C3
text
#0E0503
muted
#7E7A78

Preview Lab

Preview with #642817

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

Preview Lab → · Contrast checker → · Palette generator →

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